body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f8f9fa 60%, #eafaf1 100%);
  min-height: 100vh;
}

.container {
  max-width: 420px;
  margin: 40px auto;
  background: rgba(255,255,255,0.97);
  padding: 32px 18px 28px 18px;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(44,62,80,0.13);
  text-align: center;
  position: relative;
}

h1, h2 {
  color: #1a2a36;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.menu {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  margin-top: 30px;
}

.btn, .tab-btn {
  display: inline-block;
  padding: 13px 0;
  font-size: 17px;
  color: #fff;
  background: linear-gradient(90deg, #27ae60 60%, #2980b9 100%);
  border-radius: 12px;
  text-decoration: none;
  border: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(39,174,96,0.08);
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn:hover, .tab-btn:hover {
  background: linear-gradient(90deg, #219150 60%, #21618c 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px rgba(41,128,185,0.12);
}

.btn.back {
  background: #7f8c8d;
  color: #fff;
  margin-top: 18px;
  box-shadow: none;
}

.btn.back:hover {
  background: #636e72;
  color: #fff;
}

.form {
  background: rgba(255,255,255,0.92);
  padding: 20px 10px 10px 10px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(39,174,96,0.07);
  margin-bottom: 18px;
  transition: background 0.3s;
}

.form input, .form select, .form textarea {
  background: #f4f6fb;
  border: 1.5px solid #d1d8e0;
  border-radius: 10px;
  font-size: 17px;
  padding: 14px 12px;
  margin: 12px 0;
  transition: border 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}

.form input:focus, .form select:focus, .form textarea:focus {
  border-color: #27ae60;
  background: #eafaf1;
  box-shadow: 0 0 0 2px #27ae6033;
  outline: none;
}

.form button {
  margin-top: 10px;
}

.form label {
  text-align: left;
  display: block;
  margin: 8px 0 4px 2px;
  font-size: 15px;
  color: #34495e;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.message-box {
  margin: 12px 0;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  display: none;
  transition: background 0.3s, color 0.3s;
}
.message-box.success {
  background: #eafaf1;
  color: #27ae60;
  border: 1.5px solid #27ae60;
}
.message-box.error {
  background: #fdecea;
  color: #c0392b;
  border: 1.5px solid #c0392b;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-btn {
  min-width: 120px;
  background: #bdc3c7;
  color: #34495e;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  transition: background 0.3s, color 0.3s;
}

.tab-btn.active {
  background: linear-gradient(90deg, #27ae60 60%, #2980b9 100%);
  color: #fff;
}

/* Mejoras visuales para tablas */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 15px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(44,62,80,0.10);
  font-size: 1em;
  transition: background 0.3s;
}

th, td {
  padding: 14px 12px;
  border-bottom: 1px solid #e1e7ed;
  text-align: left;
}

th {
  background: #f1f6fa;
  color: #2980b9;
  font-weight: 700;
  font-size: 1.07em;
  letter-spacing: 0.5px;
}

tr:nth-child(even) td {
  background: #f8fafc;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: #eafaf1;
  transition: background 0.2s;
}

/* Oscuro para tablas */
body.dark-theme table {
  background: #23272b;
  color: #f4f6fb;
}
body.dark-theme th {
  background: #34495e;
  color: #27ae60;
}
body.dark-theme tr:nth-child(even) td {
  background: #232f3e;
}
body.dark-theme tr:hover td {
  background: #2d3436;
}

/* Botón de tema flotante */
#themeToggle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background: linear-gradient(90deg, #27ae60 60%, #2980b9 100%);
  border: none;
  font-size: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(39,174,96,0.13);
  transition: background 0.3s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

#themeToggle:hover {
  background: linear-gradient(90deg, #219150 60%, #21618c 100%);
  transform: scale(1.08);
}

/* Responsive mejoras */
@media (max-width: 600px) {
  .container {
    margin: 10px 0;
    padding: 12px 4px;
    border-radius: 12px;
    max-width: 98vw;
  }
  .menu {
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
  }
  .tabs {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
  }
  h1, h2 {
    font-size: 1.3em;
  }
  .form input, .form button, .form select, .form textarea {
    font-size: 16px;
    padding: 12px 8px;
  }
  table, th, td {
    font-size: 14px;
    padding: 7px;
  }
}

/* Tema oscuro PRO */
body.dark-theme {
  background: linear-gradient(135deg, #181c1f 60%, #23272b 100%);
  color: #f4f6fb;
}
body.dark-theme .container {
  background: rgba(35,39,43,0.98);
  box-shadow: 0 8px 32px rgba(41,128,185,0.18);
}
body.dark-theme h1, 
body.dark-theme h2 {
  color: #e0e6ed;
}
body.dark-theme .btn, body.dark-theme .tab-btn.active {
  background: linear-gradient(90deg, #2980b9 60%, #27ae60 100%);
  color: #fff;
}
body.dark-theme .btn:hover, body.dark-theme .tab-btn.active:hover {
  background: linear-gradient(90deg, #21618c 60%, #219150 100%);
}
body.dark-theme .btn.back {
  background: #636e72;
}
body.dark-theme .btn.back:hover {
  background: #2d3436;
}
body.dark-theme .form {
  background: rgba(35,39,43,0.97);
  box-shadow: 0 2px 12px rgba(41,128,185,0.09);
}
body.dark-theme .form input,
body.dark-theme .form select,
body.dark-theme .form textarea {
  background: #23272b;
  color: #f4f6fb;
  border-color: #34495e;
}
body.dark-theme .form input:focus,
body.dark-theme .form select:focus,
body.dark-theme .form textarea:focus {
  border-color: #2980b9;
  background: #232f3e;
  box-shadow: 0 0 0 2px #2980b933;
}
body.dark-theme .form button {
  background: linear-gradient(90deg, #2980b9 60%, #27ae60 100%);
}
body.dark-theme .form button:hover {
  background: linear-gradient(90deg, #21618c 60%, #219150 100%);
}
body.dark-theme .message-box.success {
  background: #232f3e;
  color: #27ae60;
  border-color: #27ae60;
}
body.dark-theme .message-box.error {
  background: #2d3436;
  color: #e74c3c;
  border-color: #e74c3c;
}
body.dark-theme table {
  background: #23272b;
  color: #f4f6fb;
}
body.dark-theme th {
  background: #34495e;
  color: #27ae60;
}
body.dark-theme td {
  background: #23272b;
}
body.dark-theme tr:hover td {
  background: #232f3e;
}

/* Hacer las tablas responsivas dentro de la tarjeta */
.tabla-container {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 18px;
}

.tabla-container table {
  min-width: 600px;
  /* O ajusta según tus columnas */
}

/*# sourceMappingURL=style.css.map */
