/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-883c3d7rlx] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-883c3d7rlx] {
    flex: 1;
}

/* Sidebar is now just a flex shell — background, width, and sticky behaviour
   are all controlled by nav-outer inside NavMenu. */
.sidebar[b-883c3d7rlx] {
    flex-shrink: 0;
}

.top-row[b-883c3d7rlx] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-883c3d7rlx]  a, .top-row[b-883c3d7rlx]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-883c3d7rlx]  a:hover, .top-row[b-883c3d7rlx]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-883c3d7rlx]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-883c3d7rlx] {
        justify-content: space-between;
    }

    .top-row[b-883c3d7rlx]  a, .top-row[b-883c3d7rlx]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-883c3d7rlx] {
        flex-direction: row;
    }

    .top-row[b-883c3d7rlx] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-883c3d7rlx]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-883c3d7rlx], article[b-883c3d7rlx] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* ── Mobile: hide icon-rail, use only hamburger ── */
/* On small screens the icon-rail stacks vertically and covers content.
   Mobile users navigate exclusively via the hamburger (≡) toggler.    */
@media (max-width: 640px) {
    .icon-rail[b-rmvqa21303] { display: none !important; }
}

.nav-outer[b-rmvqa21303] {
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    width: 100%;          /* mobile: full width */
    overflow: hidden;
    transition: width 0.22s ease;
}

/* ── Collapsed / expanded width on desktop ── */
@media (min-width: 641px) {
    .nav-outer[b-rmvqa21303] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        /* Sit above page content in both open and closed states */
        z-index: 1000;
    }

    .nav-outer.nav-is-closed[b-rmvqa21303] {
        /* Icon-rail: wide enough for the logo icon only */
        width: 64px;
        /* Allow flyout panels to escape the narrow rail */
        overflow: visible;
        /* Ensure flyouts stack above ALL page content */
        z-index: 1000;
    }

    /* Show nav-scrollable when the nav is open (state-driven, not media-driven) */
    .nav-outer.nav-is-open .collapse[b-rmvqa21303] {
        display: block !important;
    }

    /* Toggler button hidden on desktop — logo click opens/closes instead */
    .navbar-toggler[b-rmvqa21303] {
        display: none;
    }

    .nav-scrollable[b-rmvqa21303] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

/* ── Top row (logo bar) ── */
.navbar-toggler[b-rmvqa21303] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-rmvqa21303] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-rmvqa21303] {
    font-size: 1.1rem;
}

.bi[b-rmvqa21303] {
    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-rmvqa21303] {
    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-rmvqa21303] {
    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-rmvqa21303] {
    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-rmvqa21303] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-rmvqa21303] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-rmvqa21303] {
        padding-bottom: 1rem;
    }

    .nav-item[b-rmvqa21303]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-rmvqa21303]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-rmvqa21303]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}
/* /Pages/TenantPortal.razor.rz.scp.css */
/* Windham Court resident portal — phone-first, plain and calm. */
.tp[b-z1woac5ea4] {
    --tp-teal: #006B7D;
    --tp-teal-dark: #00525f;
    --tp-bg: #f4f6f7;
    --tp-card: #ffffff;
    --tp-text: #1d2427;
    --tp-muted: #5f6b70;
    --tp-line: #dde3e5;
    min-height: 100vh;
    background: var(--tp-bg);
    color: var(--tp-text);
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    font-size: 16px;
}

