/* estilos.css - Inspirado en Bootstrap, todo en español */

/* Reset básico */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* ============================================================================
   SISTEMA DE ESTILOS GLOBALES PARA TABLAS
   ============================================================================ */

/* Clases base para tablas */
.tabla-base {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 1.5em 0;
}

.tabla-base th,
.tabla-base td {
  padding: 1.2em 1em;
  text-align: left;
  border-bottom: 1px solid #f1f3f4;
  transition: all 0.2s ease;
}

.tabla-base th {
  /* ESTILOS COMENTADOS - SE MANEJAN EN EL MÓDULO LANDING */
  /* background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%); */
  color: #000000;
  font-weight: 600;
  font-size: 0.95em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.tabla-base th:first-child {
  border-top-left-radius: 12px;
}

.tabla-base th:last-child {
  border-top-right-radius: 12px;
}

.tabla-base tbody tr {
  transition: all 0.2s ease;
  position: relative;
  cursor: default;
}

/* Filas alternadas */
.tabla-base tbody tr:nth-child(even) {
  /* ESTILOS COMENTADOS - SE MANEJAN EN EL MÓDULO LANDING */
  /* background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%); */
}

.tabla-base tbody tr:nth-child(odd) {
  background: #ffffff;
}

.tabla-base tbody tr:nth-child(even) {
  background: #f8f9fa;
}

.tabla-base tbody tr:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.tabla-base tbody tr:last-child td {
  border-bottom: none;
}

.tabla-base tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

.tabla-base tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

/* Variantes de tabla */
.tabla-principal {
  /* Hereda de tabla-base */
}

.tabla-perfil {
  /* Variante más simple para perfil */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
}

.tabla-perfil th {
  background: #f8f9fa;
  color: #495057;
  font-size: 0.9rem;
}

.tabla-perfil tbody tr:hover {
  background: #f8f9fa;
  transform: none;
  box-shadow: none;
}

/* Contenedor de tabla - ESTILOS COMENTADOS - SE MANEJAN EN EL MÓDULO LANDING */
/* .tabla-contenedor {
  margin: 30px 0;
  overflow-x: auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  padding: 20px;
} */

/* Elementos específicos de tabla - ESTILOS GLOBALES (NO DUPLICADOS) */
.tabla-titulo-columna {
  width: 70%;
  font-weight: 500;
  position: relative;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.tabla-enlace {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.tabla-enlace:hover {
  color: #0d6efd;
  text-decoration: underline;
}

.tabla-autor-columna {
  width: 20%;
  text-align: center;
}

.tabla-autor-nombre {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(13, 110, 253, 0.1);
}

.tabla-autor-nombre:hover {
  color: #0b5ed7;
  background: rgba(13, 110, 253, 0.2);
  text-decoration: none;
  transform: translateY(-1px);
}

.tabla-autor-desconocido {
  color: #6c757d;
  font-style: italic;
}

/* Responsive para tablas */
@media (max-width: 768px) {
  .tabla-base th,
  .tabla-base td {
    padding: 0.75rem 0.5rem;
  }
  
  .tabla-base {
    font-size: 0.9rem;
  }
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f8f9fa;
  color: #222;
  min-height: 100vh;
}

#app {
  max-width: 1100px;
  margin: 120px auto 20px auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 32px 24px 24px 24px;
}

h1, h2, h3 {
  color: #0d6efd;
  margin-bottom: 0.5em;
}

input, select, textarea, button {
  font-family: inherit;
  font-size: 1em;
}

input, select, textarea {
  padding: 0.5em;
  border: 1px solid #ced4da;
  border-radius: 4px;
  margin-bottom: 1em;
  width: 100%;
  box-sizing: border-box;
}

button, .btn {
  background: #0d6efd;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.5em 1.2em;
  cursor: pointer;
  font-weight: 500;
  margin-right: 0.5em;
  margin-bottom: 0.5em;
  transition: background 0.2s;
}

button:hover, .btn:hover {
  background: #0b5ed7;
}

.btn-danger {
  background: #dc3545;
}
.btn-danger:hover {
  background: #b52a37;
}

.btn-secondary {
  background: #6c757d;
}
.btn-secondary:hover {
  background: #565e64;
}

.btn-success {
  background: #667eea;
}
.btn-success:hover {
  background: #5a67d8;
}

.btn-info {
  background: #17a2b8;
}
.btn-info:hover {
  background: #138496;
}

#btn-nuevo-test {
  background: #667eea !important;
}
#btn-nuevo-test:hover {
  background: #5a67d8 !important;
}

