:root {
    --bg: #F1F3F6;
    --card-bg: #FFFFFF;
    --border: #DDE1E6;
    --text: #1F2937;
    --muted: #6B7280;

    --sidebar-bg: #1E2A3A;
    --sidebar-fg: #B8C4D4;
    --sidebar-active: #2C3E50;

    --accent: #3F51B5;
    --accent-light: #7986CB;
    --accent-text: #FFFFFF;

    --shadow-1: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    --shadow-2: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
    --shadow-3: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);

    --green: #7E9E7C;
    --green-bg: #E7EFE6;
    --red: #C9684F;
    --red-bg: #F7E6DF;

    --badge-bg: #F3E9DD;
    --badge-warn-bg: #F6E2BD;
    --badge-warn-fg: #8A5A1E;
    --badge-info-bg: #DDE6E0;
    --badge-info-fg: #4F6F5C;
    --badge-split-bg: #E3DCF0;
    --badge-split-fg: #6A4C93;

    --avatar-1: #9BC0A0;
    --avatar-2: #E6BD7A;
    --avatar-3: #B8D0A0;
    --avatar-4: #9DBBC9;
    --avatar-5: #C5AED1;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

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

/* Layout */
.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 230px;
    flex-shrink: 0;
    background: var(--sidebar-bg);
    color: var(--sidebar-fg);
    display: flex;
    flex-direction: column;
    padding: 1.25rem 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    padding: 0.5rem 1.5rem 1.25rem;
}

.sidebar .brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.01em;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--sidebar-fg);
    padding: 0.3rem;
    border-radius: 6px;
    cursor: pointer;
}

.nav-toggle:hover {
    background: var(--sidebar-active);
    color: #fff;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sidebar-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin: 0.5rem 1.5rem 0;
}

.sidebar a {
    color: var(--sidebar-fg);
    padding: 0.7rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-left: 4px solid transparent;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.sidebar a svg {
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity 0.15s;
}

.sidebar a:hover {
    background: var(--sidebar-active);
    color: #fff;
}

.sidebar a:hover svg {
    opacity: 1;
}

.sidebar a.active {
    background: var(--sidebar-active);
    color: #fff;
    border-left-color: var(--accent-light);
}

.sidebar a.active svg {
    opacity: 1;
}

.sidebar .spacer {
    flex: 1;
}

/* Nav-groep met inklapbare sub-items */
.nav-group { display: flex; flex-direction: column; }

.nav-group-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.nav-group-toggle {
    margin-left: auto;
    background: none;
    border: none;
    padding: 0.2rem;
    cursor: pointer;
    color: inherit;
    display: flex;
    align-items: center;
    border-radius: 4px;
    flex-shrink: 0;
}

.nav-group-toggle:hover {
    background: rgba(255,255,255,0.15);
}

.nav-group-chevron {
    transition: transform 0.2s;
    opacity: 0.7;
}

.nav-group.open .nav-group-chevron {
    transform: rotate(180deg);
}

.nav-subs {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.15);
}

.nav-group.open .nav-subs {
    display: flex;
}

.nav-sub {
    padding: 0.5rem 1.5rem 0.5rem 2.25rem !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    border-left: 4px solid transparent;
    gap: 0.5rem !important;
    opacity: 0.9;
}

.nav-sub.active {
    background: var(--sidebar-active);
    color: #fff;
    border-left-color: var(--accent-light);
    opacity: 1;
}

.nav-sub svg {
    flex-shrink: 0;
    opacity: 0.75;
}

/* Pagina-overstijgende Boekhouding-keuze (sidebar) */
.sidebar-scope {
    flex-basis: 100%;
}

.sidebar-scope-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sidebar-fg);
    opacity: 0.7;
    margin-bottom: 0.35rem;
}

.sidebar-scope select {
    width: 100%;
    background: var(--sidebar-active);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 0.5rem 0.7rem;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
}

.sidebar-scope select:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.sidebar-scope select:focus {
    outline: 2px solid var(--accent-light);
    outline-offset: 1px;
}

.content {
    flex: 1;
    min-width: 0;
    padding: 1.75rem 2.5rem;
    max-width: 1200px;
}

/* Login */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.login-box {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-3);
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.login-box h1 {
    margin: 0 0 0.5rem;
    text-align: center;
}

