/* itsBillTime ? Midnight Ledger Theme
   Dark navy canvas, electric indigo accents
   Drop-in replacement for theme.css
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Sora:wght@700;800&display=swap');

/* ?? Design Tokens ????????????????????????????????????????? */
:root {
    /* Backgrounds */
    --bg-base:      #0f1117;
    --bg-surface:   #1a1d27;
    --bg-raised:    #21253a;
    --bg-hover:     #252a3d;

    /* Borders */
    --border:       #2a2d3a;
    --border-md:    #363a52;

    /* Brand / accent */
    --indigo:       #6c8cf4;
    --indigo-dark:  #8ba4f7;
    --indigo-dim:   rgba(108,140,244,0.12);
    --indigo-glow:  rgba(108,140,244,0.22);

    /* Semantic colours */
    --red:          #f07070;
    --red-dim:      rgba(240,112,112,0.12);
    --green:        #5ebd82;
    --green-dim:    rgba(94,189,130,0.12);
    --amber:        #e8be5a;
    --amber-dim:    rgba(232,190,90,0.12);

    /* Text */
    --text-primary: #e8ecff;
    --text-muted:   #8b91a8;
    --text-hint:    #4a5070;

    /* Radii */
    --r-xs: 4px;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 22px;

    /* Typography */
    --font-body:    'Plus Jakarta Sans', sans-serif;
    --font-display: 'Sora', sans-serif;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
    --shadow-md:  0 4px 16px rgba(0,0,0,0.4), 0 1px 4px rgba(0,0,0,0.25);
    --shadow-lg:  0 12px 40px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);

    /* Nav height */
    --nav-h: 56px;
}

/* ?? Reset ????????????????????????????????????????????????? */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html, body {
    min-height: 100%;
    font-family: var(--font-body);
    font-size: 14px;
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--indigo);
    text-decoration: none;
    transition: color .15s;
}
a:hover {
    color: var(--indigo-dark);
}

h1, h2, h3, h4 {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-primary);
}

img, svg {
    max-width: 100%;
}

/* ?? Utilities ????????????????????????????????????????????? */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.text-muted  {
    color: var(--text-muted);
}
.text-center {
    text-align: center;
}


/* ????????????????????????????????????????????????????????????
   AUTH PAGES  (login / signup / forgot)
   ???????????????????????????????????????????????????????????? */

.page-center {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px 16px;
    background: var(--bg-base);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(108,140,244,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 90%, rgba(108,140,244,0.08) 0%, transparent 55%);
}

.auth-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 36px 32px 32px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 460px) {
    .auth-card {
        padding: 28px 20px 24px;
        border-radius: var(--r-lg);
    }
}

.auth-brand {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--indigo);
    letter-spacing: -.02em;
    display: block;
    margin-bottom: 4px;
}
.auth-tagline {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: .06em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 32px;
}


/* ????????????????????????????????????????????????????????????
   FORM ELEMENTS
   ???????????????????????????????????????????????????????????? */

.field {
    display: grid;
    gap: 6px;
}
.field + .field {
    margin-top: 16px;
}

label,
.field-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em;
    color: var(--text-primary);
    display: block;
}

input[type=text],
input[type=email],
input[type=password],
input[type=number],
input[type=date],
select,
textarea {
    width: 100%;
    background: var(--bg-raised);
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    padding: 10px 13px;
    transition: border-color .18s, box-shadow .18s, background .18s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=number]:focus,
input[type=date]:focus,
select:focus,
textarea:focus {
    border-color: var(--indigo);
    background: var(--bg-surface);
    box-shadow: 0 0 0 3px var(--indigo-dim);
}

input[readonly] {
    color: var(--text-muted);
    cursor: not-allowed;
    background: var(--bg-base);
}
input::placeholder {
    color: var(--text-hint);
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b91a8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 34px;
    cursor: pointer;
}

textarea {
    resize: vertical;
    min-height: 80px;
}


/* ????????????????????????????????????????????????????????????
   BUTTONS
   ???????????????????????????????????????????????????????????? */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 10px 20px;
    cursor: pointer;
    transition: background .15s, box-shadow .15s, transform .1s, opacity .15s;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}
.btn:active  {
    transform: scale(.97);
}
.btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}

