/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-sdjy94yez4] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header stays full-width across the top */
.top-row[b-sdjy94yez4] {
    background-color: var(--bg-white);
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    align-items: center;
    height: 72px;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.site-logo[b-sdjy94yez4] {
    height: 56px;
}

/* Footer legal/about links: wrap gracefully instead of shrinking to nothing */
.site-footer-links[b-sdjy94yez4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.9rem;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    list-style: none;
}

    .site-footer-links .about-link[b-sdjy94yez4] {
        white-space: nowrap;
    }

/* Body = sidebar + content, sitting BELOW the header */
.page-body[b-sdjy94yez4] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

main[b-sdjy94yez4] {
    flex: 1;
    min-width: 0;
}

.sidebar[b-sdjy94yez4] {
    background: #fff;
    border-right: 1px solid #ececec;
    box-shadow: 1px 0 3px rgba(0, 0, 0, 0.03);
    transition: width 0.2s ease;
}

/* Collapse toggle button (sits at top of sidebar) */
.sidebar-collapse-btn[b-sdjy94yez4] {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0.6rem;
    margin: 0.5rem;
    border: none;
    background: none;
    border-radius: 8px;
    color: #6b6b6b;
    transition: background-color 0.15s ease;
}

    .sidebar-collapse-btn:hover[b-sdjy94yez4] {
        background: var(--bg-light);
    }

.sidebar-collapse-btn .bi[b-sdjy94yez4] {
    display: inline-block;
    width: 1.15rem;
    height: 1.15rem;
    background-size: cover;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b6b6b' 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");
}

/* Side-by-side once there's room */
@media (min-width: 641px) {
    .page-body[b-sdjy94yez4] {
        flex-direction: row;
    }

    .sidebar[b-sdjy94yez4] {
        width: 250px;
        flex-shrink: 0;
        position: sticky;
        top: 72px;
        align-self: flex-start;
        height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .top-row[b-sdjy94yez4], article[b-sdjy94yez4] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Stack on narrow screens (hamburger takes over) */
@media (max-width: 640px) {
    .top-row[b-sdjy94yez4] {
        height: 64px;
    }

    .site-logo[b-sdjy94yez4] {
        height: 48px;
    }

    .sidebar[b-sdjy94yez4] {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ececec;
    }
}

#blazor-error-ui[b-sdjy94yez4] {
    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-sdjy94yez4] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.social-links[b-sdjy94yez4] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.social-link[b-sdjy94yez4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b6b6b;
    transition: color 0.15s ease, transform 0.15s ease;
}

    .social-link:hover[b-sdjy94yez4] {
        color: #000;
        transform: translateY(-1px);
    }
/* /Components/Layout/NavMenuHorizontal.razor.rz.scp.css */
/* ============ Desktop / inline (default) ============ */
.nav-horizontal[b-s05wilhqu4] {
    display: flex;
    align-items: center;
    position: relative;
}

.container-fluid[b-s05wilhqu4] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.navbar-toggle-horizontal[b-s05wilhqu4] {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    color: #2b2b2b;
    line-height: 0;
}

.nav[b-s05wilhqu4] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item[b-s05wilhqu4] {
    display: flex;
    align-items: center;
}

/* Single style for ALL links AND the logout <button> */
.nav-link[b-s05wilhqu4] {
    display: flex;
    align-items: center;
    /* gap removed — items are text-only now */
    color: #2b2b2b;
    background: none;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
}

    .nav-link:hover[b-s05wilhqu4],
    .nav-link.active[b-s05wilhqu4] {
        color: #b08d57;
    }

    .nav-link:focus[b-s05wilhqu4],
    .nav-link:focus-visible[b-s05wilhqu4] {
        outline: none;
        box-shadow: none;
    }

/* Logout <form> must fill its nav-item so the button highlight
   spans the full row in BOTH the dropdown and the hamburger */
.nav-item form[b-s05wilhqu4] {
    width: 100%;
    margin: 0;
    padding: 0;
}

    .nav-item form > .nav-link[b-s05wilhqu4] {
        width: 100%;
    }

/* Admin items appear only inside the collapsed hamburger */
.nav-admin-item[b-s05wilhqu4] {
    display: none;
}

/* ============ Account (icon + dropdown) ============ */
.account-menu[b-s05wilhqu4] {
    position: relative;
}

.account-toggle[b-s05wilhqu4] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;   /* keep spacing between the person icon and caret */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.45rem 0.6rem;
    border-radius: 999px;
    color: #2b2b2b;
    transition: background-color 0.15s ease, color 0.15s ease;
}

    .account-toggle:hover[b-s05wilhqu4] {
        background: #f6f1e7;
        color: #b08d57;
    }

.account-caret[b-s05wilhqu4] {
    transition: transform 0.15s ease;
}

.account-menu:has(.account-dropdown.open) .account-caret[b-s05wilhqu4] {
    transform: rotate(180deg);
}

.account-dropdown[b-s05wilhqu4] {
    display: none;
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    min-width: 210px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
    padding: 0.4rem;
    z-index: 1050;
    width: 100%;
}

    .account-dropdown.open[b-s05wilhqu4] {
        display: block;
    }

        .account-dropdown.open[b-s05wilhqu4]::before {
            content: "";
            position: absolute;
            top: -6px;
            right: 16px;
            width: 12px;
            height: 12px;
            background: #fff;
            border-left: 1px solid #ececec;
            border-top: 1px solid #ececec;
            transform: rotate(45deg);
        }

    /* Items inside the desktop dropdown behave like full-width rows */
    .account-dropdown .nav-item[b-s05wilhqu4] {
        width: 100%;
    }

    .account-dropdown .nav-link[b-s05wilhqu4] {
        width: 100%;
        padding: 0.6rem 0.85rem;
    }

        .account-dropdown .nav-link:hover[b-s05wilhqu4],
        .account-dropdown .nav-link.active[b-s05wilhqu4] {
            background: #f6f1e7;
        }

.account-icon[b-s05wilhqu4] {
    font-size: 1.1rem;
    line-height: 1;
}

/* ============ Collapsed: Authenticated <= 1455px ============ */
@media (max-width: 1075px) {
    .nav-horizontal.is-auth .navbar-toggle-horizontal[b-s05wilhqu4] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-horizontal.is-auth .nav[b-s05wilhqu4] {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        left: auto;
        width: max-content;
        min-width: 240px;
        max-width: 92vw;
        flex-direction: column;
        align-items: stretch;
        gap: 0.1rem;
        background: #fff;
        border: 1px solid #ececec;
        border-radius: 12px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
        padding: 0.5rem;
        z-index: 1050;
    }

    .nav-horizontal.is-auth.open .nav[b-s05wilhqu4] {
        display: flex;
    }

    .nav-horizontal.is-auth .nav-admin-item[b-s05wilhqu4] {
        display: flex;
    }

    .nav-horizontal.is-auth .nav-item[b-s05wilhqu4] {
        width: 100%;
        padding: 0 !important;
    }

    .nav-horizontal.is-auth .nav-link[b-s05wilhqu4] {
        width: 100%;
        padding: 0.7rem 0.9rem;
    }

        .nav-horizontal.is-auth .nav-link:hover[b-s05wilhqu4],
        .nav-horizontal.is-auth .nav-link.active[b-s05wilhqu4] {
            background: #f6f1e7;
        }

    /* Flatten the account menu into the list */
    .nav-horizontal.is-auth .account-menu[b-s05wilhqu4] {
        width: 100%;
        position: static;
        border-top: 1px solid #ececec;
        margin-top: 0.35rem;
        padding-top: 0.35rem;
    }

    .nav-horizontal.is-auth .account-toggle[b-s05wilhqu4] {
        display: none;
    }

    .nav-horizontal.is-auth .account-dropdown[b-s05wilhqu4] {
        display: block;
        position: static;
        background: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
        min-width: 0;
        padding: 0;
    }

        .nav-horizontal.is-auth .account-dropdown[b-s05wilhqu4]::before {
            display: none;
        }
}

/* ============ Collapsed: Everyone (logged out) <= 805px ============ */
@media (max-width: 805px) {
    .nav-horizontal .navbar-toggle-horizontal[b-s05wilhqu4] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-horizontal .nav[b-s05wilhqu4] {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        left: auto;
        width: max-content;
        min-width: 240px;
        max-width: 92vw;
        flex-direction: column;
        align-items: stretch;
        gap: 0.1rem;
        background: #fff;
        border: 1px solid #ececec;
        border-radius: 12px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
        padding: 0.5rem;
        z-index: 1050;
    }

    .nav-horizontal.open .nav[b-s05wilhqu4] {
        display: flex;
    }

    .nav-horizontal .nav-admin-item[b-s05wilhqu4] {
        display: flex;
    }

    .nav-horizontal .nav-item[b-s05wilhqu4] {
        width: 100%;
        padding: 0 !important;
    }

    .nav-horizontal .nav-link[b-s05wilhqu4] {
        width: 100%;
        padding: 0.7rem 0.9rem;
    }

        .nav-horizontal .nav-link:hover[b-s05wilhqu4],
        .nav-horizontal .nav-link.active[b-s05wilhqu4] {
            background: #f6f1e7;
        }

    .nav-horizontal .account-menu[b-s05wilhqu4] {
        width: 100%;
        position: static;
        border-top: 1px solid #ececec;
        margin-top: 0.35rem;
        padding-top: 0.35rem;
    }

    .nav-horizontal .account-toggle[b-s05wilhqu4] {
        display: none;
    }

    .nav-horizontal .account-dropdown[b-s05wilhqu4] {
        display: block;
        position: static;
        background: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
        min-width: 0;
        padding: 0;
    }

        .nav-horizontal .account-dropdown[b-s05wilhqu4]::before {
            display: none;
        }
}

/* Section groups + labels used inside the drawer */
.nav-section-group[b-s05wilhqu4] {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.nav-section-label[b-s05wilhqu4] {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9a8c72;
    padding: 0.6rem 0.9rem 0.2rem;
    border-top: 1px solid #ececec;
    margin-top: 0.35rem;
}

/* Desktop default: show desktop-only, hide drawer-only groups */
.drawer-only[b-s05wilhqu4] {
    display: none;
}

.desktop-only[b-s05wilhqu4] {
    display: flex;
}

/* ===== Authenticated collapse (<=1455px) ===== */
@media (max-width: 1075px) {
    .nav-horizontal.is-auth .desktop-only[b-s05wilhqu4] {
        display: none !important;
    }

    .nav-horizontal.is-auth .drawer-only[b-s05wilhqu4] {
        display: flex;
    }

    .nav-horizontal.is-auth .nav-section-group.drawer-only[b-s05wilhqu4] {
        display: flex;
    }
}

/* ===== Anonymous collapse (<=805px) ===== */
@media (max-width: 805px) {
    .nav-horizontal:not(.is-auth) .desktop-only[b-s05wilhqu4] {
        display: none !important;
    }

    .nav-horizontal:not(.is-auth) .drawer-only[b-s05wilhqu4] {
        display: flex;
    }
}

/* Icons inside the horizontal nav (light background => dark fill) */
.bi[b-s05wilhqu4] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-right: 0.4rem;
    top: 1px;
    position: relative;
    background-size: cover;
    vertical-align: -0.1em;
}
/* /Components/Layout/NavMenuVertical.razor.rz.scp.css */
/* ============================================================
   Sidebar (modern professional, light)
   ============================================================ */

/* Base icon: recolor the shared (dark) glyphs for the light sidebar */
.bi[b-1oqsjq5ynp] {
    display: inline-block;
    position: relative;
    width: 1.05rem;
    height: 1.05rem;
    top: 1px;
    background-size: cover;
    filter: brightness(0) saturate(100%) invert(28%) sepia(0%) saturate(0%) hue-rotate(0deg);
}

/* Section header (now a clickable toggle) */
.sidebar-header[b-1oqsjq5ynp] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    padding: 1.5rem 1.25rem 0.85rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #9a8c72;
    border: none;
    border-bottom: 1px solid #f0ece3;
    background: none;
    margin-bottom: 0.5rem;
    cursor: pointer;
    text-align: left;
    transition: color 0.15s ease;
}

    .sidebar-header:hover[b-1oqsjq5ynp] {
        color: #b08d57;
    }

    .sidebar-header .bi[b-1oqsjq5ynp] {
        width: 0.95rem;
        height: 0.95rem;
        top: 0;
    }