/* Flash messages */
.flashes {
    margin-bottom: 1rem;
}

.flash {
    padding: 0.6rem 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.flash-error {
    background: var(--red-bg);
    color: #9C4A35;
}

.flash-success {
    background: var(--green-bg);
    color: #4F6F5C;
}

.flash-info {
    background: var(--badge-info-bg);
    color: var(--badge-info-fg);
}

.flash-warn {
    background: var(--badge-warn-bg);
    color: var(--badge-warn-fg);
}

.app-log {
    background: #161B22;
    color: #C9D1D9;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.8rem;
    line-height: 1.6;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    max-height: 280px;
    overflow-y: auto;
}

.app-log .log-line {
    white-space: pre-wrap;
    word-break: break-word;
}

.app-log .log-time {
    color: #6E7681;
    margin-right: 0.6rem;
}

.app-log .log-error {
    color: #F2A18C;
}

.app-log .log-empty {
    color: #6E7681;
}

.flash-warn p {
    margin: 0.15rem 0;
}

/* Headings / page header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.page-header h1 {
    margin: 0;
    font-size: 1.9rem;
    font-weight: 700;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.1rem;
    margin-bottom: 1.75rem;
}

.card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.25rem 1.4rem;
    box-shadow: var(--shadow-1);
    border-top: 4px solid var(--accent);
}

.card--income {
    border-top-color: var(--green);
}

.card--expense {
    border-top-color: var(--red);
}

.card--info {
    border-top-color: var(--avatar-4);
}

a.card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.15s, box-shadow 0.15s;
}

a.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
}

.card .label {
    font-size: 0.78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.card .value {
    font-size: 1.7rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.section {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem 1.6rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-1);
}

.chart-tall {
    position: relative;
    width: 100%;
}

.section h2 {
    margin-top: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.section h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 1.1rem 0 0.5rem;
}

.section h3:first-of-type {
    margin-top: 0;
}

details.section > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
}

details.section > summary::-webkit-details-marker {
    display: none;
}

details.section > summary h2 {
    margin: 0;
}

details.section > summary::after {
    content: "▾";
    color: var(--muted);
    font-weight: normal;
    font-size: 1rem;
    flex-shrink: 0;
    margin-left: 0.75rem;
    transition: transform 0.15s;
}

details.section[open] > summary {
    margin-bottom: 1rem;
}

details.section[open] > summary::after {
    transform: rotate(180deg);
}

details.section .cards {
    margin-bottom: 0;
}

.charts-row > details.section {
    align-self: start;
}

.charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

/* Uitklap-paneel onder de categorie-taart: toont bij hover/tap het totaal
   van de hoofdcategorie en de subcategorieën, klikbaar naar Transacties. */
.category-breakdown {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    min-height: 3.5rem;
}

.breakdown-main,
.breakdown-subs li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.15s;
}

.breakdown-main {
    padding: 0.3rem 0.5rem;
    font-weight: 700;
    color: var(--text);
}

.breakdown-main:hover,
.breakdown-subs li a:hover {
    background: rgba(63, 81, 181, 0.08);
}

.breakdown-dot {
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.breakdown-subs {
    list-style: none;
    margin: 0.15rem 0 0;
    padding: 0;
}

.breakdown-subs li a {
    padding: 0.25rem 0.5rem 0.25rem 1.5rem;
    color: var(--muted);
    font-size: 0.88rem;
}

@media (max-width: 900px) {
    .charts-row {
        grid-template-columns: 1fr;
    }
    .layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        padding: 0;
        position: relative;
        z-index: 40;
    }
    .sidebar-header {
        padding: 0.6rem 1rem;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    .sidebar .brand {
        font-size: 1.05rem;
        flex-shrink: 0;
    }
    .sidebar-scope {
        flex: 1 1 auto;
        flex-basis: auto;
        min-width: 0;
        display: flex;
        justify-content: flex-end;
    }
    .sidebar-scope-label {
        display: none;
    }
    .sidebar-scope select {
        width: auto;
        max-width: 100%;
        font-size: 0.8rem;
        padding: 0.3rem 0.4rem;
    }
    .nav-toggle {
        display: flex;
        flex-shrink: 0;
    }
    .sidebar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--sidebar-bg);
        box-shadow: var(--shadow-2);
        max-height: calc(100vh - 56px);
        overflow-y: auto;
    }
    .sidebar-links.open {
        display: flex;
    }
    .sidebar .spacer {
        display: none;
    }
    .sidebar-divider {
        margin: 0.5rem 1rem 0;
    }
}