.btn-warning {
  background: #ffc107;
  color: #000;
}
.btn-warning:hover {
  background: #e0a800;
}

.card {
  background: #f8f9fa;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  padding: 1.2em 1em;
  margin-bottom: 1.5em;
}

.flex {
  display: flex;
  gap: 1em;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drag-handle {
  cursor: grab;
  color: #adb5bd;
  font-size: 1.2em;
  margin-right: 0.5em;
  user-select: none;
}

.dragging {
  opacity: 0.5;
  background: #e9ecef;
}

input[type="file"] {
  border: none;
  background: none;
  padding: 0;
}

hr {
  border: none;
  border-top: 1px solid #dee2e6;
  margin: 1.5em 0;
}

.alert {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  border-radius: 4px;
  padding: 0.8em 1em;
  margin-bottom: 1em;
}

@media (max-width: 600px) {
  #app {
    padding: 10px 2vw;
  }
  .flex, .flex-between {
    flex-direction: column;
    gap: 0.5em;
    align-items: stretch;
  }
}


/* Estilos para la tabla de la landing - USANDO SISTEMA GLOBAL */
.table-container {
  /* Mantener compatibilidad - ahora usa tabla-contenedor */
}

.tests-table {
  /* Mantener compatibilidad - ahora usa tabla-base */
}

.test-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.test-link:hover {
  text-decoration: underline;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.875rem;
}

.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}


/* --- NAVBAR LANDING --- */
.navbar-landing {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  min-height: 60px;
  border-radius: 0 0 12px 12px;
  position: fixed;
}

.navbar-landing::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 0 0 12px 12px;
}
.navbar-landing-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5em 1.5em;
  gap: 1em;
}

.navbar-landing-brand {
  flex-shrink: 0;
  margin-right: 1em;
}

.logo-link {
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-link img {
  transition: filter 0.2s ease;
}

.logo-link:hover img {
  filter: brightness(1.1);
}

.navbar-landing-search {
  flex: 1;
  max-width: 400px;
  min-width: 200px;
}

.buscador-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.buscador-lupa {
  position: absolute;
  left: 12px;
  z-index: 2;
}

#buscador-tests {
  width: 100%;
  padding: 0.6em 0.8em 0.6em 2.5em;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95em;
  background: #fafafa;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

#buscador-tests:focus {
  outline: none;
  border-color: #1976d2;
  background: #fff;
  box-shadow: 0 2px 12px rgba(25,118,210,0.10);
}
.navbar-landing-actions {
  display: flex;
  gap: 0.5em;
  align-items: center;
}
.btn-landing {
  display: flex;
  align-items: center;
  font-size: 0.92em;
  gap: 0.2em;
  font-weight: 500;
  padding: 0.25em 0.7em;
  border-radius: 5px;
}
.btn-landing svg {
  margin-right: 0.3em;
}
.btn-mini {
  font-size: 0.92em;
  padding: 0.22em 0.6em;
  min-width: 0;
}

/* --- ICONOS DE ACCIÓN ELEGANTES --- */
.action-icons {
  display: flex;
  gap: 0.3em;
  align-items: center;
}

.action-icon {
  background: transparent;
  border: none;
  padding: 0.4em;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
}

.action-icon:hover {
  background: rgba(108, 117, 125, 0.1);
  transform: translateY(-1px);
}

.action-icon:active {
  transform: translateY(0);
}

.action-icon svg {
  transition: fill 0.2s ease;
}

.action-icon:hover svg {
  fill: #495057;
}

/* --- ICONO PEQUEÑO PARA TABLA --- */
.action-icon-small {
  background: transparent;
  border: none;
  padding: 0.3em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  margin-left: 0.2em;
}

.action-icon-small:hover {
  background: rgba(108, 117, 125, 0.1);
  transform: translateY(-1px);
}

.action-icon-small:active {
  transform: translateY(0);
}

.action-icon-small svg {
  transition: fill 0.2s ease;
}

.action-icon-small:hover svg {
  fill: #495057;
}

/* Colores específicos para cada tipo de acción */
.action-icon-small[onclick*="mostrarDetallesTest"]:hover svg {
  fill: #0b5ed7;
}

.action-icon-small[onclick*="exportarTestIndividual"]:hover svg {
  fill: #495057;
}

.action-icon-small[onclick*="editarTest"]:hover svg {
  fill: #e0a800;
}

.action-icon-small[onclick*="eliminarTest"]:hover svg {
  fill: #b52a37;
}

