@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --tests-bg-header: #223455;
    --tests-primary: #3b82f6;
    --tests-success: #10b981;
    --tests-gray-bg: #f8fafc;
    --tests-text-main: #1e293b;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: white;
}

/* ============================================
   CONTENEDOR PRINCIPAL (INSTRUCTIONS Y TEST)
   ============================================ */
.iniciar-test-container {
    min-height: calc(100vh - 150px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 40px;
}

/* HEADER A TODO ANCHO */
.tests-full-header {
    background-color: var(--tests-bg-header);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    flex-shrink: 0;
}

.tests-full-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
}

.tests-header-nav {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.tests-header-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.tests-header-nav span {
    margin: 0 0.5rem;
    opacity: 0.5;
}

/* ============================================
   BARRA DE ACCIÓN (Info + Timer/Botón)
   ============================================ */
.tests-action-bar {
    padding: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 300px;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
}

.tests-status-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--tests-gray-bg);
    border-radius: 8px;
}

.tests-status-info i {
    font-size: 1.5rem;
}

.tests-status-info strong {
    display: block;
    font-size: 1rem;
    color: var(--tests-text-main);
}

.tests-status-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

/* Timer Box */
.tests-timer-box {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    text-align: center;
    border-radius: 4px;
}

.timer-display {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--tests-text-main);
    margin-bottom: 0.5rem;
}