/* Avatars */
.owner-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1.1rem 0 0.5rem;
}

.owner-row:first-of-type {
    margin-top: 0;
}

.owner-row h2,
.owner-row h3 {
    margin: 0;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
    flex-shrink: 0;
}

.avatar-1 { background: var(--avatar-1); }
.avatar-2 { background: var(--avatar-2); }
.avatar-3 { background: var(--avatar-3); }
.avatar-4 { background: var(--avatar-4); }
.avatar-5 { background: var(--avatar-5); }

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

th, td {
    text-align: left;
    padding: 0.65rem 0.7rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

th {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--bg);
}

th:first-child {
    border-top-left-radius: 8px;
}

th:last-child {
    border-top-right-radius: 8px;
}

tbody tr:hover {
    background: rgba(32, 33, 36, 0.04);
}

tbody tr:last-child td {
    border-bottom: none;
}

.amount-positive {
    color: var(--green);
    font-weight: 600;
    white-space: nowrap;
}

.amount-negative {
    color: var(--red);
    font-weight: 600;
    white-space: nowrap;
}

.muted {
    color: var(--muted);
}

.text-right {
    text-align: right;
}

/* Horizontal scroll fallback for wide tables on small screens */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Truncate long text with ellipsis; full text shows on hover via title attribute */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 260px;
}

.desc-cell {
    max-width: 260px;
}

/* Bulk action bar */
.bulk-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
}

.settle-summary {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    gap: 0.3rem;
}

.settle-summary-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.settle-summary-amount {
    min-width: 5.5rem;
}

.settle-link-form {
    display: flex;
    gap: 0.4rem;
}

.settle-link-select {
    max-width: 220px;
}

/* Forms */
form.inline {
    display: inline;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.field label {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 500;
}

input, select, textarea, button {
    font-family: inherit;
    font-size: 0.9rem;
}

input[type="text"], input[type="number"], input[type="date"], input[type="month"], input[type="week"], input[type="password"],
input[type="file"], select, textarea {
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #fff;
    color: var(--text);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.2);
}

optgroup {
    font-weight: 600;
}

optgroup option {
    font-weight: normal;
}

select.cat-select {
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 999px;
    border: 1px solid var(--border);
    background-color: #fff;
    color: var(--text);
    transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

button, .btn {
    background: var(--accent);
    color: var(--accent-text);
    border: none;
    padding: 0.6rem 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    transition: filter 0.15s, box-shadow 0.15s, transform 0.1s;
}

button:hover, .btn:hover {
    filter: brightness(0.93);
    box-shadow: var(--shadow-1);
}

button:active, .btn:active {
    transform: translateY(1px);
}

.btn-secondary {
    background: #E8EAF6;
    color: var(--accent);
}

.btn-danger {
    background: var(--red);
    color: #fff;
}

.btn-small {
    padding: 0.32rem 0.65rem;
    font-size: 0.8rem;
    border-radius: 4px;
}

.btn-icon {
    padding: 0.38rem 0.5rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon svg {
    display: block;
}

.actions-cell {
    white-space: nowrap;
}

/* Filter bar */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.filter-bar .field {
    min-width: 140px;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    align-items: center;
}

.pagination a, .pagination span {
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
}

.pagination .current {
    background: var(--accent);
    color: var(--accent-text);
    border-color: var(--accent);
    font-weight: 600;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--badge-bg);
    color: var(--muted);
}

.badge-warn {
    background: var(--badge-warn-bg);
    color: var(--badge-warn-fg);
}

.badge-info {
    background: var(--badge-info-bg);
    color: var(--badge-info-fg);
}

.desc-cell .badge {
    display: inline-block;
    margin-top: 0.3rem;
}

.badge-savings {
    background: var(--green-bg);
    color: var(--green);
}

.badge-budget-negative {
    background: var(--red-bg);
    color: var(--red);
}

.badge-budget {
    background: var(--badge-split-bg);
    color: var(--badge-split-fg);
}

.badge-budget-add {
    background: var(--badge-bg);
    color: var(--muted);
    opacity: 0.7;
}

.badge-transfer {
    background: var(--badge-split-bg);
    color: var(--badge-split-fg);
}

button.badge-transfer {
    border: none;
    font: inherit;
    cursor: pointer;
}

button.badge-transfer:hover,
button.badge-transfer.badge-transfer-open {
    background: var(--badge-split-fg);
    color: #fff;
}

.transfer-pair-secondary td,
.transfer-pair-secondary.tx-card,
.transfer-pair-secondary.tx-card-row {
    opacity: 0.75;
}

.transfer-pair-secondary td {
    border-left: 2px solid var(--badge-split-fg);
}

.transfer-pair-secondary td:not(:first-child) {
    border-left: none;
}

.badge-reimbursed {
    background: var(--green-bg);
    color: var(--green);
}

.badge-reimbursement-for {
    background: var(--badge-info-bg);
    color: var(--badge-info-fg);
}

.badge-budget-add:hover {
    opacity: 1;
}

/* Potje-badge als knop (toont berekening bij klikken) */
button.badge {
    border: none;
    font: inherit;
    cursor: pointer;
}

.category-pill button.badge {
    padding: 0.2rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--badge-bg);
    color: var(--muted);
}

