:root {
  --color-primario: #2c3e50;
  --color-secundario: #2980b9;
  --color-acentuado: #c0392b;
  --color-fondo: #ffffff;
  --color-fondo-cuerpo: #f9fafb;
  --color-texto: #212529;
  --color-texto-secundario: #5a6268;
  --color-bordes: #eaeaea;
  --sombra: 0 4px 12px rgba(0,0,0,0.08);
  --sombra-hover: 0 6px 16px rgba(0,0,0,0.12);
  --radio-bordes: 12px;
  --fuente-principal: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fuente-titulos: 'Poppins', 'Inter', sans-serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--fuente-principal);
  background-color: var(--color-fondo-cuerpo);
  color: var(--color-texto);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.site-header {
  background: var(--color-primario);
  color: white;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.site-header.has-banner img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  display: block;
}

.site-header-content {
  padding: 1.5rem 2rem;
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-header h1 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--fuente-titulos);
}

.site-header a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radio-bordes);
  transition: background 0.2s;
}

.site-header a:hover {
  background: rgba(255,255,255,0.15);
}

.site-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

@media (max-width: 992px) {
  .site-main {
    grid-template-columns: 1fr;
  }
}

.site-sidebar {
  background: var(--color-fondo);
  padding: 1.5rem;
  border-radius: var(--radio-bordes);
  box-shadow: var(--sombra);
  align-self: start;
}

.widget {
  margin-bottom: 1.5rem;
}

.widget h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--color-primario);
  font-family: var(--fuente-titulos);
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget li {
  padding: 0.4rem 0;
}

.widget a {
  color: var(--color-texto);
  text-decoration: none;
  transition: color 0.2s;
}

.widget a:hover {
  color: var(--color-secundario);
}

/* === CORRECCIÓN PARA GRID DE NOTICIAS === */
.noticia-lista {
  display: grid;
  gap: 1.5rem;
  width: 100%;
}

/* En móviles, forzar 1 columna SIEMPRE */
@media (max-width: 768px) {
  .noticia-lista {
    grid-template-columns: 1fr !important;
  }
}

.noticia {
  background: var(--color-fondo);
  border-radius: var(--radio-bordes);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.noticia:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-hover);
}

.imagen-noticia {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.noticia-contenido {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.noticia h2 {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
  line-height: 1.3;
  font-family: var(--fuente-titulos);
}

.noticia h2 a {
  color: var(--color-primario);
  text-decoration: none;
}

.noticia h2 a:hover {
  color: var(--color-secundario);
}

.noticia small {
  color: var(--color-texto-secundario);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  display: block;
}

.noticia p {
  margin: 0 0 1rem 0;
  color: var(--color-texto);
  flex-grow: 1;
}

.acciones {
  margin-top: auto;
}

.acciones a {
  color: var(--color-secundario);
  text-decoration: none;
  font-weight: 600;
}

.paginacion {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.paginacion a,
.paginacion span {
  padding: 0.5rem 1rem;
  text-decoration: none;
  border: 1px solid var(--color-bordes);
  border-radius: var(--radio-bordes);
  color: var(--color-primario);
}

.paginacion .actual,
.paginacion a:hover {
  background: var(--color-secundario);
  color: white;
  border-color: var(--color-secundario);
}

.site-footer {
  background: var(--color-primario);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.site-footer.has-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: 0;
}

.site-footer-content {
  position: relative;
  z-index: 1;
}

.site-footer a {
  color: #a3b1c6;
  text-decoration: none;
}

.site-footer a:hover {
  color: white;
}

/* === ESTILOS PARA NOTICIA INDIVIDUAL === */
.noticia-individual {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--color-fondo);
  border-radius: var(--radio-bordes);
  box-shadow: var(--sombra);
}

.noticia-individual h1 {
  font-family: var(--fuente-titulos);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-primario);
}

.imagen-noticia-grande {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  border-radius: var(--radio-bordes);
  margin: 1.5rem 0;
}

/* === CORRECCIÓN CLS: Video Contenedor === */
.video-contenedor {
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: var(--radio-bordes);
  margin: 1.5rem 0;
  transform-style: preserve-3d;
  aspect-ratio: 16 / 9;
}

.video-contenedor iframe,
.video-contenedor video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

iframe[src*="youtube.com/embed/"],
iframe[src*="vimeo.com/video/"],
video {
  max-width: 100%;
  height: auto;
}

.buscador {
  text-align: center;
  margin: 1.5rem 0;
}

.buscador input {
  width: 100%;
  max-width: 500px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-bordes);
  border-radius: 50px;
  font-size: 1rem;
}

