/**
 * Quiz Gate — Styles for restructured email gate + progressive profiling
 */

/* ── Percentile Badge ── */
.gate-pct-badge {
    display: inline-block;
    margin: 12px auto;
    padding: 6px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #FF9800;
    background: rgba(255,152,0,0.1);
    border: 1px solid rgba(255,152,0,0.2);
    border-radius: 20px;
    text-align: center;
}

#gate-percentile {
    text-align: center;
    margin-bottom: 8px;
}

/* ── Profile Questions ── */
.gate-profile {
    margin: 16px 0 12px;
}

.profile-group {
    margin-bottom: 12px;
}

.profile-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #a0b4c8;
    margin-bottom: 8px;
    text-align: center;
}

.profile-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.profile-pill {
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #8899aa;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.profile-pill:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #ccd6e0;
}

.profile-pill.selected {
    color: #FF9800;
    background: rgba(255,152,0,0.12);
    border-color: rgba(255,152,0,0.4);
}

/* ── Gated Content Reveal ── */
#gated-content {
    animation: gateReveal 0.5s ease forwards;
}

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

/* ── Welcome Back Message ── */
.form-message.success {
    color: #66BB6A;
}

/* ── Mobile adjustments ── */
@media (max-width: 480px) {
    .profile-pills {
        gap: 6px;
    }

    .profile-pill {
        padding: 8px 14px;
        font-size: 0.8rem;
        min-height: 36px;
    }

    .gate-pct-badge {
        font-size: 0.78rem;
        padding: 6px 14px;
    }
}

@media (max-width: 380px) {
    .profile-pill {
        padding: 7px 12px;
        font-size: 0.75rem;
    }

    .profile-label {
        font-size: 0.78rem;
    }
}
