body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8fafc;
}

.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: 240px;
  height: 100vh;
  background-color: #1e293b;
  color: white;
  padding: 1rem;
  box-shadow: 2px 0 8px rgba(0,0,0,0.1);
}

.sidebar h2 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  text-align: center;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
}

.sidebar ul li {
  margin-bottom: 1rem;
}

.sidebar ul li a {
  color: #cbd5e1;
  text-decoration: none;
  display: block;
  padding: 0.5rem;
  border-radius: 6px;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
  background-color: #3b82f6;
  color: white;
}

.main {
  margin-left: 240px;
  padding: 2rem;
}

.topbar {
  background-color: #2563eb;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.content h2 {
  margin-bottom: 1rem;
  color: #1e293b;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

tr:hover {
  background-color: #f1f5f9;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

input, select {
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background-color: #f1f5f9;
  transition: border 0.3s ease;
}

input:focus, select:focus {
  border-color: #3b82f6;
  outline: none;
  background-color: #fff;
}

button {
  padding: 12px;
  border: none;
  background-color: #2563eb;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #1e40af;
}

.ftp-selector {
  display: flex;
  gap: 1rem;
}

#ftp-listado li:hover {
  background: #cbd5e1;
  border-radius: 4px;
}

.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
}

thead {
  background-color: #3b82f6;
  color: white;
}

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

tr:hover {
  background-color: #f1f5f9;
}