/* /Components/Account/Pages/Login.razor.rz.scp.css */
.auth-wrapper[b-kk8pndwuzq] {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 1rem;
}

.auth-card[b-kk8pndwuzq] {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius-lg, 16px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    padding: 2.5rem 2rem;
}

.auth-header[b-kk8pndwuzq] {
    text-align: center;
    margin-bottom: 1.75rem;
}

.auth-title[b-kk8pndwuzq] {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--heading-color, #2b2b2b);
    margin: 0 0 0.35rem;
}

.auth-subtitle[b-kk8pndwuzq] {
    color: var(--text-muted, #666);
    margin: 0;
    font-size: 0.95rem;
}

.auth-field[b-kk8pndwuzq] {
    margin-bottom: 1.15rem;
    display: flex;
    flex-direction: column;
}

.auth-label[b-kk8pndwuzq] {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary, #444);
    margin-bottom: 0.4rem;
}

.auth-input[b-kk8pndwuzq] {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
}

    .auth-input:focus[b-kk8pndwuzq] {
        outline: none;
        border-color: var(--primary, #b08d57);
        box-shadow: 0 0 0 2px rgba(176, 141, 87, 0.15);
    }

.auth-row[b-kk8pndwuzq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0.25rem 0 1.5rem;
}

.auth-remember[b-kk8pndwuzq] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary, #444);
    margin: 0;
    cursor: pointer;
}

.auth-link[b-kk8pndwuzq] {
    font-size: 0.9rem;
    font-weight: 600;
}

.auth-submit[b-kk8pndwuzq] {
    width: 100%;
    font-size: 1.05rem;
    padding: 0.75rem 1rem;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-chljgygh3e] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-chljgygh3e] {
    flex: 1;
}

.sidebar[b-chljgygh3e] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-chljgygh3e] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-chljgygh3e]  a, .top-row[b-chljgygh3e]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-chljgygh3e]  a:hover, .top-row[b-chljgygh3e]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-chljgygh3e]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-chljgygh3e] {
        justify-content: space-between;
    }

    .top-row[b-chljgygh3e]  a, .top-row[b-chljgygh3e]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-chljgygh3e] {
        flex-direction: row;
    }

    .sidebar[b-chljgygh3e] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-chljgygh3e] {
        position: sticky;
        top: 0;
        z-index: 1030; /* was 1; keep header above hero/content */
    }

    .top-row.auth[b-chljgygh3e]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-chljgygh3e], article[b-chljgygh3e] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Hide the entire admin sidebar (incl. the dark "Photography.Web" bar)
   once the top hamburger takes over � matches NavMenuHorizontal's 1455px breakpoint */
@media (max-width: 1455px) {
    .sidebar[b-chljgygh3e] {
        display: none;
    }

    .page[b-chljgygh3e] {
        flex-direction: column;
    }

    /* Logged-in users get the hamburger at <=1455, so un-stick the header here */
    .page.is-auth .top-row[b-chljgygh3e] {
        position: static;
        top: auto;
    }
}

/* Logged-out users get the hamburger at <=805, so un-stick only there */
@media (max-width: 805px) {
    .top-row[b-chljgygh3e] {
        position: static;
        top: auto;
    }
}

#blazor-error-ui[b-chljgygh3e] {
    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-chljgygh3e] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenuHorizontal.razor.rz.scp.css */
/* ===== Desktop / inline (default) ===== */
.nav-horizontal[b-siwi2z8jtf] {
    display: flex;
    align-items: center;
    position: relative;
}

.container-fluid[b-siwi2z8jtf] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.navbar-toggle-horizontal[b-siwi2z8jtf] {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    color: #2b2b2b;
    line-height: 0;
}

.nav[b-siwi2z8jtf] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item[b-siwi2z8jtf] {
    display: flex;
    align-items: center;
}

.nav-link[b-siwi2z8jtf] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #2b2b2b;
    background: none;
    border: none;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    padding: 0.5rem 0.25rem;
    cursor: pointer;
}

    .nav-link:hover[b-siwi2z8jtf],
    .nav-link.active[b-siwi2z8jtf] {
        color: #b08d57;
    }

/* Admin links live in the left sidebar on desktop -> hide in the top bar */
.nav-admin-item[b-siwi2z8jtf] {
    display: none;
}

/* ===== Collapsed dropdown look (shared declarations) ===== */
.nav-horizontal.is-auth .nav[b-siwi2z8jtf],
.nav-horizontal .nav[b-siwi2z8jtf] {
    /* base only; visibility handled per breakpoint below */
}

