@import url("./badges_messages.023921238ab3.css");
@import url("./buttons.1420fdd437cb.css");
@import url("./footer.d17b8a17e57a.css");
@import url("./forms.baf8282ee859.css");
@import url("./menus.35f737c00c70.css");
@import url("./nav.f30fa771ea3a.css");
@import url("./tables.fcfb2d1c9e64.css");
@import url("./typography.8fb6d1ca098d.css");

:root {
    font-size: 16px;
    --fs-title: 1.5rem;
    --fs-heading: 1.25rem;
    --fs-body: 1rem;
    --fs-sm: 0.875rem;

    --bg: linear-gradient(160deg, #f5f5ff 0%, #f7faff 45%, #e8f9fc 100%);

    --clr-text-body: #3d4450;
    --clr-text-heading: #0f1419;
    --clr-text-muted: #6b7280;
    --clr-text-link: #2563eb;
    --clr-text-on-primary: #ffffff;

    --clr-container-bg: rgba(255, 255, 255, 0.82);
    --clr-card-bg: rgba(255, 255, 255, 0.72);
    --clr-card-border: rgba(15, 20, 25, 0.06);
    --clr-shadow: rgba(37, 99, 235, 0.08);
    --clr-shadow-soft: rgba(15, 20, 25, 0.06);
    --clr-hover: rgba(37, 99, 235, 0.06);

    --clr-primary: #2563eb;
    --clr-primary-hover: #1d4ed8;
    --clr-success: #10b981;
    --clr-success-border: #065f46;
    --clr-success-bg: #d1fae5;
    --clr-warning: #facc15;
    --clr-warning-border: #78350f;
    --clr-warning-bg: #fef3c7;
    --clr-error: #ef4444;
    --clr-error-hover: #dc2626;
    --clr-error-border: #991b1b;
    --clr-error-bg: #fee2e2;
    --clr-info: #38bdf8; 
    --clr-info-border: #0369a1;
    --clr-info-bg: #e0f2fe;

    --clr-bucket-fixed: #6366f1;
    --clr-bucket-fixed-bg: rgba(99, 102, 241, 0.1);
    --clr-bucket-investing: #0d9488;
    --clr-bucket-investing-bg: rgba(13, 148, 136, 0.1);
    --clr-bucket-saving: #2563eb;
    --clr-bucket-saving-bg: rgba(37, 99, 235, 0.1);
    --clr-bucket-free: #d97706;
    --clr-bucket-free-bg: rgba(217, 119, 6, 0.1);

    --max-width: 1080px;
    --form-width: 480px;
    --radius-sm: 0.75rem;
    --radius-md: 1.25rem;
    --radius-pill: 9999px;
    --radius-circle: 50%;
    --nav-height: 4.875rem;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

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

html {
    min-height: 100dvh;
    background: var(--bg);
    background-attachment: fixed;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    color: var(--clr-text-body);
    -webkit-font-smoothing: antialiased;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    line-height: 1.6;
}


section {
    width: 100%;
    max-width: var(--max-width);
    padding: 0 1.25rem 2.5rem;
    margin-left: auto;
    margin-right: auto;
}

section:is(:first-of-type) {
    margin-top: var(--nav-height);
    padding: 2.5rem 1.25rem;
}

.container {
    width: 100%;
    padding: 1.25rem;
    background-color: var(--clr-container-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.container:not(:last-child) {
    margin-bottom: 2rem;
}

.container__header {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.panel {
    display: flex;
    flex-direction: column;

    &:is(:last-of-type):not(:first-of-type) {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--clr-card-border);
    }

    & > .btn {
        margin-top: 1rem;
    }
}

.heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.heading__sub {
    margin: 0.25rem 0 0;
    color: var(--clr-muted, #64748b);
    font-size: 0.95rem;
}

.subheading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;

    & h3 {
        margin-right: auto;
    }
}

.card__wrapper{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;

    &:not(:last-child) {
        margin-bottom: 2rem;
    }
}

.card {
    flex: 1 1 12rem;
    width: 100%;
    padding: 1.25rem;
    background-color: var(--clr-card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.card h3 {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-muted, #64748b);
}

.card span {
    font-size: 1.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.period-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
}

.period-filter select {
    min-width: 8rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid var(--clr-border, #e2e8f0);
    border-radius: var(--radius-md, 8px);
    background: var(--clr-card-bg, #fff);
    font: inherit;
}

.centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

img.qrcode {
    width: 12rem;
    height: 12rem;
    margin: 0 auto;
    margin-bottom: 1.25rem;
}

a {
    color: var(--clr-text-link);
    text-decoration: none;
}

ul {
    padding-left: 1.25rem;
}

ul.enum-list {
    list-style-type: decimal;
}

a:hover:not(.logo, .btn, .nav-btn, .menu-item, .menu-row) {
    text-decoration: underline;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.item-wrapper:not(:last-child) {
    margin-bottom: 2rem;
}

.acct-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--clr-card-border);
    background-color: var(--clr-card-bg);
}