.buscador button {
  background: var(--color-secundario);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* === ESTILOS PARA ENLACES DE COMENTARIOS CON BUEN CONTRASTE === */
.enlace-comentarios {
    margin-left: 8px;
    color: #0d47a1 !important;
    font-weight: 700;
    text-decoration: none;
}

.enlace-comentarios:hover {
    color: #144770 !important;
    text-decoration: underline;
}

.invitacion-comentar {
  margin-left: 8px;
  color: #8b0000 !important;
  font-weight: 800;
  text-decoration: underline;
  animation: pulseInvitacion 1s infinite;
  display: inline-block;
  transition: color 0.2s;
}

.invitacion-comentar:hover {
  color: #7f0000 !important;
  animation-play-state: paused;
}

/* === ANIMACIONES === */
@keyframes pulseInvitacion {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

@keyframes pulseModerar {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
}

.moderar-pendientes {
  animation: pulseModerar 1.2s infinite;
  display: inline-block;
  color: #b71c1c !important;
  font-weight: bold;
}

.moderar-pendientes:hover {
  animation-play-state: paused;
}

/* === ESTILOS PARA ETIQUETAS === */
.etiquetas-lista {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-height: 30px;
}

.etiquetas-lista strong {
  color: var(--color-texto);
  font-weight: 600;
  font-size: 0.95em;
}

a.etiqueta {
  display: inline-block;
  padding: 4px 10px;
  background: #f8f9fa;
  color: #2c3e50 !important;
  text-decoration: none;
  border-radius: 20px;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 0.85em;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid #dee2e6;
}

a.etiqueta:hover {
  background: #e9ecef;
  color: #1a252f !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Botones y formularios */
.votos-seccion {
  margin: 1.5rem 0;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: var(--radio-bordes);
  text-align: center;
}

.btn-votar,
.btn-enviar-comentario {
  background: #1a73e8;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radio-bordes);
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.2s;
}

.btn-votar:hover,
.btn-enviar-comentario:hover {
  background: #1557c4;
}

.btn-votar:disabled {
  background: #6c757d;
  cursor: not-allowed;
}

.comentario {
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.comentario .autor {
  font-weight: bold;
  color: var(--color-primario);
}

.comentario .fecha {
  color: var(--color-texto-secundario);
  font-size: 0.9rem;
  margin-left: 0.5rem;
}

.formulario-comentario input,
.formulario-comentario textarea {
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0;
  border: 1px solid var(--color-bordes);
  border-radius: var(--radio-bordes);
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.5rem 0;
}

.captcha-container input {
  width: 80px;
}

/* === CORRECCIÓN DEFINITIVA DE CONTRASTE PARA NAVEGACIÓN ENTRE NOTICIAS === */
.navegacion-noticias {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-bordes);
    gap: 1rem;
}

/* BOTONES DE NAVEGACIÓN ACTIVOS - ALTO CONTRASTE */
.btn-navegacion {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1rem;
    background: #1a365d !important; /* Azul muy oscuro para máximo contraste */
    color: #ffffff !important; /* Blanco puro */
    text-decoration: none;
    border-radius: var(--radio-bordes);
    font-weight: bold;
    max-width: 48%;
    transition: all 0.2s ease;
    text-align: left;
    border: 2px solid #1a365d !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-navegacion:hover {
    background: #0f1f3a !important; /* Color aún más oscuro en hover */
    color: #ffffff !important;
    text-decoration: none;
    border-color: #0f1f3a !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.btn-navegacion:focus {
    outline: 3px solid #ffd700 !important; /* Amarillo dorado para máximo contraste */
    outline-offset: 2px;
}

.btn-navegacion.prev {
    align-self: flex-start;
}

.btn-navegacion.next {
    align-self: flex-end;
    text-align: right;
    align-items: flex-end;
}

/* ETIQUETAS Y TÍTULOS - ALTO CONTRASTE */
.btn-navegacion .nav-label {
    font-size: 0.8rem;
    opacity: 1 !important;
    margin-bottom: 0.3rem;
    font-weight: 700;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-navegacion .nav-title {
    font-size: 0.9rem;
    line-height: 1.3;
    word-break: break-word;
    font-weight: 800;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* === CORRECCIÓN ESPECÍFICA PARA BOTONES DESHABILITADOS === */
.btn-navegacion.deshabilitado,
.btn-navegacion[style*="opacity: 0.3"],
.btn-navegacion[style*="cursor: not-allowed"] {
    background: #2d3748 !important; /* Gris azulado oscuro */
    color: #ffffff !important;
    cursor: not-allowed !important;
    border-color: #4a5568 !important;
    opacity: 1 !important; /* ELIMINAR LA OPACIDAD PROBLEMÁTICA */
    box-shadow: none;
}

.btn-navegacion.deshabilitado .nav-label,
.btn-navegacion.deshabilitado .nav-title,
.btn-navegacion[style*="opacity: 0.3"] .nav-label,
.btn-navegacion[style*="opacity: 0.3"] .nav-title,
.btn-navegacion[style*="cursor: not-allowed"] .nav-label,
.btn-navegacion[style*="cursor: not-allowed"] .nav-title {
    opacity: 1 !important;
    color: #e2e8f0 !important; /* Gris claro legible */
    text-shadow: none;
    font-weight: 600;
}

.btn-navegacion.deshabilitado:hover,
.btn-navegacion[style*="opacity: 0.3"]:hover,
.btn-navegacion[style*="cursor: not-allowed"]:hover {
    background: #2d3748 !important;
    transform: none !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
}

/* === SOBRESCRIBIR ESTILOS EN LÍNEA PROBLEMÁTICOS === */
div.btn-navegacion.next[style*="opacity: 0.3"],
div.btn-navegacion.prev[style*="opacity: 0.3"] {
    opacity: 1 !important;
    background: #2d3748 !important;
    border-color: #4a5568 !important;
}

div.btn-navegacion.next[style*="opacity: 0.3"] .nav-label,
div.btn-navegacion.next[style*="opacity: 0.3"] .nav-title,
div.btn-navegacion.prev[style*="opacity: 0.3"] .nav-label,
div.btn-navegacion.prev[style*="opacity: 0.3"] .nav-title {
    opacity: 1 !important;
    color: #e2e8f0 !important;
}

/* === MEJORAS DE CONTRASTE ADICIONALES === */
.noticia-individual .fecha,
.noticia-individual .categoria {
    color: #4a5568 !important; /* Gris más oscuro para mejor contraste */
    font-weight: 600;
}

.noticia-individual .votos {
    color: #2d3748 !important; /* Texto más oscuro */
    font-weight: 700;
}

/* Contraste mejorado para textos secundarios */
.comentario .fecha {
    color: #4a5568 !important; /* Reemplaza el gris claro por uno más oscuro */
}

.comentario-respuesta .fecha {
    color: #2d3748 !important; /* Aún más oscuro para respuestas */
}

/* === Estilo para respuestas del admin === */
.comentario-respuesta {
  background-color: #f8f9ff; /* Fondo ligeramente más oscuro */
  border-left: 4px solid var(--color-secundario);
  padding-left: 1rem;
  margin: 1rem 0;
  border-radius: 0 8px 8px 0;
}

.comentario-respuesta .autor {
  color: #6b46c1; /* Púrpura más oscuro para mejor contraste */
  font-weight: bold;
}

/* === CORRECCIÓN DE CONTRASTE PARA FECHA EN COMENTARIOS === */
.comentario .fecha {
  color: #4a5568 !important; /* Gris más oscuro */
  font-size: 0.9rem;
  margin-left: 0.5rem;
  font-weight: 500;
}

.comentario-respuesta .fecha {
  color: #2d3748 !important; /* Gris aún más oscuro para respuestas */
  font-weight: 600;
}

/* === ESTILOS PARA PANEL DE ADMINISTRACIÓN === */
.admin-panel {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.admin-card {
  background: var(--color-fondo);
  border-radius: var(--radio-bordes);
  box-shadow: var(--sombra);
  padding: 2rem;
  margin-bottom: 2rem;
}

.admin-card h2 {
  color: var(--color-primario);
  font-family: var(--fuente-titulos);
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.admin-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-texto);
}

.admin-form input[type="text"],
.admin-form input[type="password"],
.admin-form input[type="url"],
.admin-form input[type="number"],
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-bordes);
  border-radius: var(--radio-bordes);
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: var(--color-secundario);
  box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.1);
}

.admin-btn {
  background: var(--color-secundario);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radio-bordes);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}

.admin-btn:hover {
  background: #2471a3;
}

.admin-btn-success {
  background: #27ae60;
}

.admin-btn-success:hover {
  background: #219653;
}

.admin-btn-danger {
  background: #e74c3c;
}

.admin-btn-danger:hover {
  background: #c0392b;
}

/* === ESTILOS PARA PLUGINS EN PANEL ADMIN === */
.plugin-item { 
  border: 1px solid var(--color-bordes); 
  border-radius: var(--radio-bordes); 
  padding: 1.5rem; 
  margin-bottom: 1rem; 
  transition: all 0.3s ease;
}

.plugin-item:hover { 
  box-shadow: var(--sombra-hover); 
  transform: translateY(-2px);
}

.plugin-item.activo { 
  border-color: #27ae60; 
  background: #f8fff9;
}

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

.plugin-title { 
  font-size: 1.25rem; 
  font-weight: bold; 
  color: var(--color-primario);
}

.plugin-meta { 
  color: var(--color-texto-secundario); 
  font-size: 0.9rem; 
  margin-bottom: 0.75rem;
}

.plugin-description { 
  color: var(--color-texto); 
  line-height: 1.5;
}

.btn-activar { 
  background: #27ae60; 
  color: white; 
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--radio-bordes);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-activar:hover { 
  background: #219653; 
}

.btn-desactivar { 
  background: #e74c3c; 
  color: white; 
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--radio-bordes);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-desactivar:hover { 
  background: #c0392b; 
}

.badge-activo { 
  background: #27ae60; 
  color: white; 
  padding: 0.25rem 0.5rem; 
  border-radius: 12px; 
  font-size: 0.8rem; 
  font-weight: 600;
}

.badge-inactivo { 
  background: #95a5a6; 
  color: white; 
  padding: 0.25rem 0.5rem; 
  border-radius: 12px; 
  font-size: 0.8rem; 
  font-weight: 600;
}

.plugins-list {
  margin-bottom: 2rem;
}

/* === ESTILOS PARA MENSAJES DEL SISTEMA === */
.mensaje-sistema {
  padding: 1rem 1.5rem;
  border-radius: var(--radio-bordes);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.mensaje-exito {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.mensaje-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.mensaje-advertencia {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

/* === ESTILOS PARA TABLAS EN ADMIN === */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-bordes);
}

.admin-table th {
  background: var(--color-primario);
  color: white;
  font-weight: 600;
}

.admin-table tr:hover {
  background: #f8f9fa;
}

/* === RESPONSIVE PARA ADMIN === */
@media (max-width: 768px) {
  .admin-panel {
    padding: 0 1rem;
  }
  
  .admin-card {
    padding: 1.5rem;
  }
  
  .plugin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .plugin-header form {
    align-self: stretch;
  }
  
  .btn-activar,
  .btn-desactivar {
    width: 100%;
    text-align: center;
  }
}

/* RESPONSIVE PARA NAVEGACIÓN */
@media (max-width: 768px) {
    .btn-navegacion {
        font-size: 0.85rem;
        padding: 0.7rem 0.9rem;
    }
    .btn-navegacion .nav-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .navegacion-noticias {
        flex-direction: column;
        gap: 0.75rem;
    }
    .btn-navegacion {
        max-width: 100% !important;
        align-self: stretch !important;
        text-align: center !important;
        align-items: center !important;
        font-size: 0.85rem;
        padding: 0.9rem 0.75rem;
    }
    .btn-navegacion.next {
        text-align: center !important;
        align-items: center !important;
    }
}

/* === ESTILOS PARA CHECKBOX Y RADIO MEJORADOS === */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.checkbox-item input[type="checkbox"],
.checkbox-item input[type="radio"] {
  width: auto;
  margin: 0;
}

.checkbox-item label {
  margin: 0;
  font-weight: 500;
}

/* === ESTILOS PARA CONTADORES DE CARACTERES === */
.contador-caracteres {
  font-size: 0.85rem;
  color: var(--color-texto-secundario);
  text-align: right;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.contador-caracteres.alerta {
  color: #e74c3c;
  font-weight: 600;
}

/* === ESTILOS PARA PESTAÑAS/TABS EN ADMIN === */
.admin-tabs {
  display: flex;
  border-bottom: 2px solid var(--color-bordes);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.admin-tab {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-texto-secundario);
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.admin-tab:hover {
  color: var(--color-primario);
}

.admin-tab.activo {
  color: var(--color-secundario);
  border-bottom-color: var(--color-secundario);
}

.tab-contenido {
  display: none;
}

.tab-contenido.activo {
  display: block;
}

/* === MARCA DE AGUA PERSONALIZADA === */
.watermark-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    text-align: center;
    z-index: 10;
    pointer-events: none;
    opacity: 0.8;
}

.watermark-text {
    display: inline-block;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: pulse-watermark 3s ease-in-out infinite;
}

@keyframes pulse-watermark {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.02); }
}

.watermark-logo {
    max-height: 30px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Responsive para diferentes tamaños */
@media (max-width: 768px) {
    .watermark-text {
        font-size: 12px;
        padding: 6px 12px;
    }
    .watermark-logo {
        max-height: 24px;
    }
}

@media (max-width: 480px) {
    .watermark-text {
        font-size: 11px;
        padding: 5px 10px;
    }
    .watermark-logo {
        max-height: 20px;
        margin-right: 6px;
    }
}