.sidebar-chevron[b-1oqsjq5ynp] {
    margin-left: auto;           /* push to the far right */
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(135deg);   /* points left = "collapse" */
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

/* Nav items */
.nav-item[b-1oqsjq5ynp] {
    padding: 0.12rem 0.75rem;
}

    .nav-item[b-1oqsjq5ynp]  .nav-link {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        color: #4a4a4a;
        background: none;
        border: none;
        border-radius: 8px;
        font-size: 0.92rem;
        font-weight: 500;
        padding: 0.62rem 0.85rem;
        width: 100%;
        transition: background-color 0.15s ease, color 0.15s ease;
    }

        .nav-item[b-1oqsjq5ynp]  .nav-link:hover {
            background: #f6f1e7;
            color: #b08d57;
        }

    .nav-item[b-1oqsjq5ynp]  a.active {
        background: #f6f1e7;
        color: #b08d57;
        font-weight: 600;
    }

        /* Active item: darken icon toward the gold accent */
        .nav-item[b-1oqsjq5ynp]  a.active .bi {
            filter: brightness(0) saturate(100%) invert(58%) sepia(30%) saturate(560%) hue-rotate(2deg);
        }

/* Scroll container */
.nav-scrollable-vertical[b-1oqsjq5ynp] {
    display: block;
    overflow: visible; /* was height:100%; overflow-y:auto — caused the extra scrollbar */
    padding-bottom: 1rem;
    background: #fdfcfa; /* faint warm tint to separate from content */
}
/* /Components/Pages/ManageImages.razor.rz.scp.css */
/* ===================================================================
   Admin — Manage Images (scoped to UploadFiles.razor)
   =================================================================== */

/* Card hover lift */
.admin-uploads .card[b-ob4x6y4pnu] {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.admin-uploads .card:hover[b-ob4x6y4pnu] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Consistent, compact preview tiles */
.admin-uploads .ratio img[b-ob4x6y4pnu] {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

/* Brand-asset / "not generated" placeholder fills the tile neatly */
.admin-uploads .wm-placeholder[b-ob4x6y4pnu] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: repeating-linear-gradient( 45deg, #f7f7f7, #f7f7f7 10px, #f0f0f0 10px, #f0f0f0 20px );
    color: #888;
    font-size: 0.8rem;
    text-align: center;
    border-radius: 6px;
}

/* Sticky toolbar so actions stay reachable while scrolling the grid */
.admin-uploads .sticky-toolbar[b-ob4x6y4pnu] {
    position: sticky;
    top: 80px;
    z-index: 1020;
}

/* Don't stick once the layout collapses to the hamburger */
@media (max-width: 1455px) {
    .admin-uploads .sticky-toolbar[b-ob4x6y4pnu] {
        position: static;
        top: auto;
    }
}

/* Small polish: label column above each preview */
.admin-uploads .preview-label[b-ob4x6y4pnu] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted, #666);
    margin-bottom: 0.25rem;
}

/* Lightbox overlay */
.admin-uploads .lightbox-backdrop[b-ob4x6y4pnu] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 2rem;
}

.admin-uploads .lightbox-backdrop img[b-ob4x6y4pnu] {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.admin-uploads .lightbox-close[b-ob4x6y4pnu] {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #fff;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.admin-uploads .preview-clickable[b-ob4x6y4pnu] {
    cursor: zoom-in;
}

/* Undo global input sizing so Bootstrap rows align on this page */
.admin-uploads .form-control[b-ob4x6y4pnu],
.admin-uploads .form-select[b-ob4x6y4pnu],
.admin-uploads input[b-ob4x6y4pnu],
.admin-uploads textarea[b-ob4x6y4pnu] {
    margin-bottom: 0.7rem;   /* pushes things down */
    padding: 0.6rem 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Visible switch */
.admin-uploads .form-check-input[b-ob4x6y4pnu] {
    width: 2.5em;
    height: 1.25em;
    margin: 0;
    flex: 0 0 auto;
    cursor: pointer;
}

.admin-uploads .form-check-input:checked[b-ob4x6y4pnu] {
    background-color: var(--primary);
    border-color: var(--primary);
}

.admin-uploads .form-check.form-switch[b-ob4x6y4pnu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 2.75em;
    min-height: auto;
    margin: 0;
}

.admin-uploads .form-check-label[b-ob4x6y4pnu] {
    cursor: pointer;
    white-space: nowrap;
    margin: 0;
}

/* Flex toolbar: items size naturally, wrap gracefully, never overlap */
.admin-uploads .toolbar-row[b-ob4x6y4pnu] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.admin-uploads .toolbar-search[b-ob4x6y4pnu] {
    flex: 1 1 260px;
    min-width: 220px;
    margin-bottom: 0;
}

.admin-uploads .toolbar-select[b-ob4x6y4pnu] {
    flex: 0 1 200px;
    margin-bottom: 0;
}

.admin-uploads .toolbar-regen[b-ob4x6y4pnu] {
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap;
}

/* Switch: fixed-size toggle + non-clipping label on one line */
.admin-uploads .toolbar-switch[b-ob4x6y4pnu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    padding-left: 0;      /* override Bootstrap's default indent */
    min-height: auto;
    margin: 0;
}

.admin-uploads .toolbar-switch .form-check-input[b-ob4x6y4pnu] {
    width: 2.5em;
    height: 1.25em;
    margin: 0;
    flex: 0 0 auto;
    cursor: pointer;
    float: none;          /* Bootstrap floats the switch input; undo it */
}

.admin-uploads .toolbar-switch .form-check-input:checked[b-ob4x6y4pnu] {
    background-color: var(--primary);
    border-color: var(--primary);
}

.admin-uploads .toolbar-switch .form-check-label[b-ob4x6y4pnu] {
    cursor: pointer;
    white-space: nowrap;
    margin: 0;
}

/* ===== Self-contained toolbar (no Bootstrap form classes) ===== */
.admin-uploads .tb[b-ob4x6y4pnu] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
}

/* Each group keeps its own items tightly together */
.admin-uploads .tb-group[b-ob4x6y4pnu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;   /* tight spacing between search box + button */
}

/* Search group grows to fill available width */
.admin-uploads .tb-group-search[b-ob4x6y4pnu] {
    flex: 1 1 320px;
    min-width: 240px;
}

/* Watermark group stays pinned together on the right */
.admin-uploads .tb-group-watermark[b-ob4x6y4pnu] {
    gap: 1rem;
    margin-left: auto;
}

/* Search box with icon */
.admin-uploads .tb-search[b-ob4x6y4pnu] {
    position: relative;
    flex: 1 1 auto;
    min-width: 160px;
}

.admin-uploads .tb-search-icon[b-ob4x6y4pnu] {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    fill: #888;
    pointer-events: none;
    z-index: 2;
}

.admin-uploads .tb-search input[b-ob4x6y4pnu] {
    width: 100%;
    height: 42px;
    padding: 0 0.9rem 0 2.4rem;
    margin: 0;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 0.95rem;
    box-sizing: border-box;
}

/* Type dropdown */
.admin-uploads .tb-select[b-ob4x6y4pnu] {
    flex: 0 1 170px;
    height: 42px;
    padding: 0 0.9rem;
    margin: 0;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #fff;
    cursor: pointer;
}

/* Custom toggle switch */
.admin-uploads .tb-toggle[b-ob4x6y4pnu] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.admin-uploads .tb-toggle input[b-ob4x6y4pnu] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.admin-uploads .tb-toggle-track[b-ob4x6y4pnu] {
    position: relative;
    width: 42px;
    height: 22px;
    background: #ccc;
    border-radius: 999px;
    transition: background 0.2s ease;
    flex: 0 0 auto;
}

.admin-uploads .tb-toggle-thumb[b-ob4x6y4pnu] {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.admin-uploads .tb-toggle input:checked + .tb-toggle-track[b-ob4x6y4pnu] {
    background: var(--primary);
}

.admin-uploads .tb-toggle input:checked + .tb-toggle-track .tb-toggle-thumb[b-ob4x6y4pnu] {
    transform: translateX(20px);
}

.admin-uploads .tb-toggle-text[b-ob4x6y4pnu] {
    white-space: nowrap;
    font-size: 0.95rem;
}

/* Hide the "Needs watermark only" label on small screens */
@media (max-width: 641px) {
    .admin-uploads .tb-toggle-text[b-ob4x6y4pnu] {
        display: none;
    }
}

/* /Components/Shared/ImageLightbox.razor.rz.scp.css */
.lb-backdrop[b-1x6wnpm9ql] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1080;
    padding: 2rem;
}

.lb-stage[b-1x6wnpm9ql] {
    max-width: 92vw;
    max-height: 88vh;
    overflow: hidden; /* zoom in place, no scrollbars */
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;   /* let us handle pinch/drag ourselves */
    overscroll-behavior: contain;
}

.lb-img[b-1x6wnpm9ql] {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform-origin: center center;
    transition: transform 0.12s ease;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none; /* let us handle drag/pan gestures */
}

    .lb-img.lb-zoomed[b-1x6wnpm9ql] {
        cursor: grab;
    }

    .lb-img.lb-panning[b-1x6wnpm9ql] {
        cursor: grabbing;
        transition: none; /* follow the pointer instantly while dragging */
    }

.lb-close[b-1x6wnpm9ql] {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #fff;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    z-index: 1;
}

.lb-toolbar[b-1x6wnpm9ql] {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.55);
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    z-index: 1;
}

.lb-btn[b-1x6wnpm9ql] {
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

    .lb-btn:hover[b-1x6wnpm9ql] {
        background: rgba(255, 255, 255, 0.15);
    }

.lb-zoom[b-1x6wnpm9ql] {
    color: #fff;
    min-width: 3.5rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