.category-pill button.badge-savings {
    background: var(--green-bg);
    color: var(--green);
}

.category-pill button.badge-budget-negative {
    background: var(--red-bg);
    color: var(--red);
}

.badge-receipt {
    background: var(--accent-light);
    color: var(--accent-text);
}

.badge-receipt-auto {
    background: var(--badge-bg);
    color: var(--muted);
    cursor: pointer;
}

.badge-receipt-auto:hover {
    opacity: 0.8;
}

.badge-receipt-manual {
    background: var(--badge-info-bg);
    color: var(--badge-info-fg);
    cursor: pointer;
}

.badge-receipt-manual:hover {
    opacity: 0.8;
}

.badge-receipt-add {
    background: var(--badge-bg);
    color: var(--muted);
    opacity: 0.7;
    cursor: pointer;
}

.badge-receipt-add:hover {
    opacity: 1;
}

.badge-ai {
    background: #E3F2FD;
    color: #1565C0;
}

.badge-memory {
    background: #E8F5E9;
    color: #2E7D32;
}

.ai-review-differ td {
    background: rgba(220, 53, 69, 0.04);
}

.ai-review-agree td {
    background: rgba(46, 125, 50, 0.04);
}

.badge-split {
    background: var(--badge-split-bg);
    color: var(--badge-split-fg);
}

/* AI categorie-suggestie in transactierij */
.ai-suggestion {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.3rem;
    flex-wrap: wrap;
}

.ai-suggestion-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
}

.ai-suggestion-reason {
    font-size: 0.78rem;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-ai-accept {
    background: #E8F5E9;
    color: #2E7D32;
    border: none;
}

.btn-ai-accept:hover {
    background: #C8E6C9;
}

.btn-ai-reject {
    padding: 0.15rem 0.45rem;
    font-size: 0.75rem;
}

.ai-correct-form {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.3rem;
    flex-wrap: wrap;
}

.ai-correct-form select {
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
    max-width: 200px;
}

/* Transactie splitsen */
.split-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.78rem;
    color: var(--muted);
}

.split-breakdown-row {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
}