.timer-display.text-success { color: #10b981 !important; }
.timer-display.text-warning { color: #f59e0b !important; }
.timer-display.text-danger { color: #ef4444 !important; }

/* Botón Rectangular Verde */
.tests-btn-start {
    background-color: var(--tests-success);
    color: white;
    border: none;
    padding: 1.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    border-radius: 4px;
}

.tests-btn-start:hover {
    background-color: #059669;
}

/* ============================================
   REJILLA DE ESTADÍSTICAS (INSTRUCTIONS)
   ============================================ */
.tests-grid-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.tests-box {
    background: white;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
}

.tests-box i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.tests-box .h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: var(--tests-text-main);
}

.tests-box small {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}

.tests-seo-widgets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

.tests-seo-widget {
    background: white;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.tests-seo-widget-kicker {
    display: block;
    color: var(--tests-primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.tests-seo-widget h2 {
    color: var(--tests-text-main);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 0.75rem;
}

.tests-seo-widget p,
.tests-seo-widget li {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.tests-seo-widget p {
    margin: 0;
}

.tests-seo-widget ul {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding-left: 1.15rem;
}

/* ============================================
   BOX DE PREGUNTA Y RESPUESTAS (TEST.PHP)
   ============================================ */
.tests-question-box {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    margin: 0 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.question-header {
    display: flex;
    justify-content: flex-end; /* Alinear solo el botón de reportar a la derecha */
    align-items: center;
    margin-bottom: 1.5rem;
}

/* OCULTAR el badge de número de pregunta dentro del box */
.question-header .badge {
    display: none;
}

.question-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--tests-text-main);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Grid de respuestas */
.answers-grid-test {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: auto;
}

.answer-option {
    position: relative;
}

.answer-label {
    display: block;
    padding: 1rem 1.25rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    color: var(--tests-text-main);
    text-align: left;
}

.answer-label:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.btn-check:checked + .answer-label {
    background-color: #eff6ff !important;
    border-color: #3b82f6 !important;
    color: #1e40af !important;
    font-weight: 600;
}

/* Ajuste del formulario para que ocupe espacio disponible */
.iniciar-test-container form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.question-slide {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ============================================
   LISTADO DE TESTS
   ============================================ */
.tests-list-container {
    background-color: #fff;
    min-height: 100vh;
}

.tests-theme-header {
    background-color: #223455;
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    margin-bottom: 2rem;
}

.tests-theme-nav {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.75rem;
}

.tests-theme-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.tests-theme-nav span {
    margin: 0 0.5rem;
    opacity: 0.5;
}

.tests-subtheme-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #223455;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tests-items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.tests-card-item {
    background: white;
    border: 1px solid #223455;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    position: relative;
}

.tests-card-item:hover {
    border-color: #198754;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.tests-card-item .badge-order {
    font-size: 0.7rem;
    font-weight: 700;
    color: #223455;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tests-card-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0.75rem 0 1.25rem 0;
    line-height: 1.4;
}

.tests-btn-action {
    display: inline-block;
    padding: 0.25rem 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 4px;
    background-color: #223455;
    color: #ffffff !important;
    border: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
    text-align: center;
    text-transform: none;
    text-decoration: none !important;
}

.tests-btn-action:hover {
    background-color: #198754;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.tests-item-card .tests-btn-action {
    align-self: flex-start;
    margin-top: 5px;
}

.tests-status-free {
    color: #198754 !important;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.tests-status-free i {
    font-size: 0.65rem;
}

.tests-info-box-styled {
    align-items: flex-start;
    text-align: left;
    justify-content: center;
    padding: 1.5rem !important;
}

.tests-list-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1rem 3rem 1rem !important;
}

/* Contenedor del botón en la barra de acción */
.tests-button-container {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tests-button-container .tests-btn-start {
    margin: 0;
    border-radius: 0;
    height: 100%; /* Ocupa toda la altura del box */
    display: flex;
    align-items: center;
    justify-content: center;
}

.tests-button-container .button-template {
    display: block !important;
    width: 100%;
    height: 100%;
}

/* Barra de acción con 3 boxes */
.tests-action-bar-three {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: stretch;
    gap: 1.5rem;
    flex-shrink: 0;
}

/* Box de número de pregunta */
.tests-question-number-box {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    text-align: center;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.question-number-display {
    font-size: 2rem;
    font-weight: 800;
    color: var(--tests-text-main);
    margin-bottom: 0.5rem;
}

/* ============================================
   RESPONSIVE MÓVIL
   ============================================ */
@media (max-width: 768px) {
    /* Contenedor principal */
    .iniciar-test-container {
        min-height: 100vh;
        height: auto;
        overflow: visible;
        padding-bottom: 20px;
    }

    /* Header */
    .tests-full-header {
        padding: 0.8rem 1rem;
    }

    .tests-full-header h1 {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }

    .tests-header-nav {
        font-size: 0.75rem;
        margin-top: 3px;
    }

    .tests-header-nav span {
        margin: 0 4px;
    }

    /* Barra de acción */
    .tests-action-bar {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .tests-status-info {
        order: 2;
    }

    /* Botón */
    .tests-btn-start {
        margin: 0 0.5rem;
    }

    /* Grid de estadísticas (Instructions) */
    .tests-grid-stats {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        padding: 1rem;
    }

    .tests-box {
        margin-bottom: 0.5rem;
    }

    .tests-seo-widgets {
        grid-template-columns: 1fr;
        padding: 0 1rem 1.5rem;
    }

    .tests-seo-widget {
        padding: 1.15rem;
    }

   .iniciar-test-container form {
        padding: 0 0.5rem 1rem 0.5rem !important;
        max-width: none !important;
    }

    /* Box de pregunta */
    .tests-question-box {
        padding: 0.5rem 1rem 1rem !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: none !important;
		flex: 0 1 auto !important; /* Evita que la caja se estire hacia abajo */
        display: block !important;
    }

    .question-header {
        margin-bottom: 0.75rem; /* Menos margen */
    }

    .question-text {
        font-size: 0.95rem; /* Texto más pequeño */
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .answers-grid-test {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .answer-label {
        padding: 0.65rem 0.85rem; /* Padding más pequeño */
        font-size: 0.85rem; /* Texto más pequeño */
    }

    /* Listado */
    .tests-items-grid {
        grid-template-columns: 1fr;
    }

    .tests-theme-header {
        padding: 2rem 1rem;
        margin-bottom: 0 !important;
    }

    .tests-list-wrapper {
        padding-top: 0 !important;
		padding-bottom: 6rem;
    }

    .tests-info-box-styled {
        background-color: #f8fafc !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        border-top: none !important;
        margin-bottom: 1rem !important;
        padding: 1.25rem !important;
        font-size: 0.85rem !important;
        align-items: center;
        text-align: center;
    }

    .tests-info-box-styled p {
        font-size: 0.7rem !important;
    }

    /* MÓVIL: 3 boxes en 3 columnas - ORDEN CORRECTO */
    .tests-action-bar-three {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 0.5rem;
    }

    /* Posición 1: Número de pregunta */
    .tests-question-number-box {
        padding: 0.75rem;
        order: 1;
    }

    /* Posición 2: Timer (centro) */
    .tests-timer-box {
        padding: 0.75rem;
        order: 2;
    }

    /* Posición 3: Botón (derecha) */
    .tests-button-container {
        padding: 0;
        order: 3;
    }

    .question-number-display {
        font-size: 1.25rem;
    }

    .timer-display {
        font-size: 1.5rem;
    }

    .tests-timer-box i,
    .tests-question-number-box i {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .tests-timer-box small,
    .tests-question-number-box small {
        font-size: 0.65rem;
    }

    /* Botón en móvil: icono grande + texto pequeño */
    .tests-btn-start {
        font-size: 0;
        padding: 0.5rem;
        letter-spacing: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
    }

    .tests-btn-start i {
        font-size: 1.5rem;
        margin: 0;
    }

    .tests-btn-start::after {
        content: 'Siguiente';
        font-size: 0.65rem;
        font-weight: 600;
        color: white;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 992px) {
    .tests-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ============================================
   BARRA INFERIOR (Sesión + Impugnar)
   ============================================ */
.tests-bottom-bar {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
	padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

.tests-status-info-compact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--tests-gray-bg);
    border-radius: 4px;
}

.tests-status-info-compact i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.tests-status-info-compact strong {
    display: block;
    font-size: 0.85rem;
    color: var(--tests-text-main);
    font-weight: 600;
}

.tests-status-info-compact p {
    margin: 0;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.3;
}

.tests-impugnar-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0.75rem;
}

.tests-impugnar-box button {
    font-size: 0.85rem;
    color: #64748b;
    transition: color 0.2s;
}

.tests-impugnar-box button:hover {
    color: var(--tests-text-main);
}

.tests-impugnar-box button i {
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    /* Mantener las 2 columnas en móvil para la barra inferior */
    .tests-bottom-bar {
        grid-template-columns: 60% 40% !important;
        gap: 0.5rem !important;
        margin-top: 0.45rem !important;
    }

    .tests-status-info-compact {
        padding: 0.6rem 0.75rem !important;
    }

    .tests-status-info-compact i {
        font-size: 1rem !important;
    }

    .tests-status-info-compact strong {
        font-size: 0.75rem !important;
    }

    .tests-status-info-compact p {
        font-size: 0.65rem !important;
    }

    .tests-impugnar-box {
        padding: 0.6rem !important;
    }

    .tests-impugnar-box button {
        font-size: 0.75rem !important;
    }
}
/* ============================================
    ESTILOS EXCLUSIVOS LISTADO (list.php) - COMPACTO
   ============================================ */

.list-subthemes-grid {
    display: grid;
    gap: 1rem; /* Reducido para ganar espacio */
    width: 100%;
    /* Asegura que el grid no se salga del contenedor padre */
    box-sizing: border-box; 
}

/* Columnas dinámicas con minmax para evitar desbordes */
.list-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.list-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.list-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Card más compacta */
.list-subtheme-card {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 1rem !important; /* Reducido de 1.5rem */
    background: #ffffff;
    transition: transform 0.2s ease;
    min-width: 0; /* Vital para que el texto hijo pueda truncarse */
}

.list-subtheme-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
}

.list-subtheme-header-title {
    font-size: 0.8rem; /* Más pequeño */
    font-weight: 700;
    color: #223455;
    width: 100%;
    margin-bottom: 0.75rem; /* Menos margen */
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Contenedor de tests */
.list-subtheme-items-container {
    display: flex;
    flex-direction: column;
    gap: 0.35rem; /* Más apretado */
    width: 100%;
}

.list-test-row-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0.6rem; /* Mucho más compacto */
    background: #f8fafc;
    border: 1px solid #eef2f6;
    text-decoration: none !important;
    transition: all 0.2s ease;
    min-width: 0;
}

.list-test-row-link:hover {
    background: #ffffff;
    border-color: #10b981;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.list-test-prefix {
    font-size: 0.55rem;
    font-weight: 800;
    background: #e2e8f0;
    color: #64748b;
    padding: 1px 4px;
    margin-right: 6px;
    border-radius: 2px;
    flex-shrink: 0;
}

.list-test-name-text {
    font-size: 0.75rem; /* Un pelín más pequeño */
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1; /* Ocupa el espacio central */
}

.list-test-name-text em {
    font-style: normal;
    font-weight: 500;
    opacity: 0.8;
}

.list-test-icons {
    flex-shrink: 0;
    margin-left: 5px;
    font-size: 0.8rem;
}

.list-score-mini {
    font-size: 0.6rem;
    font-weight: 800;
    color: #ef4444;
}

.list-test-row-link.is-locked {
    background: #f1f5f9;
    opacity: 0.7;
}

/* Responsivo para el grid */
@media (max-width: 1200px) {
    .list-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
    .list-grid-3, .list-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .list-subthemes-grid { grid-template-columns: 1fr !important; }
}
/* Ocultar el contenedor del botón de verificación de Google en móviles */
@media (max-width: 768px) {
    .ft-bottom-button-holder {
        display: none !important;
    }
}
/* Contenedor principal */
.testheader-action-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Columnas */
.testheader-col {
    display: flex;
}

/* Cajas base */
.testheader-box {
    width: 100%;
    min-height: 100px;
    padding: 1rem;
    background: white;
    border: 1px solid #223455;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Caja de información/progreso */
.testheader-info-box {
    align-items: flex-start;
}

/* Contenido para invitados */
.testheader-guest-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.testheader-icon {
    color: #0d6efd;
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.testheader-text {
    text-align: left;
}

.testheader-message {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
}

.testheader-link {
    color: #0d6efd;
    font-weight: 700;
    text-decoration: none;
}

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

/* Progreso para usuarios registrados */
.testheader-progress-wrapper {
    width: 100%;
}

.testheader-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.testheader-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6c757d;
}

.testheader-counter {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0d6efd;
}

.testheader-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.testheader-progress-fill {
    height: 100%;
    background-color: #0d6efd;
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* Estado Windows */
.testheader-status-box,
.testheader-grade-box {
    padding: 1.5rem 1rem;
}

.testheader-label-small {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 0.5rem;
    display: block;
}

.testheader-windows-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.testheader-windows-icon {
    color: #0078d4;
    font-size: 1.2rem;
}

.testheader-windows-text {
    font-weight: 700;
    color: #223455;
    font-size: 0.9rem;
}

/* Nota media */
.testheader-grade-value {
    font-size: 2rem;
    font-weight: 700;
    color: #223455;
    margin: 0;
}

/* Responsive: 3 columnas en tablets y PC */
@media (min-width: 768px) {
    .testheader-action-bar {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Opcional: Ajuste para pantallas muy pequeñas */
@media (max-width: 576px) {
    .testheader-box {
        min-height: 90px;
        padding: 0.875rem;
    }
    
    .testheader-guest-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .testheader-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .testheader-text {
        text-align: center;
    }
}
@media (max-width: 767px) {
    .testheader-action-bar {
        margin-top: 1.5rem; /* o padding-top: 1.5rem; */
    }
}

#mys-wrapper {
    padding-bottom: 100px;
