/* ================================================================
   BOOSTER COMPLIANCE QUIZ — FRONTEND
   ================================================================ */

.bcq-wrap {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
    color: #1a202c;
    line-height: 1.6;
}

.bcq-wrap * { box-sizing: border-box; }

/* ===== PAGES ===== */
.bcq-page { display: none; }
.bcq-page-active { display: block; animation: bcqFadeIn 0.4s ease; }

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

/* ===== CARD ===== */
.bcq-card {
    background: #fff;
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

/* ===== INTRO PAGE ===== */
.bcq-intro-badge {
    display: inline-block;
    background: #1a365d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.bcq-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 8px;
    line-height: 1.2;
}

.bcq-tagline {
    font-size: 18px;
    color: #718096;
    font-style: italic;
    margin: 0 0 20px;
}

.bcq-intro-text {
    font-size: 15px;
    color: #4a5568;
    margin: 0 0 24px;
    line-height: 1.7;
}

.bcq-instructions {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 28px;
}

.bcq-instructions h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1a365d;
    margin: 0 0 10px;
}

.bcq-instructions p {
    font-size: 14px;
    color: #4a5568;
    margin: 0 0 8px;
}

.bcq-instructions p:last-child { margin-bottom: 0; }

/* ===== PROGRESS BAR ===== */
.bcq-progress {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    margin-bottom: 20px;
    overflow: hidden;
}

.bcq-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #1a365d, #2b6cb0);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.bcq-section-label {
    font-size: 13px;
    font-weight: 700;
    color: #1a365d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

/* ===== QUESTIONS ===== */
.bcq-question {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #edf2f7;
}

.bcq-question:last-of-type {
    border-bottom: none;
    margin-bottom: 8px;
    padding-bottom: 0;
}

.bcq-q-title {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 6px;
}

.bcq-q-text {
    font-size: 14.5px;
    color: #4a5568;
    margin: 0 0 14px;
    line-height: 1.6;
}

/* ===== OPTIONS ===== */
.bcq-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bcq-option {
    display: block;
    cursor: pointer;
    margin: 0 !important;
}

.bcq-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.bcq-option-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #2d3748;
    line-height: 1.5;
}

.bcq-option:hover .bcq-option-box {
    border-color: #a0aec0;
    background: #f7fafc;
}

.bcq-option input:checked + .bcq-option-box {
    border-color: #1a365d;
    background: #ebf4ff;
    box-shadow: 0 0 0 1px #1a365d;
}

.bcq-option-letter {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #edf2f7;
    color: #4a5568;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bcq-option input:checked + .bcq-option-box .bcq-option-letter {
    background: #1a365d;
    color: #fff;
}

/* 3-column layout for Yes/No/Unknown */
.bcq-options-3col {
    flex-direction: row;
    flex-wrap: wrap;
}

.bcq-options-3col .bcq-option {
    flex: 1;
    min-width: 120px;
}

.bcq-options-3col .bcq-option-box {
    justify-content: center;
    text-align: center;
    padding: 12px 10px;
    font-size: 13px;
    font-weight: 600;
}

/* Question unanswered highlight */
.bcq-question-unanswered {
    border-radius: 8px;
    background: #fff5f5;
    padding: 16px !important;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

/* ===== PAGE ERROR ===== */
.bcq-page-error {
    background: #fed7d7;
    color: #9b2c2c;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

/* ===== BUTTONS ===== */
.bcq-btn {
    display: block;
    width: 100%;
    padding: 15px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 10;
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.bcq-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bcq-btn-primary {
    background: #1a365d;
    color: #fff;
}

.bcq-btn-primary:hover {
    background: #2a4a7f;
}

.bcq-btn-submit {
    background: #c53030;
    color: #fff;
}

.bcq-btn-submit:hover {
    background: #9b2c2c;
}

/* ===== RESULTS PAGE ===== */
.bcq-results-card {
    text-align: center;
}

.bcq-result-icon {
    margin-bottom: 20px;
}

.bcq-result-score-wrap {
    border: 3px solid #1a365d;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    display: inline-block;
    min-width: 260px;
}

.bcq-result-label {
    font-size: 13px;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px;
}

.bcq-result-score {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
}

.bcq-result-tier {
    display: inline-block;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 10px 24px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.bcq-result-status {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.7;
    text-align: left;
    margin-bottom: 16px;
    padding: 16px 20px;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.bcq-result-action {
    font-size: 14px;
    color: #2d3748;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 24px;
}

.bcq-result-action:empty { margin-bottom: 0; }

.bcq-email-btn {
    margin-top: 8px;
}

/* ===== CONTACT FORM ===== */
.bcq-contact-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 6px;
    text-align: center;
}

.bcq-contact-subtitle {
    font-size: 14px;
    color: #718096;
    text-align: center;
    margin: 0 0 24px;
}

.bcq-form-group {
    margin-bottom: 16px;
}

.bcq-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.bcq-req { color: #c53030; }

.bcq-form-group input,
.bcq-form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #1a202c;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bcq-form-group input:focus,
.bcq-form-group select:focus {
    outline: none;
    border-color: #1a365d;
    box-shadow: 0 0 0 3px rgba(26,54,93,0.15);
}

.bcq-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.bcq-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 20px;
    cursor: pointer;
    line-height: 1.5;
}

.bcq-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.bcq-form-error {
    background: #fed7d7;
    color: #9b2c2c;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
    margin-bottom: 14px;
}

/* ===== THANK YOU ===== */
.bcq-thankyou-card {
    text-align: center;
    padding: 48px 36px;
}

.bcq-success-icon {
    margin-bottom: 16px;
}

.bcq-thankyou-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: #1a202c;
    margin: 0 0 12px;
}

.bcq-thankyou-card p {
    font-size: 15px;
    color: #718096;
    margin: 0;
    line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .bcq-wrap { padding: 12px; }
    .bcq-card { padding: 24px 18px; }
    .bcq-title { font-size: 24px; }
    .bcq-form-row { grid-template-columns: 1fr; gap: 0; }
    .bcq-result-score { font-size: 36px; }
    .bcq-options-3col { flex-direction: column; }
    .bcq-options-3col .bcq-option { min-width: 100%; }
}