/* Amazon-bestelling (artikelen uit Gmail-koppeling) */
.amazon-items {
    margin: 0;
    padding-left: 0;
    list-style: none;
    font-size: 0.85rem;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.amazon-items li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.amazon-item-thumb {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
    background: var(--bg);
    flex-shrink: 0;
}

/* Grotere variant voor de Amazon-info bij het bewerken van een transactie */
.amazon-items-large {
    font-size: 0.95rem;
    color: var(--text);
    gap: 0.7rem;
}

.amazon-item-thumb-large {
    width: 56px;
    height: 56px;
    border-radius: 6px;
}

.split-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.split-row .js-category-select {
    flex: 1;
}

.split-row .js-category-new-fields {
    flex: 1;
}

.split-row .js-split-amount {
    width: 110px;
    text-align: right;
    flex-shrink: 0;
}

.split-amount-remainder {
    background: var(--bg);
    color: var(--muted);
    cursor: default;
}

.split-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Bonnen (transactie-bijlagen) */
.attachment-list {
    list-style: none;
    margin: 0 0 0.85rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.attachment-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.attachment-item-main {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.attachment-item-main a {
    min-width: 0;
}

/* Thumbnail van een bon: klein voorbeeld dat je aantikt om te vergroten */
.receipt-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
    cursor: pointer;
    flex-shrink: 0;
    display: block;
}

.receipt-linked-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

/* Thumbnail + naam samen (op desktop op één regel met de rest, op mobiel de
   volledige eerste regel — zie media query). */
.receipt-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
}

.receipt-name-wrap {
    flex: 1;
    min-width: 0;
    position: relative;
}

.receipt-name-wrap a {
    display: block;
}

.receipt-summary-popup {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 200;
    background: var(--card-bg, #fff);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.55rem 0.8rem;
    min-width: 200px;
    max-width: 300px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text);
    white-space: normal;
    pointer-events: none;
}

.receipt-name-wrap:hover .receipt-summary-popup {
    display: block;
}

.attachment-suggestion {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    padding-top: 0.3rem;
    border-top: 1px dashed var(--border);
}

.attachment-suggestion .link-result-label {
    flex: 1;
    min-width: 0;
}

.attachment-upload {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

/* Vaste lasten matrix: tabel past altijd binnen de sectie, geen horizontaal
   scrollen op desktop. Vaste kolombreedtes dwingen het bedrag (incl. "€ ")
   zo nodig op twee regels af te breken in plaats van de tabel te verbreden. */
@media (min-width: 701px) {
    .recurring-matrix {
        table-layout: fixed;
        width: 100%;
    }

    .recurring-matrix th,
    .recurring-matrix td {
        padding: 0.5rem 0.35rem;
        font-size: 0.82rem;
        overflow-wrap: break-word;
    }

    /* .amount-positive/.amount-negative zetten white-space:nowrap, dat zou
       bedragen hier laten overlappen i.p.v. afbreken naar een tweede regel */
    .recurring-matrix .amount-positive,
    .recurring-matrix .amount-negative {
        white-space: normal;
    }

    .recurring-matrix th:first-child,
    .recurring-matrix td:first-child {
        width: 18%;
    }

    .recurring-matrix th:not(:first-child),
    .recurring-matrix td:not(:first-child) {
        width: 5.86%;
    }
}

/* Per-label sub-rijen (bv. losse abonnementen onder 'Abonnementen'):
   ingesprongen en subtieler dan de categorie-rijen. */
.recurring-matrix .matrix-label-row td {
    background: var(--surface-alt, rgba(0, 0, 0, 0.02));
    font-size: 0.78rem;
}

.recurring-matrix .matrix-label-name {
    padding-left: 1.6rem !important;
    color: var(--muted);
    font-style: italic;
}

/* Vaste lasten matrix: klikbaar bedrag + popover met losse transacties */
.recurring-cell {
    position: relative;
}

.cell-amount {
    display: block;
    width: 100%;
    text-align: right;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-weight: inherit;
    color: inherit;
    cursor: pointer;
}

.cell-amount:hover,
.cell-amount:focus-visible {
    text-decoration: underline;
}

.cell-popover {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 30;
    margin-top: 2px;
    min-width: 190px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow-2);
    padding: 0.25rem;
}

.recurring-cell:hover .cell-popover,
.recurring-cell:focus-within .cell-popover,
.cell-popover.open {
    display: block;
}

/* Onderste rij (tfoot) heeft geen ruimte onder de tabel binnen .table-scroll
   (overflow-x: auto maakt overflow-y ook auto, dus een popover die naar
   onder opent wordt daar afgekapt); open daarom naar boven. */
.recurring-matrix tfoot .cell-popover {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 2px;
}

.popover-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.3rem 0.5rem;
    border: none;
    background: none;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text);
    text-align: left;
}

.popover-item:hover,
.popover-item:focus-visible {
    background: var(--bg);
}

/* Transactie-infodialoog (klik op bedrag in Vaste lasten) */
.tx-info-grid {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.tx-info-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
}

.tx-info-block {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.9rem;
}

