/*
 * Admin design system (Decision #33) — layered ON TOP of the vendored Bootstrap 5.3.3
 * in resources/views/admin/layouts/app.blade.php. First-party file: no third-party
 * request, no build step, no new dependency.
 *
 * Goals: light fintech/SaaS surface, one type scale, one radius/shadow/colour ramp,
 * soft status badges, clear focus rings, lively but subtle motion, phone-first spacing.
 * Nothing here changes behaviour; it only restates presentation.
 */

:root {
    --brand: #4f46e5;
    --brand-strong: #4338ca;
    --brand-tint: #eef0fe;
    --brand-line: #c9cef9;

    --ink: #0f1729;
    --ink-2: #3b4759;
    --muted: #6b7889;
    --faint: #97a3b4;

    --bg: #f6f7fb;
    --surface: #ffffff;
    --surface-2: #fafbfe;
    --line: #e6e9f0;
    --line-strong: #d7dce7;

    --ok: #0e8a5f;
    --ok-tint: #e7f6ef;
    --warn: #a06a00;
    --warn-tint: #fdf3e0;
    --bad: #c62f36;
    --bad-tint: #fdecec;
    --info: #0a6f86;
    --info-tint: #e5f4f8;

    --r-sm: 8px;
    --r: 12px;
    --r-lg: 16px;

    --sh-1: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .05);
    --sh-2: 0 4px 14px rgba(16, 24, 40, .07);
    --sh-3: 0 14px 34px rgba(16, 24, 40, .11);

    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- base ---------- */
html { -webkit-text-size-adjust: 100%; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: "Inter", "SF Pro Text", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: .925rem;
    letter-spacing: -.006em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, .h3 { letter-spacing: -.02em; font-weight: 700; color: var(--ink); }

a { text-decoration: none; transition: color .16s var(--ease); }
a:hover { color: var(--brand-strong); }

::selection { background: rgba(79, 70, 229, .16); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

code {
    background: #f1f3fa;
    border-radius: 6px;
    color: #3a3f74;
    font-size: .82em;
    font-weight: 500;
    padding: .18em .45em;
}

.text-muted { color: var(--muted) !important; }

/* Subtle, uniform scrollbars on the panes that scroll. */
.table-responsive::-webkit-scrollbar { height: 8px; }
.table-responsive::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; }
.table-responsive::-webkit-scrollbar-track { background: transparent; }

/* ---------- top bar ---------- */
.app-topbar {
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}

.brand {
    align-items: center;
    color: var(--ink) !important;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 700;
    gap: .6rem;
    letter-spacing: -.02em;
}

.brand-tile {
    align-items: center;
    background: linear-gradient(160deg, var(--brand) 0%, #6d5cf0 55%, #8b5cf6 100%);
    border-radius: 10px;
    color: #fff;
    display: inline-flex;
    font-size: 1.05rem;
    height: 32px;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(79, 70, 229, .35);
    width: 32px;
}

.brand-name { color: var(--ink); }
.brand-tag {
    background: var(--brand-tint);
    border-radius: 99px;
    color: var(--brand-strong);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: .18rem .5rem;
    text-transform: uppercase;
}

.user-chip {
    align-items: center;
    display: inline-flex;
    gap: .5rem;
    color: var(--ink-2);
    font-size: .85rem;
    font-weight: 600;
}

/* Long e-mail addresses must never push the sign-out button off the bar. */
.user-chip .user-name { max-width: 160px; }

.avatar {
    align-items: center;
    background: var(--brand-tint);
    border-radius: 50%;
    color: var(--brand-strong);
    display: inline-flex;
    font-weight: 700;
    height: 30px;
    justify-content: center;
    width: 30px;
}

/* Compact variant used inside dense table cells. */
.avatar-xs { font-size: .7rem; height: 22px; width: 22px; }

.icon-btn {
    align-items: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink-2);
    display: inline-flex;
    height: 36px;
    justify-content: center;
    transition: background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease);
    width: 36px;
}

