/* ============================================================
   Popups — Modal sheets, Medal popup, Register form
   Popups CSS bổ sung: animations của popup đã có trong animations.css
   Cấu trúc layout và các thành phần nội dung popup được định nghĩa ở đây.
   ============================================================ */

/* ── Bottom Sheet Modal ─────────────────────────────────────────────────── */
/* (animation: modal-overlay + modal-sheet defined in animations.css) */

.modal-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.modal-subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
    line-height: 1.5;
}

/* ── Register form inside modal ─────────────────────────────────────────── */
/* .form-group, .btn-primary, .btn-full already defined in app.css */

/* ── User Profile Modal ─────────────────────────────────────────────────── */
.gospel-stat-card {
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: var(--space-3) var(--space-2);
    text-align: center;
    border: 1px solid var(--border);
}
.gospel-stat-card .card-value {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}
.gospel-stat-card .card-label {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-top: 2px;
}

/* ── Medal popup ────────────────────────────────────────────────────────── */
/* Structure + animations already in animations.css */

.medal-name {
    color: var(--color-primary);
    font-size: var(--font-size-lg);
}

/* ── Confetti (spawned via JS) ─────────────────────────────────────────── */
/* .confetti-piece animation already defined in animations.css */

/* ── Dark mode overrides ────────────────────────────────────────────────── */
[data-theme="dark"] .gospel-stat-card {
    background: var(--surface);
    border-color: var(--border);
}