/* Progress bar (spaardoelen) */
.progress-bar {
    width: 100%;
    min-width: 80px;
    height: 10px;
    border-radius: 999px;
    background: var(--badge-bg);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--accent);
}

/* Category tree */
.category-list {
    margin-bottom: 1.75rem;
}

.category-card {
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 0.6rem;
    background: #fff;
    overflow: hidden;
}

.category-card-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.category-card-summary::-webkit-details-marker {
    display: none;
}

.category-card-summary::after {
    content: "▾";
    color: var(--muted);
    font-weight: normal;
    transition: transform 0.15s;
}

.category-card[open] > .category-card-summary::after {
    transform: rotate(180deg);
}

.category-card-body {
    padding: 0.5rem 0.9rem 0.9rem;
    border-top: 1px solid var(--border);
}

.category-card-summary[draggable="true"] {
    cursor: grab;
}

.category-link {
    color: inherit;
    text-decoration: none;
}

.category-link:hover {
    text-decoration: underline;
}

.category-card.dragging {
    opacity: 0.4;
}

.category-card.drag-over {
    outline: 2px dashed var(--accent);
}

.category-header-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
    opacity: 0;
    transition: opacity 0.15s;
}

.category-card-summary:hover .category-header-actions,
.category-card-summary:focus-within .category-header-actions {
    opacity: 1;
}

.category-subs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
    min-height: 1.9rem;
    border-radius: 6px;
    transition: background-color 0.15s, outline-color 0.15s;
}

.category-subs:empty::before {
    content: "Sleep hier een subcategorie";
    color: var(--muted);
    font-size: 0.8rem;
    font-style: italic;
    padding: 0.25rem 0;
}

.category-subs.drag-over {
    outline: 2px dashed var(--accent);
    background: rgba(63, 81, 181, 0.08);
}

.category-pill {
    background: var(--badge-bg);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.category-pill[draggable="true"] {
    cursor: grab;
}

.category-pill.dragging {
    opacity: 0.4;
}

.category-pill form {
    display: inline;
}

.category-pill button {
    background: none;
    color: var(--muted);
    padding: 0;
    font-size: 0.85rem;
}

.category-pill button:hover {
    color: var(--red);
    opacity: 1;
}

.category-pill button.badge:hover {
    color: inherit;
}

.js-vacation-tx[draggable] {
    cursor: grab;
}

.js-vacation-tx.dragging {
    opacity: 0.4;
}

.js-vacation-cell.drag-over {
    outline: 2px dashed var(--accent);
    background: rgba(63, 81, 181, 0.08);
}

/* Vakantienaam in de matrix: klikbaar voor het detail-popup */
.link-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-weight: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.link-button:hover {
    color: var(--accent);
    text-decoration: underline;
}

.text-center {
    text-align: center;
}

/* Vakantie-detailpopup: per transactie de kostensoort met één klik wijzigen */
.vacation-detail-table th.text-center,
.vacation-detail-table td.text-center {
    width: 1%;
    white-space: nowrap;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
}

.vacation-detail-table .truncate {
    max-width: 170px;
}

.vacation-celltype-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--card-bg);
    cursor: pointer;
    padding: 0;
}

.vacation-celltype-btn:hover {
    border-color: var(--accent);
}

.vacation-celltype-btn.active {
    background: var(--accent);
    border-color: var(--accent);
}

/* Potje-berekening (dialoog) */
.budget-breakdown-summary {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.8rem;
}

.budget-breakdown-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.2rem 0;
}

.budget-breakdown-subtotal {
    border-top: 1px solid var(--border);
    margin-top: 0.2rem;
    padding-top: 0.4rem;
    font-weight: 600;
}

.budget-breakdown-total {
    border-top: 1px solid var(--border);
    margin-top: 0.6rem;
    padding-top: 0.5rem;
    font-weight: 700;
    font-size: 1.05rem;
}

.budget-breakdown-table th,
.budget-breakdown-table td {
    white-space: nowrap;
}

.budget-breakdown-table td.truncate {
    max-width: 240px;
}

.budget-topup-row {
    background: var(--green-bg);
}