/* --- ESTILOS PARA TABLA DE TESTS - USANDO SISTEMA GLOBAL --- */
.tests-table {
  /* Mantener compatibilidad - ahora usa tabla-base */
}

.tests-table th,
.tests-table td {
  /* Mantener compatibilidad - ahora usa tabla-base */
}

.tests-table th {
  /* Mantener compatibilidad - ahora usa tabla-base */
}

.tests-table th:first-child {
  /* Mantener compatibilidad - ahora usa tabla-base */
}

.tests-table th:last-child {
  /* Mantener compatibilidad - ahora usa tabla-base */
}

.tests-table tbody tr {
  /* Mantener compatibilidad - ahora usa tabla-base */
}

/* Estilos para filas alternadas */
.tests-table tbody tr:nth-child(even) {
  /* Mantener compatibilidad - ahora usa tabla-base */
}

.tests-table tbody tr:nth-child(odd) {
  /* Mantener compatibilidad - ahora usa tabla-base */
}

.tests-table tbody tr:hover {
  /* Mantener compatibilidad - ahora usa tabla-base */
}

.tests-table tbody tr:hover .dropdown-toggle {
  transform: none;
  box-shadow: none;
}

.tests-table tbody tr:hover .dropdown-container {
  transform: none;
  box-shadow: none;
}

.tests-table tbody tr:last-child td {
  /* Mantener compatibilidad - ahora usa tabla-base */
}

.tests-table tbody tr:last-child td:first-child {
  /* Mantener compatibilidad - ahora usa tabla-base */
}

.tests-table tbody tr:last-child td:last-child {
  /* Mantener compatibilidad - ahora usa tabla-base */
}

