/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-cjps286n10] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

main[b-cjps286n10] {
    flex: 1;
}

/* Sticky header: brand on the left, account on the right */
.top-row[b-cjps286n10] {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 3.5rem;
    padding-top: env(safe-area-inset-top);
    background-color: rgba(247, 247, 247, .92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #d6d5d5;
}

    .top-row[b-cjps286n10]  a, .top-row[b-cjps286n10]  .btn-link {
        white-space: nowrap;
        text-decoration: none;
    }

.app-brand[b-cjps286n10] {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #052767;
    min-width: 0;
}

    .app-brand .brand-logo[b-cjps286n10] {
        margin-right: 0;
        background: linear-gradient(135deg, rgb(5, 39, 103), #3a0647);
        color: #fff;
    }

/* Keep content clear of the floating menu button */
.content[b-cjps286n10] {
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
}

@media (max-width: 400px) {
    /* Very small phones: logo only, more room for the account chip */
    .app-brand .brand-text[b-cjps286n10] {
        display: none;
    }
}

#blazor-error-ui[b-cjps286n10] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1040;
}

    #blazor-error-ui .dismiss[b-cjps286n10] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ---------- Floating action menu ---------- */

.fab-root[b-7flo34zjb2] {
    --fab-size: 3.75rem;
    --fab-gap: 1.25rem;
    --fab-gradient: linear-gradient(135deg, rgb(5, 39, 103) 0%, #3a0647 100%);
}

/* Round button, bottom-right, above the iPhone home bar */
.fab-button[b-7flo34zjb2] {
    position: fixed;
    right: calc(var(--fab-gap) + env(safe-area-inset-right));
    bottom: calc(var(--fab-gap) + env(safe-area-inset-bottom));
    z-index: 1031;
    width: var(--fab-size);
    height: var(--fab-size);
    border: none;
    border-radius: 50%;
    background: var(--fab-gradient);
    color: #fff;
    box-shadow: 0 6px 20px rgba(5, 39, 103, .35), 0 2px 6px rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    -webkit-tap-highlight-color: transparent;
}

    .fab-button:hover[b-7flo34zjb2] {
        box-shadow: 0 8px 26px rgba(5, 39, 103, .45), 0 3px 8px rgba(0, 0, 0, .25);
    }

    .fab-button:active[b-7flo34zjb2] {
        transform: scale(.94);
    }

    .fab-button:focus-visible[b-7flo34zjb2] {
        outline: 3px solid #258cfb;
        outline-offset: 3px;
    }

/* Hamburger that morphs into an X */
.fab-icon[b-7flo34zjb2] {
    position: relative;
    width: 1.4rem;
    height: 1rem;
}

    .fab-icon span[b-7flo34zjb2] {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: #fff;
        transition: transform .25s ease, opacity .2s ease, top .25s ease;
    }

        .fab-icon span:nth-child(1)[b-7flo34zjb2] { top: 0; }
        .fab-icon span:nth-child(2)[b-7flo34zjb2] { top: calc(50% - 1px); }
        .fab-icon span:nth-child(3)[b-7flo34zjb2] { top: calc(100% - 2px); }

.fab-open .fab-icon span:nth-child(1)[b-7flo34zjb2] {
    top: calc(50% - 1px);
    transform: rotate(45deg);
}

.fab-open .fab-icon span:nth-child(2)[b-7flo34zjb2] {
    opacity: 0;
}

.fab-open .fab-icon span:nth-child(3)[b-7flo34zjb2] {
    top: calc(50% - 1px);
    transform: rotate(-45deg);
}

/* Menu items stacked above the button (speed-dial) */
.fab-menu[b-7flo34zjb2] {
    position: fixed;
    right: calc(var(--fab-gap) + env(safe-area-inset-right));
    bottom: calc(var(--fab-gap) + var(--fab-size) + .75rem + env(safe-area-inset-bottom));
    z-index: 1031;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .65rem;
    pointer-events: none;
}

.fab-menu[b-7flo34zjb2]  .fab-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    opacity: 0;
    transform: translateY(12px) scale(.9);
    transition: opacity .18s ease, transform .2s ease;
    pointer-events: none;
}

.fab-open .fab-menu[b-7flo34zjb2] {
    pointer-events: auto;
}

    .fab-open .fab-menu[b-7flo34zjb2]  .fab-item {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

        /* staggered entrance */
        .fab-open .fab-menu[b-7flo34zjb2]  .fab-item:nth-last-child(1) { transition-delay: 0s; }
        .fab-open .fab-menu[b-7flo34zjb2]  .fab-item:nth-last-child(2) { transition-delay: .03s; }
        .fab-open .fab-menu[b-7flo34zjb2]  .fab-item:nth-last-child(3) { transition-delay: .06s; }
        .fab-open .fab-menu[b-7flo34zjb2]  .fab-item:nth-last-child(4) { transition-delay: .09s; }
        .fab-open .fab-menu[b-7flo34zjb2]  .fab-item:nth-last-child(5) { transition-delay: .12s; }
        .fab-open .fab-menu[b-7flo34zjb2]  .fab-item:nth-last-child(6) { transition-delay: .15s; }

.fab-menu[b-7flo34zjb2]  .fab-item-label {
    padding: .45rem .9rem;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-size: .95rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .15);
}

.fab-menu[b-7flo34zjb2]  .fab-item-icon {
    width: 3rem;
    height: 3rem;
    margin-right: calc((var(--fab-size) - 3rem) / 2); /* center under the main button */
    border-radius: 50%;
    background: var(--fab-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(5, 39, 103, .3);
}

.fab-menu[b-7flo34zjb2]  .fab-item.active .fab-item-label {
    background: #1b6ec2;
    color: #fff;
}

.fab-menu[b-7flo34zjb2]  .fab-item.active .fab-item-icon {
    outline: 3px solid #fff;
    box-shadow: 0 0 0 5px #1b6ec2;
}

.fab-menu[b-7flo34zjb2]  .fab-item:hover .fab-item-label,
.fab-menu[b-7flo34zjb2]  .fab-item:focus-visible .fab-item-label {
    box-shadow: 0 0 0 2px #258cfb, 0 3px 12px rgba(0, 0, 0, .15);
}

.fab-menu[b-7flo34zjb2]  .fab-item:focus-visible {
    outline: none;
}

/* Dim the page while the menu is open (tap to close) */
.fab-backdrop[b-7flo34zjb2] {
    position: fixed;
    inset: 0;
    z-index: 1030;
    background: rgba(17, 24, 39, .35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
}

.fab-open .fab-backdrop[b-7flo34zjb2] {
    opacity: 1;
    pointer-events: auto;
}

@media (min-width: 768px) {
    .fab-root[b-7flo34zjb2] {
        --fab-gap: 2rem;
    }

    .fab-backdrop[b-7flo34zjb2] {
        background: rgba(17, 24, 39, .15);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fab-button[b-7flo34zjb2], .fab-icon span[b-7flo34zjb2], .fab-menu[b-7flo34zjb2]  .fab-item, .fab-backdrop[b-7flo34zjb2] {
        transition: none !important;
    }
}

/* ---------- Icons (white) ---------- */

.bi[b-7flo34zjb2] {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    background-size: cover;
}

.bi-house-door-fill[b-7flo34zjb2] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' 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-car-front-fill[b-7flo34zjb2] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M2.52 3.515A2.5 2.5 0 0 1 4.82 2h6.362c1 0 1.904.596 2.298 1.515l.792 1.848c.075.175.21.319.38.404.5.25.855.715.965 1.262l.335 1.679q.05.242.049.49v.413c0 .814-.39 1.543-1 1.997V13.5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-1.338c-1.292.048-2.745.088-4 .088s-2.708-.04-4-.088V13.5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-1.892c-.61-.454-1-1.183-1-1.997v-.413a2.5 2.5 0 0 1 .049-.49l.335-1.68c.11-.546.465-1.012.964-1.261a.8.8 0 0 0 .381-.404l.792-1.848ZM3 10a1 1 0 1 0 0-2 1 1 0 0 0 0 2m10 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2M6 8a1 1 0 0 0 0 2h4a1 1 0 1 0 0-2zM2.906 5.189a.51.51 0 0 0 .497.731c.91-.073 3.35-.17 4.597-.17s3.688.097 4.597.17a.51.51 0 0 0 .497-.731l-.956-1.913A.5.5 0 0 0 11.691 3H4.309a.5.5 0 0 0-.447.276L2.906 5.19Z'/%3E%3C/svg%3E");
}

/* Sign out entry (phones): a <button> styled like the menu links */
.fab-item-form[b-7flo34zjb2] {
    margin: 0;
}

.fab-menu[b-7flo34zjb2]  .fab-item-signout {
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

    .fab-menu[b-7flo34zjb2]  .fab-item-signout .fab-item-label {
        color: #b02a37;
    }

    .fab-menu[b-7flo34zjb2]  .fab-item-signout .fab-item-icon {
        background: linear-gradient(135deg, #b02a37, #7a1d27);
    }

.bi-box-arrow-right[b-7flo34zjb2] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M10 12.5a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v2a.5.5 0 0 0 1 0v-2A1.5 1.5 0 0 0 9.5 2h-8A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h8a1.5 1.5 0 0 0 1.5-1.5v-2a.5.5 0 0 0-1 0z'/%3E%3Cpath fill-rule='evenodd' d='M15.854 8.354a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708.708L14.293 7.5H5.5a.5.5 0 0 0 0 1h8.793l-2.147 2.146a.5.5 0 0 0 .708.708z'/%3E%3C/svg%3E");
}

.bi-person-fill[b-7flo34zjb2] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}