/* Primary */
.btn-primary {
    background: var(--indigo);
    color: #0f1117;
    box-shadow: 0 2px 8px rgba(108,140,244,0.35);
}
.btn-primary:hover {
    background: var(--indigo-dark);
    box-shadow: 0 4px 16px rgba(108,140,244,0.45);
    color: #0f1117;
}

/* Ghost */
.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid var(--border-md);
}
.btn-ghost:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--indigo);
}

/* Danger */
.btn-danger {
    background: transparent;
    color: var(--red);
    border: 1.5px solid var(--red);
}
.btn-danger:hover {
    background: var(--red);
    color: #0f1117;
}

/* Pay */
.btn-pay {
    background: var(--red-dim);
    color: var(--red);
    border: 1.5px solid rgba(240,112,112,0.25);
}
.btn-pay:hover {
    background: var(--red);
    color: #0f1117;
}

/* Sizes */
.btn-sm  {
    font-size: 11px;
    padding: 5px 11px;
    border-radius: var(--r-xs);
}
.btn-lg  {
    font-size: 15px;
    padding: 13px 28px;
    border-radius: var(--r-md);
}
.btn-full {
    width: 100%;
}

.btn-row {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}
.btn-row .btn {
    flex: 1;
    min-width: 100px;
}


/* ????????????????????????????????????????????????????????????
   TOP NAVIGATION
   ???????????????????????????????????????????????????????????? */

.topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: var(--nav-h);
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: var(--shadow-sm);
    gap: 12px;
}

.topnav-brand {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 800;
    color: var(--indigo);
    letter-spacing: -.02em;
    text-decoration: none;
    flex-shrink: 0;
}

.topnav-links {
    display: flex;
    gap: 2px;
    list-style: none;
    align-items: center;
}
.topnav-links a {
    display: block;
    padding: 6px 12px;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color .15s, background .15s;
    white-space: nowrap;
}
.topnav-links a:hover {
    color: var(--indigo);
    background: var(--indigo-dim);
}
.topnav-links a.active {
    color: var(--indigo);
    background: var(--indigo-dim);
    font-weight: 600;
}

.topnav-user {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    flex-shrink: 0;
}

.topnav-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--indigo);
    color: #0f1117;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid var(--indigo-glow);
    transition: transform .15s, box-shadow .15s;
    user-select: none;
}
.topnav-avatar:hover {
    transform: scale(1.06);
    box-shadow: 0 0 0 4px var(--indigo-dim);
}

.topnav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-md);
    border-radius: var(--r-md);
    min-width: 190px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    z-index: 300;
    animation: dropIn .15s ease;
}
@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to   {
        opacity: 1;
        transform: translateY(0);
    }
}
.topnav-dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
    transition: background .12s;
}
.topnav-dropdown a:hover {
    background: var(--bg-hover);
    color: var(--indigo);
}
.topnav-dropdown .divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}
.topnav-dropdown.open {
    display: block;
}
.topnav-avatar {
    cursor: pointer;
}

/* Mobile hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 6px;
    cursor: pointer;
    background: none;
    border: none;
    border-radius: var(--r-xs);
}
.nav-hamburger span {
    display: block;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all .2s;
}

.nav-mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 8px 0 12px;
    box-shadow: var(--shadow-md);
}
.nav-mobile-menu.open {
    display: flex;
}
.nav-mobile-menu a {
    display: block;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}
.nav-mobile-menu a:hover  {
    background: var(--bg-hover);
    color: var(--indigo);
}
.nav-mobile-menu a.active {
    color: var(--indigo);
    font-weight: 600;
}
.nav-mobile-menu .divider {
    height: 1px;
    background: var(--border);
    margin: 6px 0;
}

.badge-sharing-on {
    font-size: 11px;
    background: var(--green-dim);
    color: var(--green);
    border-radius: 20px;
    padding: 2px 8px;
    font-weight: 700;
}
.badge-sharing-off {
    font-size: 11px;
    background: var(--bg-raised);
    color: var(--text-muted);
    border-radius: 20px;
    padding: 2px 8px;
    border: 1px solid var(--border);
}


/* ????????????????????????????????????????????????????????????
   PAGE CONTENT WRAPPER
   ???????????????????????????????????????????????????????????? */

