.quiz-container {
    background: #FFFFFF;
    border-radius: 16px;
    max-width: 640px;
    width: 100%;
    box-shadow: 0 4px 24px rgba(16, 36, 61, 0.08);
    overflow: hidden;
}

/* Header */
.quiz-header {
    background: #10243d;
    padding: 32px 40px 28px;
    text-align: center;
}
.quiz-header h1 {
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 6px;
}
.quiz-header p {
    color: #CCD3DC;
    font-size: 16px;
    font-weight: 400;
}

/* Progress bar */
.progress-wrapper {
    padding: 0 40px;
    margin-top: 28px;
}
.progress-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.progress-meta span {
    font-size: 12px;
    font-weight: 600;
    color: #CCD3DC;
}
.progress-track {
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: #CCD3DC;
    border-radius: 4px;
    transition: width 0.4s ease;
    width: 12.5%;
}

/* Body */
.quiz-body {
    padding: 36px 40px 40px;
}

/* Steps */
.step { display: none; }
.step.active { display: block; }

.step-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #CCD3DC;
    margin-bottom: 8px;
}
.step h2 {
    font-size: 20px;
    font-weight: 600;
    color: #10243D;
    margin-bottom: 24px;
    line-height: 1.3;
    font-family: var(--Family-Body);
}
.step p.desc {
    font-size: 14px;
    color: #6B7A8D;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Radio cards */
.radio-group { display: flex; flex-direction: column; gap: 10px; }
.radio-card {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border: 2px solid #E8EEF2;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}
.radio-card:hover { border-color: #CCD3DC; background: #f8fafb; }
.radio-card.selected { border-color: #10243D; background: #E8EEF2; }
.radio-card input { display: none; }
.radio-dot {
    width: 20px;
    height: 20px;
    border: 2px solid #CCD3DC;
    border-radius: 50%;
    margin-right: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.radio-card.selected .radio-dot {
    border-color: #10243D;
}
.radio-card.selected .radio-dot::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #10243D;
    border-radius: 50%;
}
.radio-label {
    font-size: 16px;
    font-weight: 500;
    color: #10243D;
}

/* Checkbox cards */
.checkbox-group { display: flex; flex-direction: column; gap: 10px; }
.checkbox-card {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border: 2px solid #E8EEF2;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.checkbox-card:hover { border-color: #CCD3DC; background: #f8fafb; }
.checkbox-card.selected { border-color: #10243D; background: #E8EEF2; }
.checkbox-card input { display: none; }
.check-box {
    width: 20px;
    height: 20px;
    border: 2px solid #CCD3DC;
    border-radius: 5px;
    margin-right: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.checkbox-card.selected .check-box {
    border-color: #10243D;
    background: #10243D;
}
.checkbox-card.selected .check-box::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

/* Form fields */
.form-row {
    margin-bottom: 18px;
}
.form-row label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #10243D;
    margin-bottom: 6px;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="number"],
.form-row select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E8EEF2;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #10243D;
    background: #FFFFFF;
    transition: border-color 0.2s;
    outline: none;
}
.form-row input:focus,
.form-row select:focus {
    border-color: #10243D;
}
.form-row input::placeholder { color: #CCD3DC; }
.form-row .optional {
    font-weight: 400;
    color: #CCD3DC;
    font-size: 12px;
    margin-left: 4px;
}

/* Number stepper */
.number-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.number-row label {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: #10243D;
}
.number-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid #E8EEF2;
    border-radius: 8px;
    overflow: hidden;
}
.number-stepper button {
    width: 40px;
    height: 40px;
    border: none;
    background: #E8EEF2;
    color: #10243D;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}
.number-stepper button:hover { background: #CCD3DC; }
.number-stepper .num-val {
    width: 48px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #10243D;
    border: none;
    background: #FFFFFF;
    font-family: 'Inter', sans-serif;
}

/* Conditional fields */
.conditional { display: none; margin-top: 12px; }
.conditional.visible { display: block; }

/* Disclaimer box */
.disclaimer {
    background: #E8EEF2;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.6;
    color: #10243D;
}

/* Buttons */
.btn-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}
.btn-back {
    padding: 12px 24px;
    border: 2px solid #E8EEF2;
    border-radius: 10px;
    background: #FFFFFF;
    color: #10243D;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-back:hover { border-color: #CCD3DC; background: #f8fafb; }
.btn-next, .btn-submit {
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    background: #10243D;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: auto;
}
.btn-next:hover, .btn-submit:hover { background: #1a3a5c; }
.btn-next:disabled, .btn-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Validation error */
.error-msg {
    color: #dc2626;
    font-size: 12px;
    font-weight: 500;
    margin-top: 8px;
    display: none;
}
.error-msg.show { display: block; }

/* Results screen */
.result-screen { display: none; }
.result-screen.active { display: block; }

.result-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
}
.result-icon.success { background: #dcfce7; }
.result-icon.review { background: #fef3c7; }
.result-icon.borderline { background: #E8EEF2; }

.result-screen h2 {
    font-size: 32px;
    font-weight: 700;
    color: #10243D;
    text-align: center;
    margin-bottom: 8px;
}
.result-screen .result-subtitle {
    font-size: 14px;
    color: #6B7A8D;
    text-align: center;
    margin-bottom: 28px;
}

.result-card {
    background: #E8EEF2;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}
.result-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #10243D;
    margin-bottom: 12px;
}
.result-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #10243D;
}
.result-card .price {
    font-size: 28px;
    font-weight: 700;
    color: #10243D;
    margin: 8px 0 4px;
}
.result-card .price-note {
    font-size: 13px;
    color: #6B7A8D;
}

.result-cta {
    display: block;
    width: 100%;
    padding: 16px;
    background: #10243D;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
    margin-top: 8px;
}
.result-cta:hover { background: #1a3a5c; }

.result-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #CCD3DC;
}

/* Responsive */
@media (max-width: 520px) {
    .quiz-header { padding: 24px 24px 20px; }
    .quiz-header h1 { font-size: 19px; }
    .progress-wrapper { padding: 0 24px; }
    .quiz-body { padding: 28px 24px 32px; }
}

.quiz-container{
    margin: 72px auto;
}
.quiz-header h1{
    font-size: 28px;
    font-weight: 400;
}

.result-card h3{
    font-family: var(--Family-Body);
    font-size: 18px;
    font-weight: 600;
}

.quiz-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    z-index: 50;
    border-radius: inherit;
}
.quiz-loading-overlay.active { display: flex; }
.quiz-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #E1E6EC;
    border-top-color: #10243D;
    border-radius: 50%;
    animation: quiz-spin 0.8s linear infinite;
}
.quiz-loading-text {
    font-size: 14px;
    color: #10243D;
    font-weight: 600;
}
@keyframes quiz-spin { to { transform: rotate(360deg); } }

@media(max-width: 767px){
    .quiz-container{
        margin: 40px auto;
    }
}