/* =====================================================================
   EHF — Auth + My Schedule  (auth.css)
   Registration / sign-in forms, digital-ticket confirmation, and the
   personal schedule timeline. Built on the Glassmorphism 2.0 system.
   ===================================================================== */

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-bright); }

/* --- Centered auth layout --- */
.auth-shell { max-width: 640px; margin: 0 auto; padding: 40px 20px 80px; }
.auth-card { padding: 32px 30px; border-radius: var(--radius-lg); }
.auth-card--narrow { max-width: 440px; margin: 0 auto; }
.auth-title { font-size: clamp(24px, 4vw, 32px); }
.auth-sub { color: var(--text-dim); margin: 6px 0 22px; font-size: 14.5px; }
.auth-actions { margin-top: 8px; }
.btn-block { width: 100%; justify-content: center; padding: 13px 18px; font-size: 15px; }
.auth-foot { text-align: center; margin-top: 18px; color: var(--text-dim); font-size: 14px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

/* --- Registration success --- */
.success-emblem {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px;
    display: grid; place-items: center; color: #052015;
    background: linear-gradient(135deg, var(--accent-bright), var(--accent));
    box-shadow: 0 0 30px var(--accent-glow);
}
.success-emblem svg { width: 30px; height: 30px; }

/* --- My Schedule header --- */
.sched-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 40px 0 10px; }
.sched-head h1 { font-size: clamp(26px, 4vw, 38px); margin-top: 8px; }
.sched-sub { color: var(--text-dim); margin-top: 6px; font-size: 14.5px; }

.pass-chip {
    display: flex; flex-direction: column; gap: 2px;
    padding: 14px 18px; border-radius: 16px; min-width: 180px;
    background: rgba(var(--track-rgb), 0.10);
    border: 1px solid rgba(var(--track-rgb), 0.45);
    box-shadow: 0 0 22px rgba(var(--track-rgb), 0.25);
}
.pass-chip-label { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.pass-chip-name { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--track, var(--accent)); text-shadow: 0 0 12px rgba(var(--track-rgb), 0.45); }
.pass-chip-code { font-size: 12px; font-family: Consolas, monospace; letter-spacing: .05em; color: var(--text-dim); }

/* --- Empty state --- */
.sched-empty { text-align: center; padding: 56px 24px; margin-top: 24px; border-radius: var(--radius-lg); }
.sched-empty h3 { font-size: 22px; color: var(--text-dim); }
.sched-empty p { color: var(--text-faint); margin: 8px 0 20px; }

/* --- Timeline --- */
.timeline { margin-top: 26px; display: flex; flex-direction: column; gap: 34px; }
.tl-day-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--glass-border); }
.tl-day-num { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--accent-bright); }
.tl-day-date { color: var(--text-faint); font-size: 13.5px; }
.tl-items { display: flex; flex-direction: column; gap: 12px; }

.tl-card {
    display: flex; align-items: stretch; gap: 16px; padding: 16px 18px;
    border-radius: var(--radius); position: relative;
    border-left: 3px solid rgba(var(--track-rgb), 0.7);
    transition: transform .2s ease, box-shadow .25s ease, opacity .3s ease, height .3s ease;
}
.tl-card:hover { transform: translateX(3px); box-shadow: 0 12px 30px rgba(0,0,0,0.4); }
.tl-card.removing { opacity: 0; transform: translateX(40px); }

.tl-time {
    flex: none; width: 64px; display: flex; flex-direction: column;
    font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--text);
}
.tl-time span { font-family: var(--font-sans); font-weight: 500; font-size: 12.5px; color: var(--text-faint); }

.tl-body { flex: 1; min-width: 0; }
.tl-track {
    display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    padding: 3px 9px; border-radius: 999px; margin-bottom: 6px;
    color: rgb(var(--track-rgb)); background: rgba(var(--track-rgb), 0.14); border: 1px solid rgba(var(--track-rgb), 0.4);
}
.tl-title { font-size: 16.5px; line-height: 1.3; }
.tl-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; }
.tl-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-dim); }
.tl-meta svg { width: 14px; height: 14px; color: var(--accent-bright); opacity: .8; }

.tl-cancel {
    flex: none; align-self: center; width: 36px; height: 36px; border-radius: 11px; cursor: pointer;
    display: grid; place-items: center; color: var(--text-faint);
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    transition: all .18s ease;
}
.tl-cancel svg { width: 17px; height: 17px; }
.tl-cancel:hover { color: #fecaca; border-color: rgba(var(--danger-rgb), 0.5); background: rgba(var(--danger-rgb), 0.12); }
.tl-cancel:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(var(--danger-rgb), 0.25); }
.tl-cancel.is-busy { opacity: .5; pointer-events: none; }

@media (max-width: 540px) {
    .tl-time { width: 52px; font-size: 15px; }
    .pass-chip { width: 100%; }
}

/* --- Digital pass + QR --- */
.pass-shell { max-width: 920px; }
.pass-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.qr-panel { background: #fff; border-radius: var(--radius-lg); padding: 22px; text-align: center; box-shadow: var(--shadow-lg); }
.qr-box { display: block; line-height: 0; }
.qr-box svg { width: 100%; height: auto; display: block; border-radius: 8px; }
.qr-code-text { margin-top: 14px; font-family: Consolas, "SF Mono", monospace; font-weight: 700; letter-spacing: .08em; color: #0f172a; font-size: 15px; }
.qr-hint { margin-top: 6px; font-size: 12.5px; color: #64748b; }
@media (max-width: 720px) { .pass-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; } }