.tp-head[b-z1woac5ea4] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--tp-teal);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 5;
}
.tp-logo[b-z1woac5ea4] { width: 36px; height: 36px; border-radius: 8px; background: #fff; }
.tp-head-text[b-z1woac5ea4] { flex: 1; min-width: 0; }
.tp-title[b-z1woac5ea4] { font-weight: 600; font-size: 17px; line-height: 1.2; }
.tp-sub[b-z1woac5ea4] { font-size: 13px; opacity: .85; }
.tp-head .tp-link[b-z1woac5ea4] { color: #fff; }

.tp-main[b-z1woac5ea4] {
    max-width: 640px;
    margin: 0 auto;
    padding: 16px 16px 48px;
}

.tp h1[b-z1woac5ea4] { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.tp h2[b-z1woac5ea4] { font-size: 16px; font-weight: 600; margin: 0 0 8px; }

.tp-card[b-z1woac5ea4] {
    display: block;
    width: 100%;
    text-align: left;
    background: var(--tp-card);
    border: 1px solid var(--tp-line);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
    color: inherit;
    font: inherit;
}
.tp-item[b-z1woac5ea4] { cursor: pointer; }
.tp-item:active[b-z1woac5ea4] { background: #eef3f4; }
.tp-item-desc[b-z1woac5ea4] {
    margin: 4px 0;
    color: var(--tp-text);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.tp-empty[b-z1woac5ea4] { text-align: center; }

.tp-row[b-z1woac5ea4] { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.tp-row h1[b-z1woac5ea4] { margin: 0; }

.tp-label[b-z1woac5ea4] { display: block; font-weight: 600; font-size: 14px; margin: 16px 0 6px; }
.tp-input[b-z1woac5ea4] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #b9c4c8;
    border-radius: 8px;
    padding: 11px 12px;
    font: inherit;
    font-size: 16px;   /* 16px stops iOS zooming into the field */
    background: #fff;
    margin-bottom: 10px;
}
.tp-input:focus[b-z1woac5ea4] { outline: 2px solid var(--tp-teal); outline-offset: 0; border-color: var(--tp-teal); }
.tp-code[b-z1woac5ea4] { font-size: 26px; letter-spacing: 8px; text-align: center; }

.tp-btn[b-z1woac5ea4] {
    display: inline-block;
    border: 0;
    border-radius: 8px;
    background: var(--tp-teal);
    color: #fff;
    font: inherit;
    font-weight: 600;
    padding: 12px 18px;
    cursor: pointer;
    width: 100%;
}
.tp-btn:hover:not(:disabled)[b-z1woac5ea4] { background: var(--tp-teal-dark); }
.tp-btn:disabled[b-z1woac5ea4] { opacity: .5; cursor: default; }
.tp-btn-sm[b-z1woac5ea4] { width: auto; padding: 8px 14px; font-size: 14px; }

.tp-link[b-z1woac5ea4] {
    background: none;
    border: 0;
    padding: 6px 0;
    color: var(--tp-teal);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}
.tp-back[b-z1woac5ea4] { display: block; margin-bottom: 8px; text-decoration: none; font-size: 15px; }

.tp-muted[b-z1woac5ea4] { color: var(--tp-muted); }
.tp-small[b-z1woac5ea4] { font-size: 13px; }
.tp-center[b-z1woac5ea4] { text-align: center; margin-top: 16px; }
.tp-error[b-z1woac5ea4] { color: #a4262c; font-size: 14px; margin: 8px 0; }
.tp-flash[b-z1woac5ea4] { background: #e6f4ea; border: 1px solid #b7dfc3; color: #1e5631; border-radius: 8px; padding: 10px 12px; }
.tp-emergency[b-z1woac5ea4] { background: #fff4e5; border: 1px solid #f3cf9a; border-radius: 8px; padding: 10px 12px; font-size: 14px; }

.tp-chips[b-z1woac5ea4] { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-chip[b-z1woac5ea4] {
    border: 1px solid #b9c4c8;
    background: #fff;
    border-radius: 18px;
    padding: 8px 14px;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    color: var(--tp-text);
}
.tp-chip.on[b-z1woac5ea4] { background: var(--tp-teal); border-color: var(--tp-teal); color: #fff; }

.tp-photos[b-z1woac5ea4] { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.tp-thumb[b-z1woac5ea4] {
    position: relative;
    width: 84px;
    height: 84px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--tp-line);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tp-thumb img[b-z1woac5ea4] { width: 100%; height: 100%; object-fit: cover; }
.tp-thumb-x[b-z1woac5ea4] {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    border: 0;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: 16px;
    line-height: 22px;
    cursor: pointer;
}
.tp-add[b-z1woac5ea4] { border-style: dashed; color: var(--tp-teal); font-weight: 600; cursor: pointer; }
.tp-add[b-z1woac5ea4]  .tp-file { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.tp-status[b-z1woac5ea4] {
    font-size: 12px;
    font-weight: 600;
    border-radius: 10px;
    padding: 3px 9px;
    white-space: nowrap;
}
.tp-status.new[b-z1woac5ea4]    { background: #e8f1fb; color: #1d4f86; }
.tp-status.work[b-z1woac5ea4]   { background: #fff4e5; color: #8a5300; }
.tp-status.done[b-z1woac5ea4]   { background: #e6f4ea; color: #1e5631; }
.tp-status.cancel[b-z1woac5ea4] { background: #eceff0; color: #5f6b70; }

.tp-desc[b-z1woac5ea4] { white-space: pre-wrap; margin: 12px 0; }
.tp-facts[b-z1woac5ea4] { display: grid; gap: 4px; font-size: 14px; }
.tp-facts span[b-z1woac5ea4] { color: var(--tp-muted); display: inline-block; min-width: 130px; }

.tp-msg[b-z1woac5ea4] { border-left: 3px solid var(--tp-line); padding: 4px 10px; margin: 8px 0; }
.tp-msg-text[b-z1woac5ea4] { white-space: pre-wrap; }
.tp-msg.mine[b-z1woac5ea4] { border-left-color: var(--tp-teal); }
.tp-msg-who[b-z1woac5ea4] { font-size: 12px; color: var(--tp-muted); }

/* Balance */
.tp-balance[b-z1woac5ea4] { text-align: center; }
.tp-balance-amt[b-z1woac5ea4] { font-size: 34px; font-weight: 700; margin: 4px 0; }
.tp-balance-amt.due[b-z1woac5ea4], .tp-balance-small.due[b-z1woac5ea4] { color: #a4262c; }
.tp-balance-amt.credit[b-z1woac5ea4], .tp-balance-small.credit[b-z1woac5ea4], .tp-credit[b-z1woac5ea4] { color: #1e5631; }
.tp-balance-small[b-z1woac5ea4] { font-weight: 700; }
.tp-pay[b-z1woac5ea4] { display: block; margin: 14px 0 6px; text-decoration: none; text-align: center; box-sizing: border-box; }
.tp-line[b-z1woac5ea4] { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--tp-line); }
.tp-line:first-of-type[b-z1woac5ea4] { border-top: 0; }
.tp-line-main[b-z1woac5ea4] { min-width: 0; }
.tp-line-detail[b-z1woac5ea4] { overflow-wrap: anywhere; }
.tp-line-amt[b-z1woac5ea4] { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tp-line-total[b-z1woac5ea4] { font-weight: 700; border-top: 2px solid var(--tp-text); }