.page-content {
    max-width: 1080px;
    margin: 0 auto;
    padding: 28px 20px 60px;
}

@media (max-width: 640px) {
    .page-content {
        padding: 18px 14px 48px;
    }
}


/* ????????????????????????????????????????????????????????????
   CARDS
   ???????????????????????????????????????????????????????????? */

.card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.card-sm {
    max-width: 420px;
    width: 100%;
}
.card-md {
    max-width: 680px;
    width: 100%;
}


/* ????????????????????????????????????????????????????????????
   BRAND (inside pages)
   ???????????????????????????????????????????????????????????? */

.brand {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--indigo);
    letter-spacing: -.02em;
    display: block;
    margin-bottom: 4px;
}
.brand-tagline {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: .08em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 30px;
}


/* ????????????????????????????????????????????????????????????
   DASHBOARD TOOLBAR
   ???????????????????????????????????????????????????????????? */

.dash-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}
.dash-greeting {
    font-size: 20px;
    font-weight: 300;
    color: var(--text-primary);
}
.dash-greeting strong {
    font-weight: 700;
    color: var(--indigo);
}
.dash-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.dash-controls select {
    width: auto;
    font-size: 13px;
    padding: 8px 32px 8px 12px;
    background-color: var(--bg-surface);
}

@media (max-width: 560px) {
    .dash-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .dash-controls {
        justify-content: space-between;
    }
    .dash-controls select {
        flex: 1;
    }
}


/* ????????????????????????????????????????????????????????????
   SUMMARY BANNER
   ???????????????????????????????????????????????????????????? */

.summary-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.summary-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .15s;
}
.summary-card:hover {
    box-shadow: var(--shadow-md);
}
.summary-card .lbl {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.summary-card .val {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
}
.summary-card .val.indigo {
    color: var(--indigo);
}
.summary-card .val.red    {
    color: var(--red);
}
.summary-card .val.green  {
    color: var(--green);
}
.summary-card .sub {
    font-size: 11px;
    color: var(--text-hint);
    margin-top: 4px;
}

.summary-card.accent-red    {
    border-left: 3px solid var(--red);
}
.summary-card.accent-green  {
    border-left: 3px solid var(--green);
}
.summary-card.accent-indigo {
    border-left: 3px solid var(--indigo);
}
.summary-card.accent-amber  {
    border-left: 3px solid var(--amber);
}


/* ????????????????????????????????????????????????????????????
   SECTION TITLES
   ???????????????????????????????????????????????????????????? */

.section-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 28px 0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}


/* ????????????????????????????????????????????????????????????
   BILL ROWS
   ???????????????????????????????????????????????????????????? */

.bill-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    margin-bottom: 6px;
    transition: border-color .15s, box-shadow .15s;
}
.bill-row:hover {
    border-color: var(--indigo);
    box-shadow: 0 0 0 1px var(--indigo-dim), var(--shadow-sm);
}

.bill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot-unpaid {
    background: var(--red);
}
.dot-paid   {
    background: var(--green);
}
.dot-auto   {
    background: var(--indigo);
}

.bill-name {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    min-width: 0;
}
.bill-name a {
    color: var(--text-primary);
    font-weight: 600;
}
.bill-name a:hover {
    color: var(--indigo);
}

.bill-due {
    font-size: 11px;
    color: var(--text-muted);
    min-width: 60px;
    flex-shrink: 0;
}

.bill-amount {
    font-size: 13px;
    font-weight: 600;
    min-width: 80px;
    text-align: right;
    flex-shrink: 0;
}
.bill-amount.paid {
    color: var(--green);
}

.bill-actions {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cred-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    flex-wrap: wrap;
}
.cred-row label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}
.cred-row input {
    width: 110px;
    font-size: 12px;
    padding: 4px 8px;
}

@media (max-width: 640px) {
    .bill-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    .bill-due  {
        display: none;
    }
    .bill-amount {
        min-width: auto;
    }
    .bill-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 400px) {
    .bill-actions .btn-sm {
        font-size: 10px;
        padding: 4px 8px;
    }
}


/* ????????????????????????????????????????????????????????????
   BADGES
   ???????????????????????????????????????????????????????????? */

.badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
}
.badge-paid   {
    background: var(--green-dim);
    color: var(--green);
}
.badge-auto   {
    background: var(--indigo-dim);
    color: var(--indigo);
}
.badge-unpaid {
    background: var(--red-dim);
    color: var(--red);
}
.badge-amber  {
    background: var(--amber-dim);
    color: var(--amber);
}


/* ????????????????????????????????????????????????????????????
   FORM LAYOUT (new bill, edit bill)
   ???????????????????????????????????????????????????????????? */

.form-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    max-width: 700px;
    box-shadow: var(--shadow-sm);
}
@media (max-width: 480px) {
    .form-card {
        padding: 20px 16px;
    }
}

.form-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-grid .span2 {
    grid-column: 1 / -1;
}

@media (max-width: 540px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-grid .span2 {
        grid-column: auto;
    }
}

.form-grid .field {
    gap: 6px;
}


/* ????????????????????????????????????????????????????????????
   SETTINGS LAYOUT
   ???????????????????????????????????????????????????????????? */

.settings-layout {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 640px) {
    .settings-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
@media (max-width: 640px) {
    .settings-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
    }
}

.settings-nav-item {
    display: block;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .15s;
    text-decoration: none;
}
.settings-nav-item:hover {
    color: var(--indigo);
    background: var(--indigo-dim);
}
.settings-nav-item.active {
    color: var(--indigo);
    background: var(--indigo-dim);
    font-weight: 700;
}

.settings-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.settings-section-title {
    font-size: 15px;
    font-weight: 700;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}


/* ????????????????????????????????????????????????????????????
   DANGER ZONE
   ???????????????????????????????????????????????????????????? */

.danger-zone {
    border: 1.5px solid rgba(240,112,112,0.25);
    background: var(--red-dim);
    border-radius: var(--r-md);
    padding: 16px 18px;
    margin-top: 28px;
}
.danger-zone-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--red);
    margin-bottom: 6px;
}
.danger-zone-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}


/* ????????????????????????????????????????????????????????????
   MESSAGES
   ???????????????????????????????????????????????????????????? */

.msg-error {
    color: var(--red);
    font-size: 13px;
    font-weight: 500;
    margin-top: 12px;
    padding: 10px 14px;
    background: var(--red-dim);
    border-radius: var(--r-sm);
    border: 1px solid rgba(240,112,112,0.2);
}
.msg-success {
    color: var(--green);
    font-size: 13px;
    font-weight: 500;
    margin-top: 12px;
    padding: 10px 14px;
    background: var(--green-dim);
    border-radius: var(--r-sm);
    border: 1px solid rgba(94,189,130,0.2);
}


/* ????????????????????????????????????????????????????????????
   PWA INSTALL BANNER
   ???????????????????????????????????????????????????????????? */

.pwa-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--indigo-dim);
    border: 1px solid var(--indigo-glow);
    border-radius: var(--r-md);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.pwa-banner-text .title {
    font-size: 13px;
    font-weight: 600;
    color: var(--indigo);
}
.pwa-banner-text .sub   {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 1px;
}
.pwa-banner-actions {
    margin-left: auto;
    display: flex;
    gap: 6px;
}

@media (max-width: 480px) {
    .pwa-banner-actions {
        margin-left: 0;
        width: 100%;
    }
}


/* ????????????????????????????????????????????????????????????
   RESPONSIVE: MOBILE NAV
   ???????????????????????????????????????????????????????????? */

@media (max-width: 700px) {
    .topnav-links {
        display: none;
    }
    .nav-hamburger {
        display: flex;
    }
}

@media (min-width: 701px) {
    .nav-mobile-menu {
        display: none !important;
    }
}


/* ????????????????????????????????????????????????????????????
   MISC HELPERS
   ???????????????????????????????????????????????????????????? */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to   {
        opacity: 1;
        transform: translateY(0);
    }
}
.page-content,
.auth-card {
    animation: fadeUp .3s ease;
}

hr.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 20px 0;
}

.link-sm {
    font-size: 12px;
    color: var(--text-muted);
    transition: color .15s;
}
.link-sm:hover {
    color: var(--indigo);
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