/* --- Authenticated: collapse up to 1455px --- */
@media (max-width: 1455px) {
    .nav-horizontal.is-auth .navbar-toggle-horizontal[b-siwi2z8jtf] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-horizontal.is-auth .nav[b-siwi2z8jtf] {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        width: max-content;
        min-width: 240px;
        max-width: 90vw;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border: 1px solid #d6d5d5;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        padding: 0.5rem 0;
        z-index: 1040;
    }

    .nav-horizontal.is-auth.open .nav[b-siwi2z8jtf] {
        display: flex;
    }

    .nav-horizontal.is-auth .nav-admin-item[b-siwi2z8jtf] {
        display: flex;
    }

    .nav-horizontal.is-auth .nav-item[b-siwi2z8jtf] {
        width: 100%;
        padding: 0 !important;
    }

    .nav-horizontal.is-auth .nav-link[b-siwi2z8jtf] {
        width: 100%;
        padding: 0.85rem 1.25rem;
    }

    .nav-horizontal.is-auth .nav-item form[b-siwi2z8jtf],
    .nav-horizontal.is-auth .nav-item form .nav-link[b-siwi2z8jtf] {
        width: 100%;
    }
}

/* --- Everyone (logged out too): collapse up to 805px --- */
@media (max-width: 805px) {
    .nav-horizontal .navbar-toggle-horizontal[b-siwi2z8jtf] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-horizontal .nav[b-siwi2z8jtf] {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        width: max-content;
        min-width: 240px;
        max-width: 90vw;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border: 1px solid #d6d5d5;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        padding: 0.5rem 0;
        z-index: 1040;
    }

    .nav-horizontal.open .nav[b-siwi2z8jtf] {
        display: flex;
    }

    .nav-horizontal .nav-admin-item[b-siwi2z8jtf] {
        display: flex;
    }

    .nav-horizontal .nav-item[b-siwi2z8jtf] {
        width: 100%;
        padding: 0 !important;
    }

    .nav-horizontal .nav-link[b-siwi2z8jtf] {
        width: 100%;
        padding: 0.85rem 1.25rem;
    }

    .nav-horizontal .nav-item form[b-siwi2z8jtf],
    .nav-horizontal .nav-item form .nav-link[b-siwi2z8jtf] {
        width: 100%;
    }
}
/* /Components/Layout/NavMenuVertical.razor.rz.scp.css */
.navbar-toggler[b-gugncb8oxf] {
    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-gugncb8oxf] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-gugncb8oxf] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-gugncb8oxf] {
    font-size: 1.1rem;
}

.bi[b-gugncb8oxf] {
    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-gugncb8oxf] {
    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-gugncb8oxf] {
    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-gugncb8oxf] {
    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");
}

.bi-lock-nav-menu[b-gugncb8oxf] {
    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 d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-gugncb8oxf] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-gugncb8oxf] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-gugncb8oxf] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' 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");
}

.bi-arrow-bar-left-nav-menu[b-gugncb8oxf] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-gugncb8oxf] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-gugncb8oxf] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-gugncb8oxf] {
        padding-bottom: 1rem;
    }

    .nav-item[b-gugncb8oxf]  .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-gugncb8oxf]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-gugncb8oxf]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable-vertical[b-gugncb8oxf] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable-vertical[b-gugncb8oxf] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler-vertical[b-gugncb8oxf] {
        display: none;
    }

    .nav-scrollable-vertical[b-gugncb8oxf] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/ManageImages.razor.rz.scp.css */
/* ===================================================================
   Admin — Manage Images (scoped to UploadFiles.razor)
   =================================================================== */

