/* LightingPort-style quiz boxes */
.lp-quiz-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f4f6f8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.lp-quiz-wrapper.results-active {
    background: #fff;
    min-height: auto;
}

.lp-quiz-wrapper.results-active #resultsPage {
    display: block !important;
    width: 100%;
}

.lp-quiz-topbar {
    padding: 28px 48px 0;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.lp-quiz-logo {
    font-size: 1.625rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.03em;
    line-height: 1;
}

.lp-quiz-logo-a {
    color: #1a3342;
}

.lp-quiz-logo-b {
    color: #2f6fed;
}

.lp-quiz-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px 56px;
    width: 100%;
    box-sizing: border-box;
}

.lp-quiz-container {
    width: 100%;
    max-width: 920px;
}

.lp-quiz-step {
    display: none;
    width: 100%;
    text-align: center;
}

.lp-quiz-step.active {
    display: block;
    animation: lpQuizFade 0.3s ease;
}

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

.lp-quiz-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f3d52;
    margin: 0 0 12px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.lp-quiz-sub {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #5a8a9c;
    margin: 0 0 52px;
    line-height: 1.5;
}

.lp-quiz-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    margin: 0 auto;
}

.lp-quiz-card {
    position: relative;
    width: 200px;
    min-height: 228px;
    background: #fff;
    border: 1px solid #e3e8ec;
    border-radius: 10px;
    padding: 18px 14px 22px;
    cursor: pointer;
    box-shadow: none;
    transition: border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.lp-quiz-card:hover {
    border-color: #b8c9d4;
}

.lp-quiz-card.selected {
    border-color: #2f6fed;
}

.lp-quiz-radio {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 16px;
    height: 16px;
    border: 1.5px solid #c5d0d8;
    border-radius: 50%;
    background: #fff;
    pointer-events: none;
}

.lp-quiz-card.selected .lp-quiz-radio {
    border-color: #2f6fed;
    box-shadow: inset 0 0 0 3px #2f6fed;
}

.lp-quiz-card-icon {
    flex: 1;
    width: 72px;
    height: 72px;
    color: #2f6fed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

.lp-quiz-card-icon svg {
    width: 100%;
    height: 100%;
}

.lp-quiz-card-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f3d52;
    line-height: 1.35;
    margin-top: auto;
    padding-top: 12px;
    text-align: center;
}

.lp-quiz-skip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    color: #5a8a9c;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}

.lp-quiz-skip:hover {
    color: #2f6fed;
}

.lp-quiz-skip-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1px solid #c5d0d8;
    border-radius: 50%;
    font-size: 0.7rem;
    line-height: 1;
    color: #5a8a9c;
}

.lp-quiz-btn-container,
.lp-trust-badges,
.lp-progress-bar {
    display: none !important;
}

.lp-quiz-legal {
    text-align: center;
    padding: 28px 24px 32px;
    font-size: 0.625rem;
    color: #9aa8b3;
    line-height: 1.7;
    margin-top: auto;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.lp-quiz-legal-line2 {
    display: block;
    margin-top: 4px;
}

@media (max-width: 900px) {
    .lp-quiz-cards {
        gap: 16px;
    }

    .lp-quiz-card {
        width: calc(50% - 8px);
        max-width: 200px;
        min-height: 210px;
    }
}

@media (max-width: 480px) {
    .lp-quiz-topbar {
        padding: 20px 20px 0;
    }

    .lp-quiz-heading {
        font-size: 1.45rem;
    }

    .lp-quiz-sub {
        margin-bottom: 36px;
    }

    .lp-quiz-card {
        width: 100%;
        max-width: 280px;
        min-height: 200px;
    }
}