/* ESTILOS GLOBALES PARA TESTS-TABLE (NO DUPLICADOS) */
.tests-table .titulo-column {
  width: 70%;
  font-weight: 500;
  position: relative;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.tests-table .titulo-column:hover {
  background: transparent;
}

.tests-table .test-link {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  display: block;
  padding: 0.3em 0;
  border-radius: 6px;
  position: relative;
  box-shadow: none;
  width: 100%;
  height: 100%;
  transition: color 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.tests-table tbody tr:hover .titulo-column .test-link {
  color: #667eea;
  padding-left: 0.5em;
  transform: translateX(4px);
}

.tests-table td:nth-child(2),
.tests-table td:nth-child(3) {
  text-align: center;
  font-weight: 500;
  color: #6c757d;
}

.tests-table td:nth-child(4) {
  color: #6c757d;
  font-size: 0.9em;
}

/* Estilos para la columna de autor - ESTILOS GLOBALES (NO DUPLICADOS) */
.tests-table .autor-column {
  text-align: center;
  font-weight: 500;
  color: #495057;
  transition: color 0.2s ease;
}

.tests-table .autor-nombre {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
  padding: 0.2em 0.5em;
  border-radius: 4px;
  display: inline-block;
}

.tests-table .autor-nombre:hover {
  color: #5a67d8;
  text-decoration: underline;
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}

.tests-table .autor-nombre:active {
  transform: translateY(0);
}

.tests-table .autor-desconocido {
  color: #6c757d;
  font-style: italic;
  font-weight: 400;
}

.tests-table tbody tr:hover .autor-column {
  color: #495057;
}

.tests-table tbody tr:hover .autor-nombre {
  color: #5a67d8;
}

/* Estilos para el contenedor de la tabla */
.table-container {
  background: white;
  border-radius: 16px;
  padding: 1.5em;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin: 2em 0;
}

/* Estilos para el mensaje de "No hay tests disponibles" */
.tests-table tbody tr td[colspan] {
  text-align: center;
  padding: 3em 1em;
  color: #6c757d;
  font-style: italic;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 1em;
}

/* --- ESTILOS PARA DROPDOWN --- */
.dropdown-container {
  position: relative;
  display: inline-block;
  z-index: 99999;
}

.dropdown-toggle {
  background: transparent;
  border: none;
  padding: 0.4em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
}

.dropdown-toggle:hover {
  background: rgba(108, 117, 125, 0.1);
  transform: translateY(-1px);
}

.dropdown-toggle:active {
  transform: translateY(0);
}

.dropdown-toggle svg {
  transition: fill 0.2s ease;
}

.dropdown-toggle:hover svg {
  fill: #495057;
}

.dropdown-menu {
  position: fixed;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 140px;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  max-height: 200px;
  overflow-y: auto;
  pointer-events: none;
  margin: 0;
  padding: 0;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5em;
  width: 100%;
  padding: 0.6em 0.8em;
  border: none;
  background: transparent;
  color: #495057;
  font-size: 0.9em;
  cursor: pointer;
  text-align: left;
}

.dropdown-item:first-child {
  border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
  border-radius: 0 0 8px 8px;
}

.dropdown-item:hover {
  background: #f8f9fa;
  color: #212529;
}

.dropdown-item:active {
  background: #e9ecef;
}

.dropdown-item svg {
  flex-shrink: 0;
}

/* Responsive para dropdown */
@media (max-width: 600px) {
  .dropdown-menu {
    min-width: 120px;
    right: -10px;
  }
  
  .dropdown-item {
    padding: 0.5em 0.6em;
    font-size: 0.85em;
  }
}

/* Estilos del editor de descripción - Migrados al módulo editor */

.landing-main-container {
  max-width: 1200px;
  margin: 3.5em auto 0 auto;
  padding: 0 1.5em;
  padding-top: 72px; /* 60px navbar + 4px barra + 8px margen extra */
  margin-top: 1.2em;
}
@media (max-width: 800px) {
  .navbar-landing-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7em;
  }
  .navbar-landing-search {
    max-width: 100%;
  }
  .navbar-landing-actions {
    justify-content: flex-end;
  }
  .landing-main-container {
    padding: 0 0.5em;
  }
}

@media (max-width: 900px) {
  .navbar-landing-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15em;
    padding: 0.5em 0.7em;
  }
  .navbar-landing-brand,
  .navbar-landing-search,
  .navbar-landing-actions {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .navbar-landing-brand {
    text-align: center;
  }
  .navbar-landing-search {
    flex: 0 0 100px;
    max-width: 100%;
    width: 100%;
    min-width: auto;
  }
  .buscador-wrapper {
    max-width: 100%;
  }
  .navbar-landing-actions {
    justify-content: flex-end;
    width: 100%;
    gap: 0.5em;
  }
}

@media (max-width: 600px) {
  .navbar-landing-container {
    padding: 0.4em 0.2em;
    gap: 0.15em;
  }
  .navbar-landing-brand,
  .navbar-landing-search,
  .navbar-landing-actions {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .navbar-landing-brand {
    font-size: 1.1em;
  }
  .btn-landing, .btn-mini {
    font-size: 0.98em;
    padding: 0.22em 0.5em;
  }
  .action-icons {
    gap: 0.2em;
  }
  .action-icon {
    min-width: 32px;
    height: 32px;
    padding: 0.3em;
  }
}

.descripcion-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border: 1px solid #e1e8ed;
  width: 100%;
}

.descripcion-content {
  line-height: 1.6;
  color: #495057;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.descripcion-content strong {
  font-weight: bold;
  color: #2c3e50;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.descripcion-content ul {
  margin: 10px 0;
  padding-left: 20px;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.descripcion-content li {
  margin: 5px 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.descripcion-content br {
  margin-bottom: 8px;
}

.descripcion-content * {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

/* Estilos para opciones deshabilitadas migrados al módulo cuestionario */

/* Mensaje de respuesta bloqueada migrado al módulo cuestionario */

/* Estilos para textarea deshabilitado migrados al módulo cuestionario */

/* Estilos para progreso y advertencias migrados al módulo cuestionario */

/* Estilos de preguntas-advertencia migrados al módulo cuestionario */

.advertencia-icon {
  margin-right: 6px;
  font-weight: bold;
}

.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2em;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

.landing-container h1 {
  color: #2c3e50;
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 1.5em;
  text-align: center;
  position: relative;
  padding-bottom: 0.5em;
}

.landing-container h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

/* Estilos para la vista de perfil de usuario */
.profile-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.profile-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  color: white;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: bold;
  color: #667eea;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.profile-name {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-username {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.profile-bio {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 1rem;
  opacity: 0.95;
}

.profile-social {
  margin: 2rem 0;
  text-align: center;
}

.profile-social h3 {
  color: #0d6efd;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: #0d6efd;
  text-decoration: none;
  border-radius: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-weight: 500;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #0b5ed7;
  text-decoration: none;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link.linkedin {
  background: #0077b5;
  color: white;
}

.social-link.linkedin:hover {
  background: #005885;
  color: white;
}

.social-link.website {
  background: #28a745;
  color: white;
}

.social-link.website:hover {
  background: #1e7e34;
  color: white;
}

.social-link.github {
  background: #333;
  color: white;
}

.social-link.github:hover {
  background: #24292e;
  color: white;
}

.profile-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.profile-content h3 {
  color: #0d6efd;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  padding: 1.5rem 1.5rem 0;
}

.profile-tests-table {
  /* Mantener compatibilidad - ahora usa tabla-base tabla-perfil */
}

.profile-tests-table th,
.profile-tests-table td {
  /* Mantener compatibilidad - ahora usa tabla-base tabla-perfil */
}

.profile-tests-table th {
  /* Mantener compatibilidad - ahora usa tabla-base tabla-perfil */
}

.profile-tests-table tbody tr:hover {
  /* Mantener compatibilidad - ahora usa tabla-base tabla-perfil */
}

.profile-tests-table .test-title {
  font-weight: 500;
  color: #0d6efd;
  cursor: pointer;
  transition: color 0.2s;
}

.profile-tests-table .test-title:hover {
  color: #0b5ed7;
  text-decoration: underline;
}

.profile-tests-table .test-date {
  color: #6c757d;
  font-size: 0.9rem;
}

.profile-tests-table .test-stats {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.test-stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: #6c757d;
}

.test-stat svg {
  width: 14px;
  height: 14px;
}

.no-tests-message {
  text-align: center;
  padding: 2rem;
  color: #6c757d;
  font-style: italic;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.375rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

/* Estilos para edición de perfil */
.profile-bio-container {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.profile-bio {
  flex: 1;
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  line-height: 1.5;
}

.profile-bio * {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.social-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.social-header h3 {
  margin: 0;
}

.social-link.whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
}

.social-link.whatsapp:hover {
  background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.social-link.instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.social-link.instagram:hover {
  background: linear-gradient(135deg, #bc1888 0%, #cc2366 25%, #dc2743 50%, #e6683c 75%, #f09433 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3);
}

.social-link.custom {
  background: var(--custom-color, #667eea);
  color: white;
}

.social-link.custom:hover {
  background: var(--custom-color-hover, #5a6fd8);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.input-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-label {
  font-size: 0.875rem;
  color: #6c757d;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  cursor: pointer;
}

.red-personalizada {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.red-personalizada .input-group {
  margin-bottom: 0.5rem;
}

.red-personalizada .input-group:last-child {
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #333;
}

.modal-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

/* Iconos de Material Design para administración */
.material-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.3rem;
  transition: transform 0.2s ease;
}

.btn-sm .material-icon {
  margin-right: 0;
  margin-left: 0;
}

.btn-sm:hover .material-icon {
  transform: scale(1.1);
}

/* Estilos admin migrados al módulo admin */

/* Estilos específicos para botón Ver Tests */
.btn-info .material-icon {
  margin-right: 0.4rem;
}

.btn-info:hover .material-icon {
  transform: scale(1.1);
}

/* Responsive para administración */
@media (max-width: 768px) {
  .profile-container {
    padding: 1rem;
  }
  
  .profile-header {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .profile-avatar {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }
  
  .profile-name {
    font-size: 1.5rem;
  }
  
  .profile-bio-container {
    font-size: 0.95em;
    line-height: 1.4;
  }
  
  .profile-bio {
    font-size: 0.95em;
    line-height: 1.4;
  }
  
  .social-links {
    flex-direction: column;
    align-items: center;
  }
  
  .social-link {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .profile-tests-table th,
  .profile-tests-table td {
    padding: 0.75rem 1rem;
  }
  
  .profile-tests-table .test-stats {
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
  }
}

/* Estilos para el enlace del autor */
.author-link {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(13, 110, 253, 0.1);
}

.author-link:hover {
  color: #0b5ed7;
  background: rgba(13, 110, 253, 0.2);
  text-decoration: none;
  transform: translateY(-1px);
}

.author-link:active {
  transform: scale(0.95);
}

/* Estilos admin migrados al módulo admin */

/* Estilos admin migrados al módulo admin */

/* Estilos admin responsive migrados al módulo admin */

/* Estilos del editor - Migrados al módulo editor */

/* Pila de preguntas */
.preguntas-pila {
  margin-top: 2rem;
  border-top: 1px solid #dee2e6;
  padding-top: 1.5rem;
}

.preguntas-pila h4 {
  margin-bottom: 1rem;
  color: #495057;
  font-size: 1.1rem;
}

.preguntas-pila-container {
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pregunta-pila-item {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.pregunta-pila-item:hover {
  border-color: #007bff;
  box-shadow: 0 2px 8px rgba(0,123,255,0.15);
  transform: translateY(-1px);
}

.pregunta-pila-item.activa {
  border-color: #007bff;
  background: #f8f9ff;
  box-shadow: 0 2px 8px rgba(0,123,255,0.2);
}

.pregunta-pila-numero {
  background: #007bff;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
}

.pregunta-pila-item.activa .pregunta-pila-numero {
  background: #0056b3;
}

.pregunta-pila-icono {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.pregunta-pila-texto {
  flex: 1;
  font-size: 0.9rem;
  color: #495057;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pregunta-pila-acciones {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pregunta-pila-item:hover .pregunta-pila-acciones {
  opacity: 1;
}

.btn-pila-accion {
  background: none;
  border: none;
  padding: 0.25rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-pila-accion:hover {
  background: #f8f9fa;
}

.no-preguntas-message {
  text-align: center;
  padding: 3rem;
  color: #6c757d;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px dashed #dee2e6;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Estilos responsivos del editor - Migrados al módulo editor */

/* Aviso de autenticación en el editor */
.auth-notice {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 16px 0;
  color: #856404;
  font-size: 0.9em;
  text-align: center;
}

.auth-notice p {
  margin: 0;
  font-weight: 500;
}

.auth-notice::before {
  content: "⚠️ ";
  margin-right: 8px;
}

/* Estilos responsivos para descripcion-content */
@media (max-width: 768px) {
  .descripcion-content {
    font-size: 0.95em;
    line-height: 1.5;
  }
  
  .descripcion-content ul {
    padding-left: 15px;
  }
  
  .descripcion-content li {
    margin: 3px 0;
  }
  
  /* Estilos del editor responsivos - Migrados al módulo editor */
}

@media (max-width: 480px) {
  .descripcion-content {
    font-size: 0.9em;
    line-height: 1.4;
  }
  
  .descripcion-content ul {
    padding-left: 12px;
  }
  
  /* Estilos del editor responsivos - Migrados al módulo editor */
  
  .texto-libre-container textarea {
    min-height: 80px;
    font-size: 0.85em;
    padding: 8px;
  }
  
  .texto-libre-counter {
    font-size: 0.65em;
    bottom: 4px;
    right: 8px;
    padding: 1px 4px;
  }
}

/* Estilos específicos para contadores de título y descripción - Migrados al módulo editor */

/* Estilos para texto libre - Migrados a componentes específicos */

/* Estilos de login migrados a utils/auth/styles.css */

/* Estilos de login modal migrados a utils/auth/styles.css */

.close-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.close-btn:hover {
  background: #f0f0f0;
  color: #333;
}

/* Estilos de login form migrados a utils/auth/styles.css */

.captcha-group {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.captcha-group label {
  color: #495057;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.captcha-input-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.captcha-input-container input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s;
  margin-bottom: 0;
}

.captcha-input-container input:focus {
  outline: none;
  border-color: #667eea;
}

.captcha-refresh {
  padding: 12px;
  border-radius: 8px;
  background: #6c757d;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
}

.captcha-refresh:hover {
  background: #5a6268;
}

.captcha-refresh svg {
  transition: transform 0.2s;
}

.captcha-refresh:hover svg {
  transform: rotate(180deg);
}

.captcha-info {
  font-size: 12px;
  color: #6c757d;
  font-style: italic;
  margin-top: 5px;
}

.password-input-container {
  position: relative;
  display: block;
}

.password-input-container input {
  width: 100%;
  padding: 12px 16px;
  padding-right: 50px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s;
}

.password-input-container input:focus {
  outline: none;
  border-color: #667eea;
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  color: #6c757d;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  box-sizing: border-box;
}

.password-toggle:hover {
  background: #f8f9fa;
  color: #495057;
}

.password-toggle:active {
  background: #e9ecef;
}

.password-toggle svg {
  width: 16px;
  height: 16px;
  transition: all 0.2s;
}

.password-toggle:hover svg {
  transform: scale(1.1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mejoras para dispositivos móviles */
@media (max-width: 768px) {
  .login-modal {
    -webkit-overflow-scrolling: touch;
  }
  
  .login-card {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .login-card::-webkit-scrollbar {
    display: none;
  }
  
  /* Asegurar que los inputs no hagan zoom en iOS */
  .login-card input,
  .password-input-container input,
  .captcha-input-container input {
    font-size: 16px !important;
  }
  
  /* Mejorar la accesibilidad táctil */
  .password-toggle,
  .captcha-refresh,
  .close-btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Asegurar que los botones sean fáciles de tocar */
  .login-card .form-actions .btn {
    min-height: 44px;
    touch-action: manipulation;
  }
}

/* Responsive para el modal */
@media (max-width: 768px) {
  .login-overlay {
    padding: 15px;
    align-items: flex-start;
    padding-top: 20px;
  }
  
  .login-card {
    margin: 0;
    max-width: none;
    width: 100%;
    max-height: calc(100vh - 40px);
    border-radius: 12px;
  }
  
  .login-header {
    padding: 20px 20px 0 20px;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    border-radius: 12px 12px 0 0;
  }
  
  .login-header h2 {
    font-size: 20px;
  }
  
  .login-card form {
    padding: 0 20px 20px 20px;
  }
  
  .login-card .form-group {
    margin-bottom: 15px;
  }
  
  .login-card label {
    font-size: 14px;
    margin-bottom: 6px;
  }
  
  .login-card input {
    padding: 10px 14px;
    font-size: 16px;
  }
  
  .password-input-container input {
    padding: 10px 14px;
    padding-right: 45px;
    font-size: 16px;
  }
  
  .password-toggle {
    padding: 6px;
    min-width: 40px;
    height: 40px;
  }
  
  .login-card .form-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }
  
  .login-card .form-actions .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
  }
  
  .login-footer {
    padding: 15px 20px 20px 20px;
    margin-top: 15px;
  }
  
  .login-footer p {
    font-size: 13px;
  }
  
  .captcha-group {
    padding: 12px;
    margin-bottom: 15px;
  }
  
  .captcha-group label {
    font-size: 14px;
    margin-bottom: 6px;
  }
  
  .captcha-input-container {
    flex-direction: column;
    gap: 8px;
  }
  
  .captcha-input-container input {
    width: 100%;
    padding: 10px 14px;
    font-size: 16px;
  }
  
  .captcha-refresh {
    align-self: flex-end;
    padding: 10px;
    min-width: 40px;
    height: 40px;
  }
  
  .captcha-info {
    font-size: 11px;
    margin-top: 4px;
  }
}

@media (max-width: 480px) {
  .login-overlay {
    padding: 10px;
    padding-top: 10px;
  }
  
  .login-card {
    margin: 0;
    width: 100%;
    max-height: calc(100vh - 20px);
    border-radius: 12px;
  }
  
  .login-header {
    padding: 15px 15px 0 15px;
  }
  
  .login-header h2 {
    font-size: 18px;
  }
  
  .close-btn {
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  
  .login-card form {
    padding: 0 15px 15px 15px;
  }
  
  .login-card .form-group {
    margin-bottom: 12px;
  }
  
  .login-card label {
    font-size: 13px;
    margin-bottom: 5px;
  }
  
  .login-card input {
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 6px;
  }
  
  .password-input-container input {
    padding: 8px 12px;
    padding-right: 40px;
    font-size: 16px;
  }
  
  .password-toggle {
    padding: 5px;
    min-width: 36px;
    height: 36px;
    right: 6px;
  }
  
  .password-toggle svg {
    width: 14px;
    height: 14px;
  }
  
  .login-card .form-actions {
    gap: 8px;
    margin-top: 15px;
  }
  
  .login-card .form-actions .btn {
    padding: 10px 16px;
    font-size: 15px;
    border-radius: 6px;
  }
  
  .login-footer {
    padding: 12px 15px 15px 15px;
    margin-top: 12px;
  }
  
  .login-footer p {
    font-size: 12px;
  }
  
  .captcha-group {
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 6px;
  }
  
  .captcha-group label {
    font-size: 14px;
    margin-bottom: 5px;
  }
  
  .captcha-input-container input {
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 6px;
  }
  
  .captcha-refresh {
    padding: 8px;
    min-width: 36px;
    height: 36px;
    border-radius: 6px;
  }
  
  .captcha-refresh svg {
    width: 12px;
    height: 12px;
  }
  
  .captcha-info {
    font-size: 10px;
    margin-top: 3px;
  }
}

@media (max-width: 360px) {
  .login-overlay {
    padding: 5px;
    padding-top: 5px;
  }
  
  .login-card {
    margin: 0;
    width: 100%;
    max-height: calc(100vh - 10px);
    border-radius: 8px;
  }
  
  .login-header {
    padding: 12px 12px 0 12px;
  }
  
  .login-header h2 {
    font-size: 16px;
  }
  
  .login-card form {
    padding: 0 12px 12px 12px;
  }
  
  .login-card .form-group {
    margin-bottom: 10px;
  }
  
  .login-card label {
    font-size: 12px;
  }
  
  .login-card input {
    padding: 6px 10px;
    font-size: 16px;
  }
  
  .password-input-container input {
    padding: 6px 10px;
    padding-right: 35px;
  }
  
  .password-toggle {
    min-width: 32px;
    height: 32px;
    right: 4px;
  }
  
  .password-toggle svg {
    width: 12px;
    height: 12px;
  }
  
  .login-card .form-actions .btn {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .captcha-group {
    padding: 8px;
  }
  
  .captcha-input-container input {
    padding: 6px 10px;
  }
  
  .captcha-refresh {
    min-width: 32px;
    height: 32px;
    padding: 6px;
  }
  
  .captcha-refresh svg {
    width: 12px;
    height: 12px;
  }
}

/* ============================================================================
   COMPATIBILIDAD CON CLASES EXISTENTES
   ============================================================================ */

/* Tabla principal de tests - hereda de tabla-base */
.tests-table {
  /* Hereda todos los estilos de tabla-base */
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 1.5em 0;
}

.tests-table th,
.tests-table td {
  padding: 1.2em 1em;
  text-align: left;
  border-bottom: 1px solid #f1f3f4;
  transition: all 0.2s ease;
}

.tests-table th {
  /* ESTILOS COMENTADOS - SE MANEJAN EN EL MÓDULO LANDING */
  /* background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%); */
  color: #000000;
  font-weight: 600;
  font-size: 0.95em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.tests-table th:first-child {
  border-top-left-radius: 12px;
}

.tests-table th:last-child {
  border-top-right-radius: 12px;
}

.tests-table tbody tr {
  transition: all 0.2s ease;
  position: relative;
  cursor: default;
}

.tests-table tbody tr:nth-child(even) {
  /* ESTILOS COMENTADOS - SE MANEJAN EN EL MÓDULO LANDING */
  /* background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%); */
}

.tests-table tbody tr:nth-child(odd) {
  /* ESTILOS COMENTADOS - SE MANEJAN EN EL MÓDULO LANDING */
  /* background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%); */
}

.tests-table tbody tr:hover {
  /* ESTILOS COMENTADOS - SE MANEJAN EN EL MÓDULO LANDING */
  /* background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%); */
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.tests-table tbody tr:last-child td {
  border-bottom: none;
}

.tests-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

.tests-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

/* Tabla de perfil - hereda de tabla-base y tabla-perfil */
.profile-tests-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin: 1.5em 0;
}

.profile-tests-table th,
.profile-tests-table td {
  padding: 1.2em 1em;
  text-align: left;
  border-bottom: 1px solid #f1f3f4;
  transition: all 0.2s ease;
}

.profile-tests-table th {
  background: #f8f9fa;
  color: #495057;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-tests-table tbody tr {
  transition: all 0.2s ease;
  position: relative;
  cursor: default;
}

.profile-tests-table tbody tr:nth-child(even) {
  /* ESTILOS COMENTADOS - SE MANEJAN EN EL MÓDULO LANDING */
  /* background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%); */
}

.profile-tests-table tbody tr:nth-child(odd) {
  /* ESTILOS COMENTADOS - SE MANEJAN EN EL MÓDULO LANDING */
  /* background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%); */
}

.profile-tests-table tbody tr:hover {
  background: #f8f9fa;
  transform: none;
  box-shadow: none;
}

.profile-tests-table tbody tr:last-child td {
  border-bottom: none;
}

/* Contenedor de tabla - hereda de tabla-contenedor */
.table-container {
  margin: 20px 0;
  overflow-x: auto;
}

/* Elementos específicos heredan de las nuevas clases */
.tests-table .titulo-column {
  width: 70%;
  font-weight: 500;
  position: relative;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.tests-table .test-link {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.tests-table .test-link:hover {
  color: #0d6efd;
  text-decoration: underline;
}

.tests-table .autor-column {
  width: 20%;
  text-align: center;
}

.tests-table .autor-nombre {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(13, 110, 253, 0.1);
}

.tests-table .autor-nombre:hover {
  color: #0b5ed7;
  background: rgba(13, 110, 253, 0.2);
  text-decoration: none;
  transform: translateY(-1px);
}

.tests-table .autor-desconocido {
  color: #6c757d;
  font-style: italic;
}

.profile-tests-table .test-title {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.profile-tests-table .test-title:hover {
  color: #0b5ed7;
  text-decoration: underline;
}