body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* BARRA SUPERIOR DE NAVEGACIÓN NOSCE™ */
.test-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0f172a;
    padding: 12px 24px;
    color: #f8fafc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.test-navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-title {
    color: #38bdf8;
    font-weight: 700;
    font-size: 1.1rem;
}

.brand-sub {
    color: #94a3b8;
    font-size: 0.85rem;
}

.btn-return-hub {
    display: inline-flex;
    align-items: center;
    background-color: #0284c7;
    color: #ffffff !important;
    border: 1px solid #38bdf8;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-return-hub:hover {
    background-color: #0369a1;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

main {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

header {
    text-align: center;
    padding: 20px;
}

h1 {
    color: #0f172a;
    font-weight: 700;
}

.subtitulo {
    color: #ff5733; 
    font-weight: 700;
}

.instrucciones {
    background-color: #ffe8e1;
    border: 1px solid #ff5733;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
    text-align: left;
}

.instrucciones h2 {
    color: #a02000;
    margin-top: 0;
}

.advertencia-p1 {
    font-weight: 700;
    color: #ff5733; 
    font-size: 1.1em; 
    margin: 20px 0;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
}

.bloque-informativo {
    text-align: left;
    margin-bottom: 30px;
    padding: 15px 20px;
    background-color: #f0f0f5;
    border-left: 5px solid #ff5733;
    border-radius: 4px;
}

.bloque-informativo h3 {
    color: #a02000;
    margin-top: 15px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
}

.bloque-informativo ul {
    list-style-type: disc;
    padding-left: 25px;
}

.pregunta {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f9f9f9;
    border-left: 5px solid #ff5733;
    border-radius: 4px;
    text-align: left;
}

.titulo-pregunta {
    font-weight: 700;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
}

.opciones label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.opciones label:hover {
    background-color: #e9e9e9;
}

input[type="checkbox"], input[type="radio"] {
    margin-right: 10px;
    accent-color: #ff5733; 
}

.boton-container {
    text-align: center;
    margin-top: 30px;
}

button {
    background-color: #ff5733;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

.hidden { display: none !important; }

.pdf-reporte-contenedor {
    background-color: #ffffff;
    padding: 10px;
    box-sizing: border-box;
}

.reporte-titulo-pdf {
    font-size: 1.6em;
    font-weight: 900;
    color: #111;
    margin: 0 0 15px 0;
    border-bottom: 2px solid #111;
    padding-bottom: 4px;
    text-transform: uppercase;
    text-align: left;
}

.score-resumen-caja {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.score-item-unico { display: inline-block; }
.score-label { display: block; font-size: 0.85em; font-weight: 700; color: #555; }
.score-numero { font-size: 2.4em; font-weight: 900; color: #ff5733; }

.grafico-general-emprendimiento {
    width: 100%;
    max-width: 250px; 
    height: 230px; 
    margin: 0 auto 20px auto;
}

.grafico-rasgos-container {
    width: 100%;
    max-width: 780px; 
    height: 380px; 
    margin: 0 auto;
}

.interpretacion-general-bloque {
    text-align: left; 
    padding: 20px;
    margin-bottom: 25px; 
    border-radius: 8px;
}

.rojo-fondo h2 { color: #FFFFFF !important; }
.amarillo-fondo h2, .verde-suave-fondo h2, .verde-intenso-fondo h2 { color: #333333 !important; }

.rojo-fondo { background-color: #FF4136; color: #FFFFFF; }
.amarillo-fondo { background-color: #FFDC00; color: #333333; }
.verde-suave-fondo { background-color: #BEE3B8; color: #333333; }
.verde-intenso-fondo { background-color: #2ECC40; color: #333333; }

#interpretacion-detallada {
    text-align: left;
    margin-top: 20px;
}

.rasgo-interpretacion-bloque {
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 0.95em;
}

.pdf-pagina-bloque {
    box-sizing: border-box;
    width: 100%;
}

.break-seccion-hoja {
    page-break-before: always !important;
    break-before: page !important;
    margin-top: 0 !important;
    padding-top: 15px !important;
}

.score-resumen-caja, .grafico-general-emprendimiento, .grafico-rasgos-container, .interpretacion-general-bloque, .rasgo-interpretacion-bloque {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

.boton-container-final {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.btn-finalizar { background-color: #6c757d; color: white; border: none; padding: 12px 30px; font-weight: bold; border-radius: 50px; cursor: pointer; }
.btn-descargar-pdf { background-color: #dc3545; color: white; border: none; padding: 12px 30px; font-weight: bold; border-radius: 50px; cursor: pointer; }

footer {
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
    border-top: 1px solid #ddd;
    font-size: 0.85em;
    color: #888;
}

@media print {
    .test-navbar {
        display: none !important;
    }
}