/* ═══════════════════════════════════════════════════════════════
   gifts.css  –  Tab Quà Tặng / Xổ Số / Đấu Giá Mù
   Chú ý: KHÔNG override :root variables — giữ light theme gốc
   ═══════════════════════════════════════════════════════════════ */

/* ── User info card ────────────────────────────────────────── */
.gifts-user-card {
    display: flex; align-items: stretch;
    background: linear-gradient(135deg, rgba(245,158,11,0.06), rgba(139,92,246,0.06));
    border: 1px solid var(--border-light);
    border-radius: var(--radius); margin: 12px 16px 4px; padding: 14px 16px; gap: 0;
}
.guc-left  { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.guc-label { font-size: 11px; color: var(--text-muted); font-weight: 600; display: flex; align-items: center; gap: 5px; }
.guc-xu    { font-size: 24px; font-weight: 900; color: var(--orange); line-height: 1; }
.guc-xu span { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.guc-divider { width: 1px; background: var(--border-light); margin: 0 14px; }
.guc-right { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.guc-rank-badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--purple); background: rgba(139,92,246,0.1); border-radius: 20px; padding: 2px 10px; }
.guc-fee  { font-size: 12px; font-weight: 600; }
.guc-note { font-size: 10px; color: var(--text-muted); }

/* ── Gift card: cost detail box ────────────────────────────── */
.gift-cost-detail {
    background: var(--bg-input); border-radius: 6px;
    padding: 7px 8px; margin: 6px 0;
    display: flex; flex-direction: column; gap: 3px;
}
.gcd-row { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-muted); }
.gcd-fee span:last-child  { color: var(--orange); font-weight: 700; }
.gcd-total { border-top: 1px solid var(--border-light); padding-top: 3px; margin-top: 1px; }
.gcd-total span { font-weight: 800; color: var(--accent); font-size: 11px; }

/* ── Event card: enhanced ──────────────────────────────────── */
.ev-header-row {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 8px; margin-bottom: 6px;
}
.ev-badge { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
.ev-badge-live   { background: rgba(34,197,94,0.1);  color: var(--green); }
.ev-badge-locked { background: rgba(245,158,11,0.1); color: var(--orange); }
.ev-badge-done   { background: rgba(239,68,68,0.1);  color: var(--red); }

.ev-time-row {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: var(--text-muted);
    margin-bottom: 8px; flex-wrap: wrap;
}
.ev-time-row i       { color: var(--accent); font-size: 11px; }
.ev-time-row strong  { color: var(--text); }
.ev-countdown { font-size: 11px; font-weight: 700; }

.ev-fee-row {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--bg-input); border-radius: 8px;
    padding: 7px 10px; font-size: 12px; font-weight: 600; margin-bottom: 10px;
}
.ev-input-row { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.ev-done { opacity: 0.75; }

/* ── Extra buttons ─────────────────────────────────────────── */
.btn-purple {
    background: var(--purple, #8b5cf6); color: #fff; border: none;
}
.btn-purple:active { filter: brightness(0.9); }
.btn-orange {
    background: var(--orange, #f59e0b); color: #000; border: none;
}
.btn-orange:active { filter: brightness(0.9); }