/* Notities */
.note-add-form {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.note-add-form input {
    flex: 1;
}

.note-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.note-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.note-toggle {
    background: none;
    color: var(--muted);
    padding: 0;
    line-height: 1;
    display: inline-flex;
}

.note-toggle:hover {
    color: var(--accent);
    opacity: 1;
}

.note-item.done .note-toggle {
    color: var(--green);
}

.note-text {
    flex: 1;
}

.note-item.done .note-text {
    color: var(--muted);
    text-decoration: line-through;
}

/* Categorie-badge (kleur per categorie, zie data-style/color_style) */
.cat-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--badge-bg);
    color: var(--text);
}

/* Transactie- en verrekeningskaarten (mobiele weergave) */
.tx-cards, .settle-cards {
    display: none;
}

.tx-card, .settle-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card-bg);
}

.tx-card-summary, .settle-card-summary {
    list-style: none;
    cursor: pointer;
    padding: 0.65rem 0.8rem;
    display: block;
}

.tx-card-summary::-webkit-details-marker, .settle-card-summary::-webkit-details-marker {
    display: none;
}

.tx-card-top, .settle-card-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.78rem;
}

.tx-card-amount, .settle-card-amount {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.tx-card-desc, .settle-card-desc {
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Volledige omschrijving tonen zodra de kaart is uitgeklapt */
.tx-card[open] .tx-card-desc {
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
    max-width: none;
    word-break: break-word;
}

.tx-card-badges, .settle-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.4rem;
}

.tx-card-body, .settle-card-body {
    margin: 0 0.8rem 0.8rem;
    padding-top: 0.7rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.tx-card-actions, .settle-card-actions {
    display: flex;
    gap: 0.5rem;
}

.settle-card-select {
    margin-top: 0.4rem;
}

/* Mobile */
@media (max-width: 700px) {
    .content {
        padding: 1rem;
    }

    .section {
        padding: 1rem;
    }

    .page-header h1 {
        font-size: 1.35rem;
    }

    table {
        font-size: 0.82rem;
    }

    th, td {
        padding: 0.45rem 0.4rem;
    }

    .truncate {
        max-width: 130px;
    }

    /* In de mobiele transactiekaart mag de categorie-keuzelijst de volle
       breedte gebruiken (op desktop staat 'ie compact in de tabel). */
    .tx-card .cat-select,
    .tx-card select.cat-select {
        max-width: none;
        width: 100%;
    }

    .card .value {
        font-size: 1.25rem;
    }

    /* Filterformulieren: één veld per rij, makkelijker te bedienen */
    .filter-bar .field {
        flex: 1 1 100%;
        min-width: 0;
    }

    /* Actieknoppen mogen onder elkaar uitvallen i.p.v. de rij breder te maken */
    .actions-cell {
        white-space: normal;
    }

    /* Minder belangrijke kolommen verbergen om horizontaal scrollen te beperken */
    .col-balance, .col-iban {
        display: none;
    }

    .settle-link-form {
        flex-direction: column;
        align-items: stretch;
    }

    .settle-link-select {
        max-width: 100%;
    }

    .recurring-matrix th, .recurring-matrix td {
        padding: 0.35rem 0.3rem;
        font-size: 0.74rem;
    }

    /* Transacties: tabel vervangen door verticale kaarten (de bulk-balk
       #bulk-form blijft wél zichtbaar zodat je ook op mobiel meerdere
       transacties tegelijk kunt selecteren en bewerken). */
    .tx-table-scroll {
        display: none;
    }

    .tx-cards {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
    }

    /* Bulk-balk zweeft onderaan het scherm en schuift alleen omhoog zodra er
       minstens één transactie is geselecteerd (.bulk-bar-active wordt door
       app.js gezet op basis van het aantal aangevinkte checkboxes). */
    #bulk-form.bulk-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        margin: 0;
        padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
        background: var(--card-bg);
        border-top: 1px solid var(--border);
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.18);
        max-height: 65vh;
        overflow-y: auto;
        transform: translateY(110%);
        transition: transform 0.22s ease;
    }

    #bulk-form.bulk-bar.bulk-bar-active {
        transform: translateY(0);
    }

    /* Selectie-checkbox links naast elke kaart (voor de bulk-acties) */
    .tx-card-row {
        display: flex;
        align-items: flex-start;
        gap: 0.55rem;
    }

    .tx-card-row > .tx-card {
        flex: 1;
        min-width: 0;
    }

    .tx-card-check {
        flex-shrink: 0;
        width: 1.15rem;
        height: 1.15rem;
        margin-top: 0.85rem;
    }

    /* Bonnen "Nog te koppelen": thumbnail + naam op de eerste regel,
       badges/knoppen wikkelen eronder i.p.v. buiten beeld te lopen. */
    .attachment-item-main {
        flex-wrap: wrap;
    }

    .receipt-header {
        flex: 1 1 100%;
    }

    /* Verrekeningen: tabellen vervangen door verticale kaarten */
    .settle-table-scroll {
        display: none;
    }

    .settle-cards {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
    }

    .login-box {
        width: 90vw;
        max-width: 320px;
    }
}

