/* Navegación al Inicio */
.breadcrumb-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.nav-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color, #2d3748);
    border-radius: 20px;
    color: var(--text-secondary, #a0aec0);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-home-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary, #ffffff);
    border-color: #ff8c00;
}

/* Layout del contenedor principal */
.wizard-card {
    background-color: var(--card-bg, #1a202c);
    border: 1px solid var(--border-color, #2d3748);
    border-radius: 12px;
    padding: 2rem;
    max-width: 680px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Header compacto interno */
.wizard-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.wizard-main-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary, #ffffff);
    margin: 0 0 0.25rem 0;
}

.wizard-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary, #a0aec0);
    margin: 0;
}

/* Banner de aviso legal */
.disclaimer-banner {
    background-color: rgba(229, 62, 62, 0.08);
    border-left: 4px solid #e53e3e;
    padding: 0.85rem 1rem;
    border-radius: 0 6px 6px 0;
    margin-bottom: 1.5rem;
}

.disclaimer-banner p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-secondary, #cbd5e0);
}

.disclaimer-banner strong {
    color: #e53e3e;
}

/* Barra de progreso */
.progress-container {
    margin-bottom: 1.75rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary, #a0aec0);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff8c00, #e53e3e);
    transition: width 0.35s ease;
}

/* Transición entre pasos */
.step-pane {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.step-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.q-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    margin-top: 0;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

/* Tarjetas de opciones */
.options-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.quiz-option {
    display: flex;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border-color, #2d3748);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quiz-option:hover {
    border-color: #ff8c00;
    background-color: rgba(255, 140, 0, 0.05);
}

.quiz-option input[type="radio"] {
    margin-top: 0.25rem;
    margin-right: 1rem;
    accent-color: #e53e3e;
    transform: scale(1.2);
    cursor: pointer;
}

.quiz-option.selected {
    border-color: #e53e3e;
    background-color: rgba(229, 62, 62, 0.1);
}

.option-content {
    display: flex;
    flex-direction: column;
}

.option-content strong {
    color: var(--text-primary, #ffffff);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.option-content span {
    color: var(--text-secondary, #a0aec0);
    font-size: 0.82rem;
}

/* Botones de acción */
.wizard-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color, #2d3748);
}

.btn-nav {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary {
    background-color: #e53e3e;
    color: #ffffff;
    margin-left: auto;
}

.btn-primary:hover {
    background-color: #c53030;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-secondary, #a0aec0);
    border: 1px solid var(--border-color, #2d3748);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

/* Pantalla de Resultados */
.result-card {
    text-align: center;
    animation: fadeIn 0.4s ease-out;
}

.result-badge-wrapper {
    margin-bottom: 1rem;
}

.result-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    background-color: #e53e3e;
    color: #ffffff;
}

.result-score {
    font-size: 1.35rem;
    color: var(--text-primary, #ffffff);
    margin-bottom: 1.5rem;
}

.gauge-bar-bg {
    width: 100%;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.gauge-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #38a169 0%, #ecc94b 40%, #dd6b20 70%, #e53e3e 100%);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gauge-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary, #a0aec0);
    margin-bottom: 1.5rem;
}

.result-description {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color, #2d3748);
    padding: 1.25rem;
    border-radius: 8px;
    text-align: left;
    color: var(--text-secondary, #cbd5e0);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.btn-restart {
    background-color: #2b6cb0;
    color: #ffffff;
    width: 100%;
}

.btn-restart:hover {
    background-color: #2c5282;
}