/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ixzexzlavx] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ixzexzlavx] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: auto;
}

.sidebar[b-ixzexzlavx] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-ixzexzlavx] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

    .top-row[b-ixzexzlavx]  a, .top-row[b-ixzexzlavx]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-ixzexzlavx]  a:hover, .top-row[b-ixzexzlavx]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-ixzexzlavx]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-ixzexzlavx] {
        justify-content: space-between;
    }

    .top-row[b-ixzexzlavx]  a, .top-row[b-ixzexzlavx]  .btn-link {
        margin-left: 0;
    }

    main[b-ixzexzlavx] {
        overflow: auto;
        min-height: 0;
        height: auto;
    }

    article.content[b-ixzexzlavx] {
        overflow: visible;
        height: auto;
        min-height: 0;
        padding-bottom: 2rem;
    }
}

@media (min-width: 641px) {
    .page[b-ixzexzlavx] {
        flex-direction: row;
        height: 100vh;
        overflow: hidden;
    }

    .sidebar[b-ixzexzlavx] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }

    .top-row[b-ixzexzlavx] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-ixzexzlavx]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-ixzexzlavx], article[b-ixzexzlavx] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    article.content[b-ixzexzlavx] {
        flex: 1;
        min-height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        padding-top: 0 !important;
    }
}

#blazor-error-ui[b-ixzexzlavx] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-ixzexzlavx] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-acky6pmocu] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-acky6pmocu] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-acky6pmocu] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-acky6pmocu] {
    font-size: 1.1rem;
}

.bi[b-acky6pmocu] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-acky6pmocu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-acky6pmocu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-acky6pmocu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-acky6pmocu] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-acky6pmocu] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-acky6pmocu] {
        padding-bottom: 1rem;
    }

    .nav-item[b-acky6pmocu]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-acky6pmocu]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-acky6pmocu]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-acky6pmocu] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-acky6pmocu] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-acky6pmocu] {
        display: none;
    }

    .nav-scrollable[b-acky6pmocu] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Accounts.razor.rz.scp.css */
.accounts-header[b-1fhw2n39lc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.accounts-header-actions[b-1fhw2n39lc] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.dialog-overlay[b-1fhw2n39lc] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.dialog-box[b-1fhw2n39lc] {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.dialog-box--sm[b-1fhw2n39lc] {
    max-width: 360px;
}

.dialog-overlay--stacked[b-1fhw2n39lc] {
    z-index: 1001;
}

.dialog-box h4[b-1fhw2n39lc] {
    margin-bottom: 1.5rem;
}

.dialog-actions[b-1fhw2n39lc] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}

.readonly-field[b-1fhw2n39lc] {
    background-color: #f8f9fa;
}

.main-account-star[b-1fhw2n39lc] {
    color: #f59e0b;
    font-size: 1.1rem;
}
/* /Components/Pages/Calendar.razor.rz.scp.css */
.calendar-container[b-rcd7a1la25] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    padding: 0.5rem;
    box-sizing: border-box;
}