dialog.modal {
    border: none;
    border-radius: 8px;
    padding: 1.5rem 1.6rem;
    max-width: 480px;
    width: 90%;
    background: var(--card-bg);
    box-shadow: var(--shadow-3);
    font-family: inherit;
    color: var(--text);
}

dialog.modal::backdrop {
    background: rgba(15, 23, 42, 0.45);
}

dialog.modal h2 {
    margin-top: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

dialog.modal .form-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

dialog.modal .dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 1rem;
}

/* Bredere popup met scrollbare tabel, bv. gesynchroniseerde Amazon-bestellingen */
dialog.modal-wide {
    max-width: 720px;
    max-height: 80vh;
    overflow-y: auto;
}

/* Bonnen: preview-popup voor een geuploade bon */
dialog.modal-preview {
    max-width: 95vw;
    width: 95vw;
    max-height: 92vh;
    height: 92vh;
    padding: 0.75rem;
    flex-direction: column;
}

dialog.modal-preview[open] {
    display: flex;
}

.preview-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.preview-body {
    flex: 1;
    overflow: auto;
    text-align: center;
    background: var(--bg);
    border-radius: 6px;
}

.preview-body img {
    max-width: 100%;
    max-height: 100%;
    cursor: zoom-in;
}

.preview-body img.zoomed {
    max-width: none;
    max-height: none;
    transform: scale(2.5);
    transform-origin: top left;
    cursor: zoom-out;
}

/* Bonnen: koppel-dialoog met transactie-zoekresultaten */
.link-results {
    list-style: none;
    margin: 0.85rem 0 0;
    padding: 0;
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.link-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    text-align: left;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0.7rem;
    font: inherit;
    cursor: pointer;
}

.link-result:hover,
.link-result:focus-visible {
    border-color: var(--accent);
}

.link-result .link-result-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Regel-popup: live voorbeeld van transacties die met de instellingen overeenkomen */
.rule-preview {
    margin-top: 0.85rem;
}

.rule-preview:empty {
    margin-top: 0;
}

.filter-bar .rule-preview {
    flex: 1 1 100%;
}

.rule-preview-list {
    max-height: 180px;
}

.rule-preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
}

.rule-preview-item .link-result-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Regels: meerdere rekeningen selecteren via vinkjes ("Van"/"Naar rekening") */
.multi-select {
    position: relative;
}

.multi-select > summary {
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #fff;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.multi-select > summary::-webkit-details-marker {
    display: none;
}

.multi-select > summary::after {
    content: "▾";
    float: right;
    color: var(--muted);
    margin-left: 0.5rem;
}

.multi-select[open] > summary {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.2);
}

.multi-select-options {
    position: absolute;
    z-index: 30;
    top: calc(100% + 4px);
    left: 0;
    min-width: 100%;
    max-height: 220px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: var(--shadow-2);
    padding: 0.3rem;
}

.multi-select-options label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text);
    cursor: pointer;
    white-space: nowrap;
}

.multi-select-options label:hover {
    background: var(--bg);
}

/* Import preview: duplicate rijen */
.import-row-dup td {
    opacity: 0.4;
    text-decoration: line-through;
}

.import-row-dup td:last-child {
    text-decoration: none;
    opacity: 0.6;
}

.import-counts {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

/* Import page: account list met laatste transactiedatum */
.import-accounts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.import-accounts-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.import-account-date {
    font-size: 0.8rem;
    color: var(--muted);
}

.import-account-stale {
    color: var(--red);
    font-weight: 500;
}

/* Import page: wachtende gedeelde bestanden */
.pending-import-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pending-import-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
