:root { --brand: #5b4cf0; --brand-dark: #493bcf; --ink: #182133; --muted: #697386; --surface: #f5f7fb; }
body { background: var(--surface); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--brand); }
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark); }
.form-control:focus { border-color: #9f96f7; box-shadow: 0 0 0 .25rem rgba(91, 76, 240, .12); }
.brand-mark { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #7568ff, #493bcf); font-size: 1.35rem; box-shadow: 0 7px 18px rgba(91, 76, 240, .23); }
.brand-mark-lg { width: 56px; height: 56px; border-radius: 17px; font-size: 2rem; }
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 3rem 0; background: radial-gradient(circle at 15% 10%, rgba(91,76,240,.12), transparent 27%), radial-gradient(circle at 85% 85%, rgba(32,180,134,.1), transparent 25%), var(--surface); }
.auth-card, .metric-card, main > .card, .row > div > .card { border-radius: 18px; }
.card { border-color: #e8ebf1; }
.eyebrow { color: var(--brand); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.metric-card { border: 1px solid #e8ebf1; }
.metric-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; font-size: 1.2rem; }
.short-url { color: var(--brand); text-decoration: none; font-weight: 600; }
.short-url:hover { text-decoration: underline; }
.destination { max-width: 320px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table > :not(caption) > * > * { padding: 1rem 1.25rem; border-color: #eef0f4; }
.table thead th { color: var(--muted); background: #fafbfc; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.empty-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: #eceafd; color: var(--brand); font-size: 1.8rem; }
.chart-large { position: relative; height: 300px; }
.chart-small { position: relative; height: 260px; }
.choice-page { min-height: 100vh; display: grid; place-items: center; padding: 3rem 0; background: radial-gradient(circle at 50% 0, rgba(91,76,240,.14), transparent 33%), var(--surface); }
.destination-choice { transition: transform .18s ease, box-shadow .18s ease; }
.destination-choice:hover { transform: translateY(-2px); box-shadow: 0 .7rem 1.8rem rgba(24,33,51,.12) !important; }
.choice-icon { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: var(--brand); background: #eceafd; font-size: 1.2rem; }
@media (max-width: 767.98px) { .chart-large { height: 240px; } .table > :not(caption) > * > * { padding: .85rem; } }