.icon-btn:hover { background: var(--bad-tint); border-color: #f3c4c6; color: var(--bad); transform: translateY(-1px); }
.navbar-toggler.icon-btn { border-color: var(--line); }
.navbar-toggler.icon-btn:hover { background: var(--brand-tint); border-color: var(--brand-line); color: var(--brand-strong); }

/* ---------- sidebar + mobile drawer (light, never dark-on-dark) ---------- */
.sidebar {
    background: var(--surface);
    border-right: 1px solid var(--line);
    min-height: calc(100vh - 57px);
}

.side-caption {
    color: var(--faint);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .09em;
    margin: 0 0 .5rem .55rem;
    text-transform: uppercase;
}

.side-link {
    align-items: center;
    border-radius: 10px;
    color: var(--ink-2);
    display: flex;
    font-size: .875rem;
    font-weight: 600;
    gap: .7rem;
    padding: .6rem .75rem;
    position: relative;
    transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}

.side-link i { color: var(--faint); font-size: 1.05rem; transition: color .18s var(--ease); }
.side-link:hover { background: var(--surface-2); color: var(--ink); transform: translateX(2px); }
.side-link:hover i { color: var(--brand); }

.side-link.active { background: var(--brand-tint); color: var(--brand-strong); }
.side-link.active i { color: var(--brand); }

.side-link.active::before {
    background: var(--brand);
    border-radius: 99px;
    content: "";
    height: 20px;
    left: -2px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
}

.offcanvas.app-drawer { background: var(--surface); color: var(--ink); }

/* Bootstrap draws the drawer header in currentColor, which is invisible on light. */
.app-drawer .offcanvas-header { border-bottom: 1px solid var(--line); }

/* ---------- page scaffolding ---------- */
.app-main { padding-bottom: 2.5rem; }

.page-head {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.page-title { font-size: 1.4rem; margin: 0; }
.page-sub { color: var(--muted); font-size: .85rem; margin: .2rem 0 0; }
.page-actions { display: flex; flex-wrap: wrap; gap: .5rem; }

.metric-label { color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .01em; }
.metric-value { color: var(--ink); font-feature-settings: "tnum" 1; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }

/* ---------- cards ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    overflow: hidden;
    transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}

.card > .card-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: -.01em;
    padding: .85rem 1.1rem;
}

.card > .card-body { padding: 1.1rem; }

.metric:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }

.tile {
    align-items: center;
    border-radius: 11px;
    display: inline-flex;
    font-size: 1.05rem;
    height: 36px;
    justify-content: center;
    margin-bottom: .65rem;
    width: 36px;
}

/* Compact variant for card headers and section menus. */
.tile-xs { font-size: .9rem; height: 28px; margin-bottom: 0; width: 28px; }

.tile-brand { background: var(--brand-tint); color: var(--brand-strong); }
.tile-ok { background: var(--ok-tint); color: var(--ok); }
.tile-warn { background: var(--warn-tint); color: var(--warn); }
.tile-bad { background: var(--bad-tint); color: var(--bad); }
.tile-info { background: var(--info-tint); color: var(--info); }
.tile-mute { background: #eef1f6; color: var(--ink-2); }

.card.alert-card { border-color: #f3c4c6; box-shadow: 0 0 0 4px rgba(198, 47, 54, .05); }
.card.alert-card:hover { box-shadow: 0 4px 14px rgba(198, 47, 54, .12); }

/* ---------- tables ---------- */
.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--ink);
    margin: 0;
}

.table thead th {
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: .7rem 1rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.table tbody tr { transition: background .14s var(--ease); }
.table tbody td { border-bottom: 1px solid var(--line); color: var(--ink-2); padding: .78rem 1rem; vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table-hover tbody tr:hover { background: #f7f8fd; }
.table tbody tr:hover td:first-child { color: var(--ink); }

.cell-title { color: var(--ink); font-weight: 600; }
.cell-sub { color: var(--faint); font-size: .78rem; }
.cell-num { color: var(--ink); font-feature-settings: "tnum" 1; font-weight: 600; }

/* The empty row is not data: it must not pick up the zebra/hover tint. Needed to beat
   Bootstrap's `.table-hover > tbody > tr:hover > *` specificity. */
.table-empty > td, .table-empty:hover > td { background: transparent !important; }

/* ---------- empty states ---------- */
.empty {
    align-items: center;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: 3rem 1rem;
    text-align: center;
}

.empty > i { color: #c3cadb; font-size: 1.75rem; margin-bottom: .35rem; }
.empty-title { color: var(--ink-2); font-size: .92rem; font-weight: 600; }
.empty-help { font-size: .8rem; }

/* ---------- badges (soft status, replacing hard fills) ---------- */
.badge {
    border-radius: 99px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .01em;
    padding: .38em .7em;
    text-transform: capitalize;
}

/* Bootstrap's text-bg-* sets !important colours, so softening them needs the same weight. */
.badge.text-bg-success { background: var(--ok-tint) !important; color: var(--ok) !important; }
.badge.text-bg-danger { background: var(--bad-tint) !important; color: var(--bad) !important; }
.badge.text-bg-warning { background: var(--warn-tint) !important; color: var(--warn) !important; }
.badge.text-bg-info { background: var(--info-tint) !important; color: var(--info) !important; }
.badge.text-bg-primary { background: var(--brand-tint) !important; color: var(--brand-strong) !important; }
.badge.text-bg-secondary { background: #eef1f6 !important; color: var(--ink-2) !important; }
.badge.text-bg-dark { background: #e8ebf2 !important; color: var(--ink) !important; }

/* ---------- buttons ---------- */
.btn {
    border-radius: 10px;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: -.006em;
    padding: .5rem .9rem;
    transition: background .16s var(--ease), border-color .16s var(--ease), box-shadow .16s var(--ease), color .16s var(--ease), transform .12s var(--ease);
}

.btn .bi { margin-right: .15rem; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--brand); border-color: var(--brand); box-shadow: 0 1px 2px rgba(79, 70, 229, .28); }
.btn-primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); box-shadow: 0 4px 12px rgba(79, 70, 229, .32); transform: translateY(-1px); }

.btn-outline-primary { color: var(--brand-strong); border-color: var(--brand-line); }
.btn-outline-primary:hover { background: var(--brand-tint); border-color: var(--brand-line); color: var(--brand-strong); }

.btn-outline-secondary { color: var(--ink-2); border-color: var(--line-strong); }
.btn-outline-secondary:hover { background: #f1f3f9; border-color: var(--line-strong); color: var(--ink); }

.btn-success { background: var(--ok); border-color: var(--ok); }
.btn-success:hover { background: #0b7a53; border-color: #0b7a53; }
.btn-outline-success { color: var(--ok); border-color: #b9e3d0; }
.btn-outline-success:hover { background: var(--ok-tint); border-color: #b9e3d0; color: var(--ok); }

.btn-danger { background: var(--bad); border-color: var(--bad); }
.btn-danger:hover { background: #ad2429; border-color: #ad2429; }
.btn-outline-danger { color: var(--bad); border-color: #f0c6c8; }
.btn-outline-danger:hover { background: var(--bad-tint); border-color: #f0c6c8; color: var(--bad); }

.btn-warning { background: #e2a30b; border-color: #e2a30b; color: #3d2a00; }
.btn-warning:hover { background: #c98f06; border-color: #c98f06; color: #3d2a00; }

.btn-link { color: var(--brand-strong); }
.btn-link:hover { color: var(--brand); }

.btn-sm { border-radius: 9px; font-size: .79rem; padding: .35rem .68rem; }

/* Disabled-looking links used as placeholders keep their shape quiet. */
.btn.disabled { opacity: .5; pointer-events: none; }

/* ---------- forms ---------- */
.form-label { color: var(--ink-2); font-size: .8rem; font-weight: 600; margin-bottom: .35rem; }
.form-label .hint, .text-muted.small { color: var(--faint); font-size: .76rem; font-weight: 500; }

.form-control, .form-select {
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    color: var(--ink);
    font-size: .875rem;
    padding: .55rem .8rem;
    transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}

.form-control::placeholder { color: var(--faint); opacity: 1; }

.form-control:hover:not(:focus), .form-select:hover:not(:focus) { border-color: #c4cdda; }

.form-control:focus, .form-select:focus {
    border-color: var(--brand-line);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, .12);
    color: var(--ink);
}

.form-control.is-invalid, .form-select.is-invalid { border-color: #eab6b9; }
.form-control.is-invalid:focus, .form-select.is-invalid:focus { box-shadow: 0 0 0 4px rgba(198, 47, 54, .12); }
.invalid-feedback, .text-danger.small { color: var(--bad); font-size: .78rem; font-weight: 500; }
.form-text { color: var(--muted); font-size: .78rem; }

.form-check-input { border-color: var(--line-strong); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { border-color: var(--brand-line); box-shadow: 0 0 0 3px rgba(79, 70, 229, .14); }
.form-check-label { color: var(--ink-2); font-size: .85rem; }
.form-switch .form-check-input { width: 2.6em; height: 1.4em; cursor: pointer; }

input[type="file"].form-control::file-selector-button {
    background: var(--surface-2);
    border: 0;
    border-radius: 8px;
    color: var(--ink-2);
    font-weight: 600;
    margin-right: .75rem;
    padding: .35rem .7rem;
}

/* Icon-infield adornment: <div class="field-icon"><i class="bi ..."></i><input class="form-control"></div> */
.field-icon { position: relative; }
.field-icon > .bi { color: var(--faint); font-size: .95rem; left: .8rem; pointer-events: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.field-icon > .form-control { padding-left: 2.35rem; }

/* Detail pages: definition lists read as label / value pairs, not bold paragraphs. */
dl.row dt { color: var(--muted); font-feature-settings: normal; font-size: .74rem; font-weight: 700; letter-spacing: .05em; padding-bottom: .35rem; text-transform: uppercase; }
dl.row dd { color: var(--ink); font-weight: 500; padding-bottom: .35rem; }

/* In-form section captions, so a long form reads as groups instead of a wall of fields. */
.form-section {
    align-items: center;
    color: var(--muted);
    display: flex;
    font-size: .72rem;
    font-weight: 700;
    gap: .4rem;
    letter-spacing: .07em;
    margin: 1.5rem 0 .5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    text-transform: uppercase;
}

.form-section:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.form-section > .bi { color: var(--brand); font-size: .9rem; }

.form-foot {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.5rem;
    padding-top: 1.1rem;
}

/* Settings save bar stays reachable while the page scrolls. */
.form-sticky {
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--sh-2);
    display: flex;
    gap: .5rem;
    justify-content: flex-end;
    padding: .75rem 1rem;
    position: sticky;
    bottom: .75rem;
    z-index: 5;
}

/* Bot copy is edited as text with newlines, so show it monospaced. */
.code-area {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: .82rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.form-control-narrow { max-width: 220px; }

/* ---------- filters / toolbars ---------- */
.toolbar {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--sh-1);
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: 1rem;
    padding: .75rem;
}

.toolbar .grow { flex: 1 1 190px; min-width: 0; }
.toolbar-icon { color: var(--faint); font-size: .95rem; left: .8rem; pointer-events: none; position: absolute; top: 50%; transform: translateY(-50%); }

/* ---------- alerts / flash feedback ---------- */
.alert {
    align-items: flex-start;
    border: 1px solid transparent;
    border-radius: var(--r);
    box-shadow: var(--sh-1);
    display: flex;
    font-size: .86rem;
    gap: .6rem;
    margin-bottom: 1rem;
    padding: .8rem 1rem;
}

.alert > .bi { font-size: 1.05rem; line-height: 1.35; }
.alert-success { background: var(--ok-tint); border-color: #bfe6d3; color: #0b6b49; }
.alert-danger { background: var(--bad-tint); border-color: #f3c6c8; color: #a5252b; }
.alert ul { padding-left: 1.1rem; }

/* ---------- pagination ---------- */
.pagination { gap: .3rem; margin: 0; }
.page-link {
    border: 0;
    border-radius: 9px;
    color: var(--ink-2);
    font-weight: 600;
    min-width: 34px;
    padding: .4rem .6rem;
    text-align: center;
}

.page-link:hover { background: var(--brand-tint); color: var(--brand-strong); }
.page-item.active .page-link { background: var(--brand); box-shadow: 0 2px 8px rgba(79, 70, 229, .3); color: #fff; }
.page-item.disabled .page-link { background: transparent; color: var(--faint); }
.pager { display: flex; justify-content: center; margin-top: 1.1rem; }

/* ---------- imagery ---------- */
.thumb {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r);
    max-height: 160px;
    object-fit: cover;
    transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}

.thumb:hover { box-shadow: var(--sh-2); transform: scale(1.015); }

/* Hairline separator that follows the token palette instead of Bootstrap's currentColor. */
.hairline { border: 0; border-bottom: 1px solid var(--line); opacity: 1; }

/* Thumb that must stay inside a compact form column. */
.thumb-compact { max-height: 140px; }

/* ---------- feedback / loading states ---------- */
/* `.alert-auto-dismiss` and `.is-loading` carry no rules of their own: they are the
   behaviour hooks admin.js looks for. Rename here, there or in the JS and the flash
   auto-dismiss / submit spinner silently stops working. */
#progress {
    background: linear-gradient(90deg, var(--brand), #8b5cf6);
    box-shadow: 0 0 8px rgba(79, 70, 229, .5);
    height: 2px;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    transition: opacity .2s var(--ease);
    width: 0;
    z-index: 1080;
}

#progress.running { animation: indeterminate 1.15s var(--ease) infinite; opacity: 1; }

@keyframes indeterminate {
    0% { margin-left: -35%; width: 35%; }
    50% { margin-left: 20%; width: 55%; }
    100% { margin-left: 100%; width: 25%; }
}

.btn.is-loading { color: transparent !important; pointer-events: none; position: relative; }
.btn.is-loading > * { opacity: 0; }
.btn.is-loading::after {
    animation: spin .7s linear infinite;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    content: "";
    height: 15px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
}

.btn-outline-primary.is-loading::after, .btn-outline-secondary.is-loading::after, .btn-link.is-loading::after {
    border-color: rgba(79, 70, 229, .3);
    border-top-color: var(--brand);
}

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Entrance motion: restrained one-shot rise, staggered by row position. */
@keyframes rise { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }

.rise { animation: rise .34s var(--ease) both; }
.rise-1 { animation-delay: .04s; }
.rise-2 { animation-delay: .09s; }
.rise-3 { animation-delay: .14s; }
.rise-4 { animation-delay: .19s; }
.rise-5 { animation-delay: .24s; }
.rise-6 { animation-delay: .29s; }
.rise-7 { animation-delay: .34s; }

/* ---------- responsive ---------- */
@media (max-width: 767.98px) {
    main { padding-left: .75rem; padding-right: .75rem; }
    .page-title { font-size: 1.2rem; }
    .metric-value { font-size: 1.3rem; }
    .btn-sm { min-height: 36px; padding: .42rem .7rem; }
    .btn { min-height: 40px; }
    .card > .card-body { padding: .95rem; }
    .table thead th { font-size: .66rem; padding: .6rem .75rem; }
    .table tbody td { padding: .7rem .75rem; }
    .page-actions { width: 100%; }
    .page-actions .btn { flex: 1 1 auto; }
    .toolbar .grow { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- sign-in (standalone page, same tokens) ---------- */
.auth-body {
    background:
        radial-gradient(1100px 420px at 12% -10%, rgba(79, 70, 229, .10), transparent 60%),
        radial-gradient(900px 380px at 95% 0%, rgba(139, 92, 246, .09), transparent 55%),
        var(--bg);
    min-height: 100vh;
}

.auth-card { border-radius: 20px; box-shadow: var(--sh-3); }
.auth-brand { display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.auth-brand .brand-tile { font-size: 1.35rem; height: 46px; width: 46px; }
.auth-title { font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.auth-sub { color: var(--muted); font-size: .82rem; margin: 0 0 1.5rem; }
.auth-foot { border-top: 1px solid var(--line); color: var(--faint); font-size: .76rem; margin-top: 1.25rem; padding-top: 1rem; text-align: center; }