.calendar-header[b-rcd7a1la25] {
    flex-shrink: 0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.calendar-table--fullpage[b-rcd7a1la25] {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    flex: 1 1 0;
    min-height: 0;
}

.calendar-table--fullpage thead[b-rcd7a1la25] {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.calendar-table--fullpage th[b-rcd7a1la25],
.calendar-table--fullpage td[b-rcd7a1la25] {
    border: 1px solid #d0d0d0;
    padding: 4px 6px;
    vertical-align: top;
    text-align: left;
    overflow: hidden;
}

.calendar-table--fullpage tbody tr[b-rcd7a1la25] {
    height: calc(100% / 6);
}

.calendar-table--fullpage th[b-rcd7a1la25] {
    text-align: center;
}

.calendar-controls[b-rcd7a1la25] {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.day-number[b-rcd7a1la25] {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 0.85rem;
}

.day-balance[b-rcd7a1la25] {
    font-size: 0.8rem;
    color: #1d6f42;
    font-weight: 600;
    text-align: center;
    width: 100%;
    display: block;
    margin: 2px 0;
}

.day-today[b-rcd7a1la25] {
    background-color: #1d4ed8;
    color: white;
}

.day-today .day-number[b-rcd7a1la25] {
    color: white;
}

.day-today .day-balance[b-rcd7a1la25] {
    color: #bfdbfe;
}

.day-today .standing-order-badge[b-rcd7a1la25] {
    background-color: #1e40af;
    border-left-color: #93c5fd;
    color: white;
}

.day-negative[b-rcd7a1la25] {
    background-color: #fee2e2;
}

.day-negative .day-balance[b-rcd7a1la25] {
    color: #b91c1c;
}

.standing-order-badge[b-rcd7a1la25] {
    display: flex;
    justify-content: space-between;
    background-color: #dbeafe;
    border-left: 3px solid #3b82f6;
    border-radius: 3px;
    padding: 2px 4px;
    margin-top: 2px;
    font-size: 0.7rem;
    gap: 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.standing-order-badge--weekly[b-rcd7a1la25] {
    background-color: #fff3e0;
    border-left-color: #f97316;
}

.so-overflow[b-rcd7a1la25] {
    font-size: 0.7rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 2px;
    cursor: default;
    white-space: nowrap;
}

.end-balance[b-rcd7a1la25] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    min-width: 160px;
}

.end-balance-label[b-rcd7a1la25] {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.end-balance-amount[b-rcd7a1la25] {
    font-size: 1.2rem;
    font-weight: 700;
}

.end-balance--positive[b-rcd7a1la25] {
    background-color: #dcfce7;
    color: #15803d;
}

.end-balance--negative[b-rcd7a1la25] {
    background-color: #fee2e2;
    color: #b91c1c;
}

.backup-actions[b-rcd7a1la25] {
    display: flex;
    gap: 0.4rem;
    align-items: flex-end;
}

.backup-alert[b-rcd7a1la25] {
    flex-shrink: 0;
    margin-bottom: 0.4rem;
}

.month-picker-row[b-rcd7a1la25] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.calendar-desktop[b-rcd7a1la25] {
    display: table;
}

.calendar-mobile[b-rcd7a1la25] {
    display: none;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.calendar-mobile-scroll[b-rcd7a1la25] {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
}

.calendar-mobile-table[b-rcd7a1la25] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.calendar-mobile-table thead[b-rcd7a1la25] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f8fafc;
}

.calendar-mobile-table th[b-rcd7a1la25],
.calendar-mobile-table td[b-rcd7a1la25] {
    border-bottom: 1px solid #e5e7eb;
    padding: 0.55rem 0.45rem;
    vertical-align: top;
    text-align: left;
}

.calendar-mobile-table th[b-rcd7a1la25] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
}

.calendar-mobile-table th:nth-child(1)[b-rcd7a1la25],
.calendar-mobile-table td:nth-child(1)[b-rcd7a1la25] {
    width: 18%;
}

.calendar-mobile-table th:nth-child(2)[b-rcd7a1la25],
.calendar-mobile-table td:nth-child(2)[b-rcd7a1la25] {
    width: 27%;
}

.calendar-mobile-table th:nth-child(3)[b-rcd7a1la25],
.calendar-mobile-table td:nth-child(3)[b-rcd7a1la25] {
    width: 55%;
}

.calendar-mobile-day[b-rcd7a1la25] {
    white-space: nowrap;
}

.calendar-mobile-day-number[b-rcd7a1la25] {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.1;
}

.calendar-mobile-day-name[b-rcd7a1la25] {
    display: block;
    font-size: 0.7rem;
    color: #6b7280;
    text-transform: uppercase;
}

.calendar-mobile-balance[b-rcd7a1la25] {
    font-weight: 600;
    font-size: 0.85rem;
    color: #1d6f42;
    white-space: nowrap;
}

.calendar-mobile-debits-total[b-rcd7a1la25] {
    font-weight: 700;
    font-size: 0.8rem;
    color: #b45309;
    margin-bottom: 0.25rem;
}

.calendar-mobile-debit[b-rcd7a1la25] {
    display: flex;
    justify-content: space-between;
    gap: 0.35rem;
    font-size: 0.75rem;
    line-height: 1.3;
}

.calendar-mobile-debit-payee[b-rcd7a1la25] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calendar-mobile-debit-amount[b-rcd7a1la25] {
    flex-shrink: 0;
    color: #374151;
}

.calendar-mobile-empty[b-rcd7a1la25] {
    color: #9ca3af;
}

.calendar-mobile-row--negative .calendar-mobile-balance[b-rcd7a1la25] {
    color: #b91c1c;
}

.calendar-mobile-row--negative[b-rcd7a1la25] {
    background-color: #fee2e2;
}

.calendar-mobile-row--today[b-rcd7a1la25] {
    background-color: #eff6ff;
}

.calendar-mobile-row--today .calendar-mobile-day-number[b-rcd7a1la25] {
    color: #1d4ed8;
}

.calendar-mobile-row--weekend[b-rcd7a1la25] {
    background-color: #f9fafb;
}

@media (max-width: 640.98px) {
    .calendar-container.calendar-page[b-rcd7a1la25] {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
        height: 100%;
        overflow: hidden;
        padding: 0.5rem;
        box-sizing: border-box;
    }

    .calendar-header[b-rcd7a1la25] {
        flex-shrink: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .calendar-controls[b-rcd7a1la25] {
        flex-direction: column;
        align-items: stretch;
    }

    .end-balance[b-rcd7a1la25] {
        align-items: flex-start;
        min-width: 0;
    }

    .calendar-desktop[b-rcd7a1la25] {
        display: none !important;
    }

    .calendar-mobile[b-rcd7a1la25] {
        display: flex;
        flex: 1 1 auto;
        min-height: 0;
    }

    .calendar-mobile-scroll[b-rcd7a1la25] {
        flex: 1 1 auto;
        min-height: 40vh;
        max-height: none;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.home-container[b-o57dyasqik] {
    display: flex;
    min-height: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 40%, #7c3aed 75%, #db2777 100%);
}

/* ── Hero ─────────────────────────────────────── */
.home-hero[b-o57dyasqik] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 3rem 1.5rem;
}

.home-hero-content[b-o57dyasqik] {
    width: 100%;
    max-width: 560px;
    text-align: center;
    color: white;
}

.home-hero-title[b-o57dyasqik] {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.home-hero-tagline[b-o57dyasqik] {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

/* ── Feature tiles ────────────────────────────── */
.home-features[b-o57dyasqik] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.home-feature[b-o57dyasqik] {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    backdrop-filter: blur(6px);
}

.home-feature-icon[b-o57dyasqik] {
    font-size: 1.8rem;
    flex-shrink: 0;
    line-height: 1;
}

.home-feature strong[b-o57dyasqik] {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.home-feature p[b-o57dyasqik] {
    font-size: 0.875rem;
    opacity: 0.85;
    margin: 0;
}

/* ── Stat line ────────────────────────────────── */
.home-stat[b-o57dyasqik] {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

/* ── CTA buttons ──────────────────────────────── */
.home-actions[b-o57dyasqik] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.home-btn-login[b-o57dyasqik] {
    color: #1d4ed8;
    font-weight: 600;
}

/* ── Dialog ───────────────────────────────────── */
.dialog-overlay[b-o57dyasqik] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    z-index: 1000;
    padding: 1rem;
}

.dialog-box[b-o57dyasqik] {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin: auto;
}

.dialog-box h4[b-o57dyasqik] {
    margin-bottom: 1.5rem;
}

.dialog-actions[b-o57dyasqik] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-container[b-2cqyx0blh1] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f2f5;
}

.login-card[b-2cqyx0blh1] {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-card h2[b-2cqyx0blh1] {
    margin-bottom: 1.5rem;
    text-align: center;
}
/* /Components/Pages/Outgoings.razor.rz.scp.css */
.so-container[b-uzbxwki61b] {
    padding: 1rem;
}

.so-header[b-uzbxwki61b] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.so-header-actions[b-uzbxwki61b] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.so-account-select[b-uzbxwki61b] {
    max-width: 400px;
}

.so-actions[b-uzbxwki61b] {
    display: flex;
    gap: 0.4rem;
    white-space: nowrap;
}

.so-total-row[b-uzbxwki61b] {
    background-color: #f8f9fa;
    border-top: 2px solid #dee2e6;
}

    .so-total-row td[b-uzbxwki61b] {
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

/* Make table horizontally scrollable on small screens */
.so-table-wrapper[b-uzbxwki61b] {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.dialog-overlay[b-uzbxwki61b] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    z-index: 1000;
    padding: 1rem;
}

.dialog-box[b-uzbxwki61b] {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin: auto;
}

.dialog-box--sm[b-uzbxwki61b] {
    max-width: 360px;
}

.dialog-box h4[b-uzbxwki61b] {
    margin-bottom: 1.5rem;
}

.dialog-actions[b-uzbxwki61b] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}

.row-weekly td[b-uzbxwki61b] {
    background-color: #ffd4a5 !important;
}
