    /* Caja inicio #nombre-box: estilos en assets/nb-tests-shared.css (.nb-test-ui) */

    #tt_nombreUsuario {
        width:100%;
        padding:12px;
        border-radius:8px;
        border:1px solid #ddd;
      }
    
      #tt_cedulaUsuario {
        width:100%;
        padding:12px;
        border-radius:8px;
        border:1px solid #ddd;
      }

    /* #quiz: layout unificado */

    .tt-progress-wrap {
        display: grid;
        gap: 0.5rem;
    }

    .tt-progress-bar {
        width: 100%;
        height: 10px;
        background: #ece7f6;
        border-radius: 999px;
        overflow: hidden;
    }

    .tt-progress-bar__fill {
        height: 100%;
        background: linear-gradient(90deg, #2c1a46 0%, #ff0081 100%);
        transition: width 0.2s ease;
    }

    .tt-progress {
        text-align: right;
        font-size: 0.9rem;
        font-weight: 600;
        color: #2c1a46;
    }

    .tt-form {
        margin-top: 1.5rem;
    }

    .tt-questions {
        max-width: 760px;
        margin: 0 auto;
    }

    .tt-question__title {
        margin: 0 0 1.25rem;
        font-size: 1.15rem;
        line-height: 1.6;
        color: #040037;
        text-align: left;
    }

    .tt-options {
        display: grid;
        gap: 0.85rem;
    }

    #tt-result p {
        margin: 0 !important;
    }

    .tt-option {
        padding: 14px 16px;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: 0.15s ease;
        user-select: none;
        background: #fff;
    }

    .tt-option:hover {
        border-color: #ff0081;
        box-shadow: 0 0 0 3px rgba(255, 0, 129, 0.1);
    }

    .tt-option.is-selected {
        border-color: #2c1a46;
        background: #f8f5ff;
        box-shadow: 0 0 0 3px rgba(44, 26, 70, 0.1);
    }

    .tt-option input[type="radio"] {
        transform: scale(1.2);
        accent-color: #2563eb;
    }

    .tt-actions {
        display: flex;
        justify-content: flex-end;
        margin-top: 1.5rem;
    }

    #tt_btnEnviar {
        border: none;
        border-radius: 8px;
        padding: 0.75rem 1.25rem;
        background: #2c1a46;
        color: #fff;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.15s ease, opacity 0.15s ease;
    }

    #tt_btnEnviar:hover {
        background: #3d2560;
    }

    #tt_btnEnviar:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    td{
        vertical-align: middle !important;
    }

    #tt-result {
        display: none;
    }

    /* Smartphones pequeños (≤ 767px) */
    @media (max-width: 767px) {

        #tt-result,
        #tt-quiz,
        #tt-nombre-box {
            max-width: 100%;
        }

        .tt-actions {
            justify-content: stretch;
        }

        #tt_btnEnviar {
            width: 100%;
        }
    }

    @media print {
        #btnImprimir {
            display: none;
        }
    }