/* /Layout/Drawer.razor.rz.scp.css */
.drawer-root[b-u46hnpq1hk] {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid
}

.drawer-backdrop[b-u46hnpq1hk] {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.25);
    backdrop-filter: blur(2px)
}

.drawer-panel[b-u46hnpq1hk] {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(85vw,320px);
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    animation: drawer-in-b-u46hnpq1hk .2s ease-out
}

@keyframes drawer-in-b-u46hnpq1hk {
    from {
        transform: translateX(-100%);
        opacity: .7
    }

    to {
        transform: translateX(0);
        opacity: 1
    }
}

.drawer-header[b-u46hnpq1hk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: 12px;
    border-bottom: 1px solid #eaeaea
}

.drawer-title[b-u46hnpq1hk] {
    font-size: 1.1rem;
    margin: 0
}

.drawer-content[b-u46hnpq1hk] {
    padding: 12px;
    overflow: auto
}

@media (prefers-color-scheme: dark) {
    .drawer-panel[b-u46hnpq1hk] {
        background: #1a1a1a
    }

    .drawer-header[b-u46hnpq1hk] {
        border-bottom-color: #333
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
:root[b-nclq0qhg3h] {
    --appbar-h: 56px; /* comfy finger height */
    --tabbar-h: 64px;
    --sidebar-w: 260px;
    --pad: 16px;
}

/* Top App Bar */
.appbar[b-nclq0qhg3h] {
    position: sticky;
    top: 0;
    height: var(--appbar-h);
    display: grid;
    grid-template-columns: 56px 1fr 56px; /* left btn, title, right btn */
    align-items: center;
    padding: 0 4px;
    backdrop-filter: saturate(180%) blur(10px);
    background: color-mix(in srgb, #fff 85%, transparent);
    border-bottom: 1px solid #eaeaea;
    z-index: 1000;
}

    .appbar .title[b-nclq0qhg3h] {
        font-size: 1.1rem;
        margin: 0;
        text-align: center;
    }

.icon-btn[b-nclq0qhg3h] {
    height: 44px;
    width: 44px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: none;
    background: transparent;
}

    .icon-btn:active[b-nclq0qhg3h] {
        background: #efefef;
    }

/* Shell layout */
.shell[b-nclq0qhg3h] {
    display: grid;
    grid-template-columns: 1fr;
    min-height: calc(100dvh - var(--appbar-h));
}

/* Sidebar hidden by default (mobile), shown on large screens */
.sidebar[b-nclq0qhg3h] {
    display: none;
}

/* Content area leaves space for bottom tabs on phones */
.content[b-nclq0qhg3h] {
    padding-bottom: calc(var(--tabbar-h) + 8px);
}

.page-pad[b-nclq0qhg3h] {
    padding: var(--pad);
}

/* Bottom Tab Bar */
.mobile-nav[b-nclq0qhg3h] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--tabbar-h);
    border-top: 1px solid #eaeaea;
    background: #fff;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}

    .mobile-nav a[b-nclq0qhg3h] {
        display: grid;
        place-items: center;
        font-size: .85rem;
        text-decoration: none;
        color: #555;
        gap: 4px;
        padding-top: 6px;
    }

        .mobile-nav a.active[b-nclq0qhg3h] {
            color: #0d6efd;
            font-weight: 600;
        }

/* Larger screens: switch to sidebar layout */
@media (min-width: 992px) {
    .shell[b-nclq0qhg3h] {
        grid-template-columns: var(--sidebar-w) 1fr;
    }

    .sidebar[b-nclq0qhg3h] {
        display: block;
        border-right: 1px solid #eaeaea;
        padding: 12px;
        position: sticky;
        top: var(--appbar-h);
        align-self: start;
        height: calc(100dvh - var(--appbar-h));
        overflow: auto;
    }

        .sidebar .nav-item[b-nclq0qhg3h] {
            display: block;
            padding: 10px 12px;
            margin-bottom: 6px;
            border-radius: 10px;
            text-decoration: none;
            color: #333;
        }

            .sidebar .nav-item.active[b-nclq0qhg3h] {
                background: #f2f6ff;
                color: #0d6efd;
            }

    .content[b-nclq0qhg3h] {
        padding-bottom: 0;
    }

    .mobile-nav[b-nclq0qhg3h] {
        display: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .appbar[b-nclq0qhg3h] {
        background: color-mix(in srgb, #1f1f1f 85%, transparent);
        border-bottom-color: #333;
    }

    body[b-nclq0qhg3h] {
        background: #111;
        color: #eee;
    }

    .mobile-nav[b-nclq0qhg3h] {
        background: #1a1a1a;
        border-top-color: #333;
    }

        .mobile-nav a[b-nclq0qhg3h] {
            color: #ccc;
        }

            .mobile-nav a.active[b-nclq0qhg3h] {
                color: #86b7ff;
            }

    .sidebar[b-nclq0qhg3h] {
        border-right-color: #333;
    }
}
/* /Pages/Home.razor.rz.scp.css */
:root[b-do0c0nq46k] {
    --pad: 16px;
    --card-w: min(92vw, 420px);
    --radius: 16px;
    --gap: 6px;
    --row-h: 180px; /* base desktop tile height */
}

.hero[b-do0c0nq46k] {
    position: relative;
    min-height: 100dvh;
    overflow: hidden;
}

/* ===== Desktop/Tablet: Collage ===== */
.collage[b-do0c0nq46k] {
    position: absolute;
    inset: 0;
    min-height: 100dvh; /* fill the screen */
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: var(--row-h);
    grid-auto-flow: dense; /* pack spans without gaps */
    gap: var(--gap);
    padding: var(--gap);
    filter: saturate(105%);
    z-index: 0;
}

/* collage tiles + image treatment */
.tile[b-do0c0nq46k] {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #000; /* in case image is slow to load */
}

    .tile img[b-do0c0nq46k] {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.02);
        filter: brightness(0.9);
    }

/* span variants for variety */
.span-1x1[b-do0c0nq46k] {
    grid-column: span 1;
    grid-row: span 1;
}

.span-2x1[b-do0c0nq46k] {
    grid-column: span 2;
    grid-row: span 1;
}

.span-1x2[b-do0c0nq46k] {
    grid-column: span 1;
    grid-row: span 2;
}

.span-2x2[b-do0c0nq46k] {
    grid-column: span 2;
    grid-row: span 2;
}

/* ===== Phone: Slideshow ===== */
.slideshow[b-do0c0nq46k] {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: none;
}

.slide-image[b-do0c0nq46k] {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: kenburns-b-do0c0nq46k 12s ease-in-out infinite alternate;
}

@keyframes kenburns-b-do0c0nq46k {
    from {
        transform: scale(1.05) translate3d(0,0,0);
    }

    to {
        transform: scale(1.12) translate3d(0,0,0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .slide-image[b-do0c0nq46k] {
        animation: none;
    }
}

/* Readability overlay above background */
.overlay[b-do0c0nq46k] {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55));
    z-index: 1;
}

/* Centered login section (on top) */
.login-wrap[b-do0c0nq46k] {
    position: relative;
    z-index: 2;
    min-height: 100dvh;
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
    color: #fff;
    padding: calc(var(--pad)*2) var(--pad) calc(88px + env(safe-area-inset-bottom));
    gap: 16px;
}

.brand h1[b-do0c0nq46k] {
    margin: 8px 0 2px;
    font-size: clamp(22px, 4vw, 28px);
    letter-spacing: .3px;
}

.brand .tag[b-do0c0nq46k] {
    margin: 0;
    opacity: .9;
}

/* Glass login card */
.card[b-do0c0nq46k] {
    width: var(--card-w);
    text-align: left;
    background: color-mix(in srgb, #ffffff 78%, transparent);
    backdrop-filter: blur(10px) saturate(140%);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

/* Form styles */
.field[b-do0c0nq46k] {
    margin-bottom: 12px;
}

label[b-do0c0nq46k] {
    display: block;
    margin: 0 0 6px;
    color: #111;
    font-weight: 600;
}

.input[b-do0c0nq46k] {
    width: 100%;
    border: 1px solid #d7d7d7;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 16px;
    background: #fff;
    outline: none;
}

    .input:focus[b-do0c0nq46k] {
        border-color: #0d6efd;
        box-shadow: 0 0 0 3px rgba(13,110,253,.15);
    }

.pwd-row[b-do0c0nq46k] {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
}

.btn-icon[b-do0c0nq46k] {
    height: 44px;
    width: 44px;
    display: grid;
    place-items: center;
    border: 1px solid #d7d7d7;
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
}

.btn-primary[b-do0c0nq46k] {
    width: 100%;
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    background: #0d6efd;
    color: #fff;
    cursor: pointer;
}

    .btn-primary:disabled[b-do0c0nq46k] {
        opacity: .7;
        cursor: default;
    }

.help[b-do0c0nq46k] {
    display: block;
    margin-top: 6px;
    color: #444;
    font-size: .85rem;
}

.validation-message[b-do0c0nq46k] {
    color: #b00020;
}

.links[b-do0c0nq46k] {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

    .links a[b-do0c0nq46k] {
        color: #0d6efd;
        text-decoration: none;
    }

        .links a:hover[b-do0c0nq46k] {
            text-decoration: underline;
        }

/* ===== Responsive sizing for the collage ===== */
/* Very large desktop (4K-ish) */
@media (min-width: 1600px) {
    .collage[b-do0c0nq46k] {
        grid-template-columns: repeat(8, 1fr);
        --row-h: 220px;
    }
}
/* Large desktop */
@media (min-width: 1400px) and (max-width: 1599.98px) {
    .collage[b-do0c0nq46k] {
        grid-template-columns: repeat(7, 1fr);
        --row-h: 200px;
    }
}
/* Default desktop/laptop */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .collage[b-do0c0nq46k] {
        grid-template-columns: repeat(6, 1fr);
        --row-h: 180px;
    }
}
/* Small laptop / large tablet landscape */
@media (max-width: 1199.98px) {
    .collage[b-do0c0nq46k] {
        grid-template-columns: repeat(5, 1fr);
        --row-h: 140px;
    }
}
/* Tablet */
@media (max-width: 991.98px) {
    .collage[b-do0c0nq46k] {
        grid-template-columns: repeat(4, 1fr);
        --row-h: 110px;
    }
}
/* Phones: switch to slideshow */
@media (max-width: 767.98px) {
    .collage[b-do0c0nq46k] {
        display: none;
    }

    .slideshow[b-do0c0nq46k] {
        display: block;
    }

    .overlay[b-do0c0nq46k] {
        background: rgba(0,0,0,.6);
    }
    /* darker for readability outdoors */
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .card[b-do0c0nq46k] {
        background: color-mix(in srgb, #1a1a1a 80%, transparent);
        border-color: rgba(255,255,255,.2);
    }

    label[b-do0c0nq46k] {
        color: #eee;
    }

    .input[b-do0c0nq46k], .btn-icon[b-do0c0nq46k] {
        background: #111;
        color: #eee;
        border-color: #333;
    }

    .help[b-do0c0nq46k] {
        color: #bbb;
    }
}

/* Fallback if no images */
.collage-fallback[b-do0c0nq46k] {
    position: absolute;
    inset: 0;
    background: #111;
}