/* Card hover lift */
.admin-uploads .card[b-c7nzv8hswh] {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.admin-uploads .card:hover[b-c7nzv8hswh] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Consistent, compact preview tiles */
.admin-uploads .ratio img[b-c7nzv8hswh] {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

/* Brand-asset / "not generated" placeholder fills the tile neatly */
.admin-uploads .wm-placeholder[b-c7nzv8hswh] {
    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-c7nzv8hswh] {
    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-c7nzv8hswh] {
        position: static;
        top: auto;
    }
}

/* Small polish: label column above each preview */
.admin-uploads .preview-label[b-c7nzv8hswh] {
    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-c7nzv8hswh] {
    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-c7nzv8hswh] {
    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-c7nzv8hswh] {
    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-c7nzv8hswh] {
    cursor: zoom-in;
}

/* Undo global input sizing so Bootstrap rows align on this page */
.admin-uploads .form-control[b-c7nzv8hswh],
.admin-uploads .form-select[b-c7nzv8hswh],
.admin-uploads input[b-c7nzv8hswh],
.admin-uploads textarea[b-c7nzv8hswh] {
    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-c7nzv8hswh] {
    width: 2.5em;
    height: 1.25em;
    margin: 0;
    flex: 0 0 auto;
    cursor: pointer;
}

.admin-uploads .form-check-input:checked[b-c7nzv8hswh] {
    background-color: var(--primary);
    border-color: var(--primary);
}

.admin-uploads .form-check.form-switch[b-c7nzv8hswh] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 2.75em;
    min-height: auto;
    margin: 0;
}

.admin-uploads .form-check-label[b-c7nzv8hswh] {
    cursor: pointer;
    white-space: nowrap;
    margin: 0;
}

/* Flex toolbar: items size naturally, wrap gracefully, never overlap */
.admin-uploads .toolbar-row[b-c7nzv8hswh] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.admin-uploads .toolbar-search[b-c7nzv8hswh] {
    flex: 1 1 260px;
    min-width: 220px;
    margin-bottom: 0;
}

.admin-uploads .toolbar-select[b-c7nzv8hswh] {
    flex: 0 1 200px;
    margin-bottom: 0;
}

.admin-uploads .toolbar-regen[b-c7nzv8hswh] {
    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-c7nzv8hswh] {
    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-c7nzv8hswh] {
    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-c7nzv8hswh] {
    background-color: var(--primary);
    border-color: var(--primary);
}

.admin-uploads .toolbar-switch .form-check-label[b-c7nzv8hswh] {
    cursor: pointer;
    white-space: nowrap;
    margin: 0;
}

/* ===== Self-contained toolbar (no Bootstrap form classes) ===== */
.admin-uploads .tb[b-c7nzv8hswh] {
    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-c7nzv8hswh] {
    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-c7nzv8hswh] {
    flex: 1 1 320px;
    min-width: 240px;
}

/* Watermark group stays pinned together on the right */
.admin-uploads .tb-group-watermark[b-c7nzv8hswh] {
    gap: 1rem;
    margin-left: auto;
}

/* Search box with icon */
.admin-uploads .tb-search[b-c7nzv8hswh] {
    position: relative;
    flex: 1 1 auto;
    min-width: 160px;
}

.admin-uploads .tb-search-icon[b-c7nzv8hswh] {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    fill: #888;
    pointer-events: none;
    z-index: 2;
}

.admin-uploads .tb-search input[b-c7nzv8hswh] {
    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-c7nzv8hswh] {
    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-c7nzv8hswh] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.admin-uploads .tb-toggle input[b-c7nzv8hswh] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.admin-uploads .tb-toggle-track[b-c7nzv8hswh] {
    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-c7nzv8hswh] {
    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-c7nzv8hswh] {
    background: var(--primary);
}

.admin-uploads .tb-toggle input:checked + .tb-toggle-track .tb-toggle-thumb[b-c7nzv8hswh] {
    transform: translateX(20px);
}

.admin-uploads .tb-toggle-text[b-c7nzv8hswh] {
    white-space: nowrap;
    font-size: 0.95rem;
}

/* Hide the "Needs watermark only" label on small screens */
@media (max-width: 575.98px) {
    .admin-uploads .tb-toggle-text[b-c7nzv8hswh] {
        display: none;
    }
}

/* /Components/Shared/ImageLightbox.razor.rz.scp.css */
.lb-backdrop[b-ef585s4703] {
    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-ef585s4703] {
    max-width: 92vw;
    max-height: 88vh;
    overflow: hidden; /* zoom in place, no scrollbars */
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-img[b-ef585s4703] {
    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;
    touch-action: none; /* let us handle drag/pan gestures */
}

    .lb-img.lb-zoomed[b-ef585s4703] {
        cursor: grab;
    }

    .lb-img.lb-panning[b-ef585s4703] {
        cursor: grabbing;
        transition: none; /* follow the pointer instantly while dragging */
    }

.lb-close[b-ef585s4703] {
    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-ef585s4703] {
    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-ef585s4703] {
    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-ef585s4703] {
        background: rgba(255, 255, 255, 0.15);
    }

.lb-zoom[b-ef585s4703] {
    color: #fff;
    min-width: 3.5rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
