/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-mqitxrk1zy] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-mqitxrk1zy] {
    flex: 1;
    min-width: 0;
}

.sidebar[b-mqitxrk1zy] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-mqitxrk1zy] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-mqitxrk1zy]  a, .top-row[b-mqitxrk1zy]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-mqitxrk1zy]  a:hover, .top-row[b-mqitxrk1zy]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-mqitxrk1zy]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-mqitxrk1zy] {
        justify-content: space-between;
    }

    .top-row[b-mqitxrk1zy]  a, .top-row[b-mqitxrk1zy]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-mqitxrk1zy] {
        flex-direction: row;
    }

    .sidebar[b-mqitxrk1zy] {
        width: 250px;
        flex-shrink: 0;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-mqitxrk1zy] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-mqitxrk1zy]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-mqitxrk1zy], article[b-mqitxrk1zy] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-mqitxrk1zy] {
    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-mqitxrk1zy] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-y1lncgseax] {
    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-y1lncgseax] {
        background-color: rgba(255, 255, 255, 0.5);
    }

.top-row[b-y1lncgseax] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.top-row-content[b-y1lncgseax] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-bar-left[b-y1lncgseax] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 0.5rem;
}

.btn-new[b-y1lncgseax] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background-color: #165dff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}

.search-box[b-y1lncgseax] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.55rem;
    background-color: #f3f4f6;
    border-radius: 6px;
    width: 220px;
}

    .search-box input[b-y1lncgseax] {
        border: none;
        background: transparent;
        outline: none;
        width: 100%;
        font-size: 0.85rem;
    }

.top-bar-right[b-y1lncgseax] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
}

.btn-icon[b-y1lncgseax] {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
}

    .btn-icon:hover[b-y1lncgseax] {
        background-color: rgba(255, 255, 255, 0.12);
    }

.btn-notification[b-y1lncgseax] {
    position: relative;
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    cursor: pointer;
}

.badge[b-y1lncgseax] {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background-color: #ef4444;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bi[b-y1lncgseax] {
    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-y1lncgseax] {
    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-y1lncgseax] {
    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-y1lncgseax] {
    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-y1lncgseax] {
    font-size: 0.95rem;
    padding-bottom: 0.25rem;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-weight: 500;
}

    .nav-item:first-of-type[b-y1lncgseax] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-y1lncgseax] {
        padding-bottom: 1rem;
    }

    .nav-item[b-y1lncgseax]  .nav-link {
        color: #4b5563;
        background: none;
        border: none;
        border-radius: 8px;
        height: 2.8rem;
        display: flex;
        align-items: center;
        line-height: 2.8rem;
        width: 100%;
        padding: 0 1rem;
        margin: 0.15rem 0;
        transition: all 0.2s ease-in-out;
        gap: 0.75rem;
    }

        .nav-item[b-y1lncgseax]  .nav-link .icon {
            font-size: 1.25rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 1.5rem;
            opacity: 0.9;
        }

        .nav-item[b-y1lncgseax]  .nav-link span:not(.icon) {
            letter-spacing: 0.02em;
        }

    .nav-item[b-y1lncgseax]  a.active {
        background-color: #e6f0ff;
        color: #165dff;
        font-weight: 600;
    }

        .nav-item[b-y1lncgseax]  a.active .icon {
            transform: scale(1.1);
            opacity: 1;
        }

    .nav-item[b-y1lncgseax]  .nav-link:hover {
        background-color: #f3f4f6;
        color: #111827;
        transform: translateX(4px);
    }

.nav-scrollable[b-y1lncgseax] {
    display: none;
}

.tree-toggle[b-y1lncgseax] {
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.tree-arrow[b-y1lncgseax] {
    width: 1rem;
    display: inline-flex;
    justify-content: center;
    margin-right: 0.25rem;
    transition: transform 220ms ease;
    transform-origin: center;
}

    .tree-arrow.expanded[b-y1lncgseax] {
        transform: rotate(90deg);
    }

.tree-children[b-y1lncgseax] {
    margin-left: 1.6rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    transition: max-height 260ms ease, opacity 220ms ease, transform 260ms ease;
}

    .tree-children.expanded[b-y1lncgseax] {
        max-height: 16rem;
        opacity: 1;
        transform: translateY(0);
    }

.sidebar-nav > .nav-item[b-y1lncgseax] {
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
}

    .sidebar-nav > .nav-item > .nav-link[b-y1lncgseax],
    .sidebar-nav > .nav-item > .tree-toggle[b-y1lncgseax] {
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
        min-height: 0;
        line-height: 1.25;
    }

.tree-child-item[b-y1lncgseax] {
    padding-left: 0.5rem;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
}

    .tree-child-item[b-y1lncgseax]  .nav-link {
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
        min-height: 0;
        line-height: 1.2;
    }

.navbar-toggler:checked ~ .nav-scrollable[b-y1lncgseax] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-y1lncgseax] {
        display: none;
    }

    .nav-scrollable[b-y1lncgseax] {
        /* Never collapse the sidebar for wide screens */
        display: block;
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

@media (max-width: 1024px) {
    .search-box[b-y1lncgseax] {
        width: 160px;
    }
}

@media (max-width: 860px) {
    .top-bar-left[b-y1lncgseax] {
        display: none;
    }
}

.custom-sidebar-nav[b-y1lncgseax] {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .custom-sidebar-nav[b-y1lncgseax]  .nav-link {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
        color: inherit;
        opacity: 0.85;
        text-decoration: none;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        margin-bottom: 0.35rem;
        font-weight: 500;
        position: relative;
    }

        .custom-sidebar-nav[b-y1lncgseax]  .nav-link:hover {
            background-color: rgba(128, 128, 128, 0.15);
            opacity: 1;
            transform: translateX(5px);
        }

        .custom-sidebar-nav[b-y1lncgseax]  .nav-link.active {
            background-color: rgba(128, 128, 128, 0.2);
            opacity: 1;
            font-weight: 600;
        }

            .custom-sidebar-nav[b-y1lncgseax]  .nav-link.active::before {
                content: '';
                position: absolute;
                left: -1rem;
                height: 1.5rem;
                width: 4px;
                background-color: var(--bs-primary, #0d6efd);
                border-radius: 0 4px 4px 0;
            }

    .custom-sidebar-nav[b-y1lncgseax]  .icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.storage-info-box[b-y1lncgseax] {
    background-color: rgba(128, 128, 128, 0.08);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: all 0.2s ease;
    border: 1px solid rgba(128, 128, 128, 0.1);
}

    .storage-info-box:hover[b-y1lncgseax] {
        background-color: rgba(128, 128, 128, 0.15);
        opacity: 1;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-2yqetr93e6],
.components-reconnect-repeated-attempt-visible[b-2yqetr93e6],
.components-reconnect-failed-visible[b-2yqetr93e6],
.components-pause-visible[b-2yqetr93e6],
.components-resume-failed-visible[b-2yqetr93e6],
.components-rejoining-animation[b-2yqetr93e6] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-2yqetr93e6],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-2yqetr93e6],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-2yqetr93e6],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-2yqetr93e6],
#components-reconnect-modal.components-reconnect-retrying[b-2yqetr93e6],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-2yqetr93e6],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-2yqetr93e6],
#components-reconnect-modal.components-reconnect-failed[b-2yqetr93e6],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-2yqetr93e6] {
    display: block;
}


#components-reconnect-modal[b-2yqetr93e6] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-2yqetr93e6 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-2yqetr93e6 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-2yqetr93e6 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-2yqetr93e6]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-2yqetr93e6 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-2yqetr93e6 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-2yqetr93e6 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-2yqetr93e6 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-2yqetr93e6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-2yqetr93e6] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-2yqetr93e6] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-2yqetr93e6] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-2yqetr93e6] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-2yqetr93e6] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-2yqetr93e6] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-2yqetr93e6 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-2yqetr93e6] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-2yqetr93e6 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Category.razor.rz.scp.css */
/* ===== Page container ===== */
.category-page[b-zn3u4s607i] {
    height: calc(100vh - 3.5rem);
    min-height: calc(100vh - 3.5rem);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background-color: #f5f7fa;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
}

.content-shell[b-zn3u4s607i] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.breadcrumb-bar[b-zn3u4s607i] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.current-path[b-zn3u4s607i] {
    font-size: 16px;
    font-weight: 600;
}

.breadcrumb-path[b-zn3u4s607i] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.path-link[b-zn3u4s607i] {
    border: none;
    background: transparent;
    padding: 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    cursor: default;
}

.breadcrumb-actions[b-zn3u4s607i] {
    display: flex;
    gap: 8px;
}

.btn-icon[b-zn3u4s607i] {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.btn-icon:hover[b-zn3u4s607i] {
    background-color: #f3f4f6;
}

.view-sort-bar[b-zn3u4s607i] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #fff;
}

.file-stats[b-zn3u4s607i] {
    font-size: 13px;
    color: #6b7280;
}

.category-list-surface[b-zn3u4s607i] {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.category-list-panel[b-zn3u4s607i] {
    overflow-x: auto;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.category-list-panel.empty[b-zn3u4s607i] {
    overflow: hidden;
}

.category-list-header[b-zn3u4s607i],
.category-item-row[b-zn3u4s607i] {
    display: grid;
    
    align-items: center;
    column-gap: 12px;
    
    padding: 12px 16px;
}

.category-list-header[b-zn3u4s607i] {
    border-bottom: 1px solid #e5e7eb;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    position: sticky;
    top: 0;
    background: #fafbfc;
    z-index: 1;
}

.category-item-row[b-zn3u4s607i] {
    border-bottom: 1px solid #f3f4f6;
    cursor: default;
    transition: background-color 0.15s ease;
}

.category-item-row:hover[b-zn3u4s607i] {
    background-color: #f9fafb;
}

.category-grid-panel[b-zn3u4s607i] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    padding: 12px 16px 16px;
    background-color: #fff;
    align-content: start;
}

.category-grid-panel.empty[b-zn3u4s607i] {
    flex: 1;
    display: flex;
}

.col-name[b-zn3u4s607i] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
}

.col-name .item-name[b-zn3u4s607i] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-size[b-zn3u4s607i],
.col-modified[b-zn3u4s607i],
.col-path[b-zn3u4s607i],
.col-created[b-zn3u4s607i] {
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-actions[b-zn3u4s607i] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.list-empty-state[b-zn3u4s607i] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    color: #9ca3af;
}

.list-empty-icon[b-zn3u4s607i] {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.4;
}

.list-empty-text[b-zn3u4s607i] {
    color: #6b7280;
    font-size: 13px;
}

.grid-empty-state[b-zn3u4s607i] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.grid-empty-text[b-zn3u4s607i] {
    color: #6b7280;
    font-size: 13px;
}

.file-card[b-zn3u4s607i] {
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #fff;
    padding: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    aspect-ratio: 1;
    overflow: hidden;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.file-card:hover[b-zn3u4s607i] {
    background-color: #f9fafb;
    border-color: #dbe3ef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.file-card-thumb[b-zn3u4s607i] {
    width: 100%;
    flex: 1;
    min-height: 0;
    object-fit: cover;
    border-radius: 4px;
}

.file-card-thumb.image-thumb[b-zn3u4s607i] {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    flex: 0 1 auto;
    object-fit: contain;
}

.file-card-name[b-zn3u4s607i] {
    font-size: 12px;
    font-weight: 500;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
    padding: 0 2px;
}

.file-card-overlay[b-zn3u4s607i] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 0 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.file-card:hover .file-card-overlay[b-zn3u4s607i] {
    opacity: 1;
}

.overlay-action[b-zn3u4s607i] {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.overlay-action:hover[b-zn3u4s607i] {
    opacity: 1;
    transform: scale(1.2);
}

.scroll-sentinel[b-zn3u4s607i] {
    grid-column: 1 / -1;
    height: 1px;
    visibility: hidden;
}

.load-more-indicator[b-zn3u4s607i] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
    color: #9ca3af;
    font-size: 13px;
}

.category-list-panel .scroll-sentinel[b-zn3u4s607i],
.category-list-panel .load-more-indicator[b-zn3u4s607i] {
    width: 100%;
}

.category-action-btn[b-zn3u4s607i] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.category-action-btn:hover[b-zn3u4s607i] {
    background: #f3f4f6;
}

.category-toast[b-zn3u4s607i] {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    animation: toast-in-b-zn3u4s607i 0.3s ease;
}

.category-toast.success[b-zn3u4s607i] {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.category-toast.error[b-zn3u4s607i] {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.reset-dialog-backdrop[b-zn3u4s607i] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reset-dialog[b-zn3u4s607i] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
    width: min(420px, calc(100vw - 32px));
    overflow: hidden;
}

.reset-dialog-header[b-zn3u4s607i] {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
}

.reset-dialog-body[b-zn3u4s607i] {
    padding: 16px 20px;
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

.reset-dialog-body p[b-zn3u4s607i] {
    margin: 0 0 8px;
}

.reset-warning[b-zn3u4s607i] {
    color: #dc2626;
    font-size: 13px;
    font-weight: 500;
}

.reset-dialog-footer[b-zn3u4s607i] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid #e5e7eb;
}

.reset-btn[b-zn3u4s607i] {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
}

.reset-btn.cancel[b-zn3u4s607i] {
    background: #fff;
    color: #374151;
}

.reset-btn.cancel:hover[b-zn3u4s607i] {
    background: #f3f4f6;
}

.reset-btn.confirm-primary[b-zn3u4s607i] {
    background: #165dff;
    border-color: #165dff;
    color: #fff;
}

.reset-btn.confirm-primary:hover[b-zn3u4s607i] {
    background: #1249d6;
}

.reset-btn.confirm-primary:disabled[b-zn3u4s607i] {
    opacity: 0.6;
    cursor: not-allowed;
}

.map-field[b-zn3u4s607i] {
    margin-bottom: 12px;
}

.map-label[b-zn3u4s607i] {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.map-input[b-zn3u4s607i] {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #1f2937;
    background: #fff;
    outline: none;
}

.map-input:focus[b-zn3u4s607i] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.map-input[b-zn3u4s607i]::placeholder {
    color: #9ca3af;
}

.share-result-section[b-zn3u4s607i] {
    margin-top: 8px;
}

.share-result-label[b-zn3u4s607i] {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.share-result-link-row[b-zn3u4s607i] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.share-link-input[b-zn3u4s607i] {
    flex: 1;
    font-size: 13px;
    cursor: text;
}

.share-copied-hint[b-zn3u4s607i] {
    color: #16a34a;
    font-size: 13px;
    margin-top: 8px;
}

.image-viewer-backdrop[b-zn3u4s607i] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(2px);
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-viewer-topbar[b-zn3u4s607i] {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    height: 52px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 2;
}

.viewer-file-name[b-zn3u4s607i] {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 45vw;
}

.viewer-toolbar[b-zn3u4s607i] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.viewer-btn[b-zn3u4s607i] {
    min-width: 34px;
    height: 34px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
    color: #334155;
    font-size: 14px;
    cursor: pointer;
    padding: 0 10px;
}

.viewer-btn:hover[b-zn3u4s607i] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.viewer-btn.close[b-zn3u4s607i] {
    color: #dc2626;
}

.image-viewer-stage[b-zn3u4s607i] {
    position: absolute;
    inset: 84px 74px 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.viewer-image[b-zn3u4s607i] {
    max-width: min(88vw, 1400px);
    max-height: calc(100vh - 160px);
    user-select: none;
    transition: transform 120ms ease;
    transform-origin: center center;
}

.viewer-image.panning[b-zn3u4s607i] {
    cursor: grabbing;
    transition: none;
}

.video-viewer-backdrop[b-zn3u4s607i] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(2px);
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-viewer-topbar[b-zn3u4s607i] {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    height: 52px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 2;
}

.video-viewer-stage[b-zn3u4s607i] {
    position: absolute;
    inset: 84px 74px 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 8px;
}

.viewer-video[b-zn3u4s607i] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    transform: translateZ(0);
    will-change: auto;
}

.viewer-nav[b-zn3u4s607i] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 64px;
    border: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.93);
    border-radius: 12px;
    color: #334155;
    font-size: 22px;
    cursor: pointer;
}

.viewer-nav:hover[b-zn3u4s607i] {
    background: #fff;
}

.viewer-nav.prev[b-zn3u4s607i] {
    left: 18px;
}

.viewer-nav.next[b-zn3u4s607i] {
    right: 18px;
}

.text-viewer-backdrop[b-zn3u4s607i] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(2px);
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-viewer-topbar[b-zn3u4s607i] {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    height: 52px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 2;
}

.text-viewer-stage[b-zn3u4s607i] {
    position: absolute;
    inset: 84px 40px 28px;
    overflow: auto;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.text-viewer-content[b-zn3u4s607i] {
    margin: 0;
    padding: 20px 24px;
    font-family: "Cascadia Code", "Fira Code", "Source Code Pro", Consolas, "Courier New", monospace;
    font-size: 14px;
    line-height: 1.7;
    color: #1f2937;
    white-space: pre-wrap;
    word-wrap: break-word;
    tab-size: 4;
}

.text-viewer-loading[b-zn3u4s607i],
.text-viewer-error[b-zn3u4s607i] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 15px;
    color: #6b7280;
}

.text-viewer-error[b-zn3u4s607i] {
    color: #dc2626;
}

@keyframes toast-in-b-zn3u4s607i {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}
/* /Components/Pages/Index.razor.rz.scp.css */
.index-page[b-80ag8whq9r] {
    height: calc(100vh - 3.5rem);
    min-height: calc(100vh - 3.5rem);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background-color: #f5f7fa;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding-bottom: 72px;
    overflow: hidden;
}

.content-shell[b-80ag8whq9r] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.breadcrumb-bar[b-80ag8whq9r] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.current-path[b-80ag8whq9r] {
    font-size: 16px;
    font-weight: 600;
}

.breadcrumb-path[b-80ag8whq9r] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.path-link[b-80ag8whq9r] {
    border: none;
    background: transparent;
    padding: 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.path-link:hover[b-80ag8whq9r] {
    color: #165dff;
}

.path-separator[b-80ag8whq9r] {
    color: #9ca3af;
    font-size: 14px;
}

.breadcrumb-actions[b-80ag8whq9r] {
    display: flex;
    gap: 8px;
}

.view-sort-bar[b-80ag8whq9r] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #fff;
}

.view-controls[b-80ag8whq9r] {
    display: flex;
    gap: 8px;
}

.type-filter[b-80ag8whq9r] {
    margin-left: 12px;
}

.type-filter-select[b-80ag8whq9r] {
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
}

.btn-view[b-80ag8whq9r] {
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.btn-view.active[b-80ag8whq9r] {
    background-color: #e5edff;
    color: #165dff;
    border-color: #165dff;
}

.btn-sort[b-80ag8whq9r] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.file-stats[b-80ag8whq9r] {
    font-size: 13px;
    color: #6b7280;
}

.btn-icon[b-80ag8whq9r] {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.btn-icon:hover[b-80ag8whq9r] {
    background-color: #f3f4f6;
}

.file-list-panel[b-80ag8whq9r] {
    overflow-x: auto;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.file-list-panel.empty[b-80ag8whq9r] {
    overflow: hidden;
}

.list-empty-state[b-80ag8whq9r] {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.list-empty-text[b-80ag8whq9r] {
    color: #6b7280;
    font-size: 13px;
}

.file-list-header[b-80ag8whq9r],
.file-item[b-80ag8whq9r] {
    display: grid;
    grid-template-columns: minmax(240px, 2fr) minmax(90px, 1fr) minmax(90px, 1fr) minmax(150px, 1.3fr) minmax(150px, 1.3fr) minmax(120px, 1.1fr);
    align-items: center;
    column-gap: 12px;
    min-width: 940px;
    padding: 12px 16px;
}

.file-list-header .header-cell[b-80ag8whq9r] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}





.file-list-header[b-80ag8whq9r] {
    border-bottom: 1px solid #e5e7eb;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.file-item[b-80ag8whq9r] {
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, outline 0.2s ease;
}

.file-item:hover[b-80ag8whq9r] {
    background-color: #f9fafb;
}

.file-item.drop-target-active[b-80ag8whq9r] {
    background-color: #ebf4ff !important;
    outline: 2px dashed #165dff;
    outline-offset: -2px;
}

.col-name[b-80ag8whq9r],
.col-path[b-80ag8whq9r] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.col-path[b-80ag8whq9r] {
    color: #6b7280;
    font-size: 13px;
}

.col-type[b-80ag8whq9r],
.col-size[b-80ag8whq9r],
.col-modified[b-80ag8whq9r],
.col-created[b-80ag8whq9r] {
    font-size: 13px;
    color: #6b7280;
}

.icon.folder[b-80ag8whq9r] {
    color: #fbbf24;
}

.icon.file[b-80ag8whq9r] {
    color: #6b7280;
}

.sort-icon[b-80ag8whq9r] {
    font-size: 12px;
    color: #165dff;
    margin-left: 4px;
}

.file-grid-panel[b-80ag8whq9r] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    padding: 12px 16px 16px;
    background-color: #fff;
    align-content: start;
}

.file-grid-panel.empty[b-80ag8whq9r] {
    flex: 1;
    display: flex;
}

.grid-empty-state[b-80ag8whq9r] {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.grid-empty-text[b-80ag8whq9r] {
    color: #6b7280;
    font-size: 13px;
}

.scroll-sentinel[b-80ag8whq9r] {
    grid-column: 1 / -1;
    height: 1px;
    visibility: hidden;
}

.load-more-indicator[b-80ag8whq9r] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
    color: #9ca3af;
    font-size: 13px;
}

.file-card[b-80ag8whq9r] {
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #fff;
    padding: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    aspect-ratio: 1;
    overflow: hidden;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, outline 0.2s ease;
}

.file-card:hover[b-80ag8whq9r] {
    background-color: #f9fafb;
    border-color: #dbe3ef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.file-card.drop-target-active[b-80ag8whq9r] {
    background-color: #ebf4ff;
    border-color: #165dff;
    outline: 2px dashed #165dff;
    outline-offset: -2px;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.15);
}

.file-card-icon[b-80ag8whq9r] {
    font-size: 36px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 0;
}

.file-card-icon.folder[b-80ag8whq9r] {
    color: #fbbf24;
}

.file-card-icon.file[b-80ag8whq9r] {
    color: #6b7280;
}

.file-card-thumb[b-80ag8whq9r] {
    width: 100%;
    flex: 1;
    min-height: 0;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid transparent;
}

.file-card-thumb.image-thumb[b-80ag8whq9r] {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    flex: 0 1 auto;
    object-fit: contain;
}

.file-card-thumb.video-thumb[b-80ag8whq9r] {
    border-color: #6b7280;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    /* ����Ƶ����ͼһ�����ƽ�Ƭ������΢����ĸо� */
    background-color: #1f2937;
}

.file-card-name[b-80ag8whq9r] {
    font-size: 12px;
    font-weight: 500;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
    padding: 0 2px;
}

.file-card-meta[b-80ag8whq9r] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    color: #6b7280;
}

.file-card-overlay[b-80ag8whq9r] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 0 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.file-card:hover .file-card-overlay[b-80ag8whq9r] {
    opacity: 1;
}

.overlay-action[b-80ag8whq9r] {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.overlay-action:hover[b-80ag8whq9r] {
    opacity: 1;
    transform: scale(1.2);
}

.drop-surface[b-80ag8whq9r] {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.drop-surface.drag-over[b-80ag8whq9r] {
    background-color: #f6f9ff;
}

.drop-overlay[b-80ag8whq9r] {
    position: absolute;
    inset: 0;
    background: rgba(22, 93, 255, 0.08);
    border: 2px dashed rgba(22, 93, 255, 0.55);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
}

.drop-overlay-content[b-80ag8whq9r] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #d6e3ff;
    border-radius: 999px;
    color: #165dff;
    font-size: 14px;
    font-weight: 500;
}

.drop-icon[b-80ag8whq9r] {
    font-size: 16px;
}

.upload-queue[b-80ag8whq9r] {
    position: fixed;
    right: 20px;
    bottom: 0;
    width: min(320px, calc(100vw - 24px));
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    z-index: 20;
}

.queue-header[b-80ag8whq9r] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #eef1f4;
}

.queue-body[b-80ag8whq9r] {
    max-height: 180px;
    overflow-y: auto;
    padding: 8px 10px;
}

.queue-empty[b-80ag8whq9r] {
    color: #6b7280;
    font-size: 12px;
    padding: 8px;
}

.queue-item[b-80ag8whq9r] {
    padding: 8px;
    border-radius: 6px;
}

.queue-item + .queue-item[b-80ag8whq9r] {
    margin-top: 4px;
}

.queue-item:hover[b-80ag8whq9r] {
    background-color: #f8fafc;
}

.queue-item-name[b-80ag8whq9r] {
    font-size: 13px;
    color: #1f2937;
}

.queue-item-status[b-80ag8whq9r] {
    margin-top: 2px;
    font-size: 12px;
    color: #6b7280;
}

.rename-inline-input[b-80ag8whq9r] {
    width: min(280px, 100%);
    height: 28px;
    padding: 4px 8px;
    border: 1px solid #93c5fd;
    border-radius: 6px;
    font-size: 13px;
    color: #1f2937;
    background-color: #fff;
    outline: none;
}

.rename-inline-input:focus[b-80ag8whq9r] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.surface-context-menu[b-80ag8whq9r] {
    position: fixed;
    min-width: 160px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    padding: 6px;
    z-index: 50;
}

.more-menu-wrapper[b-80ag8whq9r] {
    position: relative;
    display: inline-flex;
}

.more-dropdown[b-80ag8whq9r] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 160px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    padding: 6px;
    z-index: 55;
}

.reset-dialog-backdrop[b-80ag8whq9r] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reset-dialog[b-80ag8whq9r] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
    width: min(420px, calc(100vw - 32px));
    overflow: hidden;
}

.reset-dialog-header[b-80ag8whq9r] {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
}

.reset-dialog-body[b-80ag8whq9r] {
    padding: 16px 20px;
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

.reset-dialog-body p[b-80ag8whq9r] {
    margin: 0 0 8px;
}

.reset-dialog-body ul[b-80ag8whq9r] {
    margin: 0 0 12px;
    padding-left: 20px;
}

.reset-dialog-body ul li[b-80ag8whq9r] {
    margin-bottom: 4px;
}

.reset-checkbox-label[b-80ag8whq9r] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 12px;
    font-size: 14px;
}

.reset-checkbox-label input[type="checkbox"][b-80ag8whq9r] {
    width: 16px;
    height: 16px;
    accent-color: #dc2626;
    cursor: pointer;
}

.reset-warning[b-80ag8whq9r] {
    color: #dc2626;
    font-size: 13px;
    font-weight: 500;
}

.reset-dialog-footer[b-80ag8whq9r] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid #e5e7eb;
}

.reset-btn[b-80ag8whq9r] {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
}

.reset-btn.cancel[b-80ag8whq9r] {
    background: #fff;
    color: #374151;
}

.reset-btn.cancel:hover[b-80ag8whq9r] {
    background: #f3f4f6;
}

.reset-btn.confirm[b-80ag8whq9r] {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.reset-btn.confirm:hover[b-80ag8whq9r] {
    background: #b91c1c;
}

.reset-btn.confirm:disabled[b-80ag8whq9r] {
    opacity: 0.6;
    cursor: not-allowed;
}

.reset-btn.confirm-primary[b-80ag8whq9r] {
    background: #165dff;
    border-color: #165dff;
    color: #fff;
}

.reset-btn.confirm-primary:hover[b-80ag8whq9r] {
    background: #1249d6;
}

.reset-btn.confirm-primary:disabled[b-80ag8whq9r] {
    opacity: 0.6;
    cursor: not-allowed;
}

.map-field[b-80ag8whq9r] {
    margin-bottom: 12px;
}

.map-label[b-80ag8whq9r] {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.map-input[b-80ag8whq9r] {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #1f2937;
    background: #fff;
    outline: none;
}

.map-input:focus[b-80ag8whq9r] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.map-input[b-80ag8whq9r]::placeholder {
    color: #9ca3af;
}

.share-result-section[b-80ag8whq9r] {
    margin-top: 8px;
}

.share-result-label[b-80ag8whq9r] {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.share-result-link-row[b-80ag8whq9r] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.share-link-input[b-80ag8whq9r] {
    flex: 1;
    font-size: 13px;
    cursor: text;
}

.share-copied-hint[b-80ag8whq9r] {
    color: #16a34a;
    font-size: 13px;
    margin-top: 8px;
}

.context-menu-item[b-80ag8whq9r] {
    width: 100%;
    border: none;
    background: transparent;
    border-radius: 6px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #1f2937;
    cursor: pointer;
    text-align: left;
}

.context-menu-item:hover[b-80ag8whq9r] {
    background-color: #f3f4f6;
}

.context-menu-item.danger[b-80ag8whq9r] {
    color: #dc2626;
}

.context-menu-item.danger:hover[b-80ag8whq9r] {
    background-color: #fef2f2;
}

.image-viewer-backdrop[b-80ag8whq9r] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(2px);
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-viewer-topbar[b-80ag8whq9r] {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    height: 52px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 2;
}

.viewer-file-name[b-80ag8whq9r] {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 45vw;
}

.viewer-toolbar[b-80ag8whq9r] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.viewer-btn[b-80ag8whq9r] {
    min-width: 34px;
    height: 34px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
    color: #334155;
    font-size: 14px;
    cursor: pointer;
    padding: 0 10px;
}

.viewer-btn:hover[b-80ag8whq9r] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.viewer-btn.close[b-80ag8whq9r] {
    color: #dc2626;
}

.image-viewer-stage[b-80ag8whq9r] {
    position: absolute;
    inset: 84px 74px 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.viewer-image[b-80ag8whq9r] {
    max-width: min(88vw, 1400px);
    max-height: calc(100vh - 160px);
    user-select: none;
    transition: transform 120ms ease;
    transform-origin: center center;
}

.viewer-image.panning[b-80ag8whq9r] {
    cursor: grabbing;
    transition: none;
}

.video-viewer-backdrop[b-80ag8whq9r] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(2px);
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-viewer-topbar[b-80ag8whq9r] {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    height: 52px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 2;
}

.video-viewer-stage[b-80ag8whq9r] {
    position: absolute;
    inset: 84px 74px 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 8px;
}

.viewer-video[b-80ag8whq9r] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* �����Ż� */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    /* ��ֹ��Ƶ���� */
    transform: translateZ(0);
    will-change: auto;
}

.viewer-nav[b-80ag8whq9r] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 64px;
    border: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.93);
    border-radius: 12px;
    color: #334155;
    font-size: 22px;
    cursor: pointer;
}

.viewer-nav:hover[b-80ag8whq9r] {
    background: #fff;
}

.viewer-nav.prev[b-80ag8whq9r] {
    left: 18px;
}

.viewer-nav.next[b-80ag8whq9r] {
    right: 18px;
}

.text-viewer-backdrop[b-80ag8whq9r] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(2px);
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-viewer-topbar[b-80ag8whq9r] {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    height: 52px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 2;
}

.text-viewer-stage[b-80ag8whq9r] {
    position: absolute;
    inset: 84px 40px 28px;
    overflow: auto;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.text-viewer-content[b-80ag8whq9r] {
    margin: 0;
    padding: 20px 24px;
    font-family: "Cascadia Code", "Fira Code", "Source Code Pro", Consolas, "Courier New", monospace;
    font-size: 14px;
    line-height: 1.7;
    color: #1f2937;
    white-space: pre-wrap;
    word-wrap: break-word;
    tab-size: 4;
}

.text-viewer-loading[b-80ag8whq9r],
.text-viewer-error[b-80ag8whq9r] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 15px;
    color: #6b7280;
}

.text-viewer-error[b-80ag8whq9r] {
    color: #dc2626;
}

.file-item[b-80ag8whq9r],
.file-card[b-80ag8whq9r],
.file-card-name[b-80ag8whq9r],
.col-name[b-80ag8whq9r],
.col-name > span[b-80ag8whq9r] {
    user-select: none;
    -webkit-user-select: none;
}

.rename-inline-input[b-80ag8whq9r] {
    user-select: text;
    -webkit-user-select: text;
}

.queue-progress-card[b-80ag8whq9r] {
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fbff;
    margin-bottom: 8px;
}

.queue-progress-title[b-80ag8whq9r] {
    font-size: 12px;
    color: #334155;
    margin-bottom: 6px;
}

.queue-progress-meta[b-80ag8whq9r] {
    font-size: 12px;
    color: #165dff;
    font-weight: 600;
    margin-bottom: 6px;
}

.queue-progress-bar[b-80ag8whq9r] {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.queue-progress-value[b-80ag8whq9r] {
    height: 100%;
    background: linear-gradient(90deg, #165dff 0%, #5b8dff 100%);
    transition: width 120ms ease;
}

@media (max-width: 768px) {
    .index-page[b-80ag8whq9r] {
        height: auto;
        min-height: auto;
    }

    .view-sort-bar[b-80ag8whq9r] {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .file-grid-panel[b-80ag8whq9r] {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }

    .upload-queue[b-80ag8whq9r] {
        right: 12px;
        width: min(320px, calc(100vw - 24px));
    }

    .image-viewer-topbar[b-80ag8whq9r] {
        top: 10px;
        left: 10px;
        right: 10px;
        height: auto;
        min-height: 52px;
        padding: 8px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .viewer-file-name[b-80ag8whq9r] {
        max-width: 100%;
    }

    .image-viewer-stage[b-80ag8whq9r] {
        inset: 120px 14px 20px;
    }

    .viewer-nav[b-80ag8whq9r] {
        width: 38px;
        height: 54px;
    }

    .viewer-nav.prev[b-80ag8whq9r] {
        left: 8px;
    }

    .viewer-nav.next[b-80ag8whq9r] {
        right: 8px;
    }
}

/* ���ڲ��ƶ���קʱ�������ļ�������Ԫ�ص�ָ���¼�����ֹƵ������ dragenter/dragleave */
.internal-dragging .file-item *[b-80ag8whq9r],
.internal-dragging .file-card *[b-80ag8whq9r] {
    pointer-events: none;
}
.upload-queue.queue-collapsed[b-80ag8whq9r] {
    width: auto !important;
    left: auto !important;
    right: 20px !important;
    bottom: 0 !important;
    top: auto !important;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
}
.upload-queue.queue-collapsed .queue-body[b-80ag8whq9r] {
    display: none;
}
.upload-queue.queue-collapsed .queue-header[b-80ag8whq9r] {
    padding: 8px 12px;
}
.upload-queue.queue-collapsed .btn-close[b-80ag8whq9r],
.upload-queue.queue-collapsed .queue-actions[b-80ag8whq9r] {
    display: none;
}
.queue-title-icon[b-80ag8whq9r] {
    margin-right: 6px;
    font-size: 1.1em;
}


.creative-loader[b-80ag8whq9r] { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; margin: auto; }
.creative-loader .cloud[b-80ag8whq9r] { font-size: 56px; line-height: 1; animation: float-cloud-b-80ag8whq9r 2s ease-in-out infinite; text-shadow: 0 8px 15px rgba(0,0,0,0.1); }
.creative-loader .shadow[b-80ag8whq9r] { width: 60px; height: 10px; background: rgba(0,0,0,0.1); border-radius: 50%; margin-top: 15px; animation: pulse-shadow-b-80ag8whq9r 2s ease-in-out infinite; }
.creative-loader .text[b-80ag8whq9r] { margin-top: 20px; color: var(--text-secondary, #888); font-size: 14px; font-weight: 500; letter-spacing: 2px; animation: fade-text-b-80ag8whq9r 2s ease-in-out infinite; }
@keyframes float-cloud-b-80ag8whq9r { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes pulse-shadow-b-80ag8whq9r { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.5); opacity: 0.3; } }
@keyframes fade-text-b-80ag8whq9r { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
/* /Components/Pages/Login.razor.rz.scp.css */
.login-wrapper[b-6rbokduvcg] {
    display: flex;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #f0f4f8;
}

.left-pane[b-6rbokduvcg] {
    flex: 2;
    background: #2b2d42; /* Dark background so bright monsters pop */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.right-pane[b-6rbokduvcg] {
    flex: 1;
    min-width: 400px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -15px 0 30px rgba(0,0,0,0.1);
    z-index: 10;
}

.login-card[b-6rbokduvcg] {
    width: 100%;
    padding: 3rem;
    max-width: 450px;
    text-align: center;
}

.login-title[b-6rbokduvcg] {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.login-subtitle[b-6rbokduvcg] {
    color: #627d98;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.input-group-custom[b-6rbokduvcg] {
    position: relative;
    margin-bottom: 2.2rem;
    text-align: left;
}

.input-group-custom .form-control[b-6rbokduvcg] {
    width: 100%;
    height: 3.2rem;
    padding: 0.5rem 0.5rem;
    font-size: 1.1rem;
    color: #1a202c;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    outline: none;
    background: transparent;
    border-radius: 0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: none;
}

.input-group-custom label[b-6rbokduvcg] {
    position: absolute;
    top: 50%;
    left: 0.5rem;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: #94a3b8;
    pointer-events: none;
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) all;
}

.input-group-custom .form-control:focus ~ label[b-6rbokduvcg],
.input-group-custom .form-control:not(:placeholder-shown) ~ label[b-6rbokduvcg] {
    top: 0;
    transform: translateY(-100%);
    left: 0;
    font-size: 0.85rem;
    color: #165dff;
    font-weight: 600;
}

.input-group-custom .form-control:focus[b-6rbokduvcg] {
    border-bottom: 2px solid #165dff;
    box-shadow: 0 4px 6px -4px rgba(22, 93, 255, 0.2);
}

.btn-primary[b-6rbokduvcg] {
    height: 3.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 8px;
    background: linear-gradient(135deg, #165dff 0%, #3a7afe 100%);
    border: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 15px rgba(22, 93, 255, 0.3);
    color: white;
}

.btn-primary:hover[b-6rbokduvcg] {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(22, 93, 255, 0.45);
    background: linear-gradient(135deg, #165dff 0%, #0c43c2 100%);
}

.btn-primary:active[b-6rbokduvcg] {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(22, 93, 255, 0.3);
}

/* Third party login divider */
.third-party-login[b-6rbokduvcg] {
    margin-top: 2.2rem;
}

.divider[b-6rbokduvcg] {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    font-size: 0.85rem;
}

.divider[b-6rbokduvcg]::before, .divider[b-6rbokduvcg]::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #edf2f7;
}

.divider[b-6rbokduvcg]::before { margin-right: 0.8em; }
.divider[b-6rbokduvcg]::after { margin-left: 0.8em; }

/* Social Icons */
.social-icons[b-6rbokduvcg] {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon[b-6rbokduvcg] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    font-family: inherit;
    font-size: 1.1rem;
    color: white;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.qq[b-6rbokduvcg] { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); box-shadow: 0 4px 12px rgba(0, 242, 254, 0.35); }
.wechat[b-6rbokduvcg] { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); box-shadow: 0 4px 12px rgba(67, 233, 123, 0.35); }
.alipay[b-6rbokduvcg] { background: linear-gradient(135deg, #00c6fb 0%, #005bea 100%); box-shadow: 0 4px 12px rgba(0, 91, 234, 0.35); }

.qq:hover[b-6rbokduvcg] { transform: translateY(-4px) scale(1.1); box-shadow: 0 8px 20px rgba(0, 242, 254, 0.5); color: white;}
.wechat:hover[b-6rbokduvcg] { transform: translateY(-4px) scale(1.1); box-shadow: 0 8px 20px rgba(67, 233, 123, 0.5); color: white;}
.alipay:hover[b-6rbokduvcg] { transform: translateY(-4px) scale(1.1); box-shadow: 0 8px 20px rgba(0, 91, 234, 0.5); color: white;}

.toast-container[b-6rbokduvcg] {
    animation: fadeinout-b-6rbokduvcg 3.5s forwards;
    z-index: 1055;
    pointer-events: auto;
}

@keyframes fadeinout-b-6rbokduvcg {
    0% { opacity: 0; visibility: visible; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* Monster Styles */
.monster-container[b-6rbokduvcg] {
    display: flex;
    gap: 3rem;
}

.monster[b-6rbokduvcg] {
    width: 130px;
    height: 150px;
    border-radius: 65px 65px 30px 30px;
    position: relative;
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 3px solid #fff;
}

.monster-pink[b-6rbokduvcg] { background: #ff9a9e; }
.monster-blue[b-6rbokduvcg] { background: #a1c4fd; }
.monster-green[b-6rbokduvcg] { background: #a8edea; }

.eyes[b-6rbokduvcg] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 34px;
    gap: 16px;
    margin-top: 35px;
    z-index: 2;
}

.eye[b-6rbokduvcg] {
    width: 34px;
    height: 34px;
    background: #fff;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.pupil[b-6rbokduvcg] {
    width: 14px;
    height: 14px;
    background: #1e1e24;
    border-radius: 50%;
    position: absolute;
    transition: transform 0.05s linear, opacity 0.2s ease;
}

.arms[b-6rbokduvcg] {
    display: flex;
    justify-content: space-between;
    width: 100px;
    position: absolute;
    bottom: -20px;
    z-index: 3;
}

.arm[b-6rbokduvcg] {
    width: 28px;
    height: 55px;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.monster-pink .arm[b-6rbokduvcg] { background: #ff9a9e; border: 2px solid #fff;}
.monster-blue .arm[b-6rbokduvcg] { background: #a1c4fd; border: 2px solid #fff;}
.monster-green .arm[b-6rbokduvcg] { background: #a8edea; border: 2px solid #fff;}

.arm-left[b-6rbokduvcg] {
    transform-origin: top center;
    transform: rotate(20deg);
}

.arm-right[b-6rbokduvcg] {
    transform-origin: top center;
    transform: rotate(-20deg);
}

.monster[b-6rbokduvcg]::after {
    content: '';
    position: absolute;
    top: 85px;
    width: 24px;
    height: 10px;
    border-bottom: 3px solid rgba(30,30,36,0.5);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.surprised .monster[b-6rbokduvcg]::after {
    border-bottom: none;
    background: #1e1e24;
    width: 16px;
    height: 22px;
    border-radius: 50%;
    top: 80px;
}

.surprised .eye[b-6rbokduvcg] {
    width: 42px;
    height: 42px;
    box-shadow: inset 0 3px 8px rgba(0,0,0,0.4);
}

.surprised .pupil[b-6rbokduvcg] {
    width: 10px;
    height: 10px;
}

.hide-eyes .eye[b-6rbokduvcg] {
    width: 34px;
    height: 4px;
    border-radius: 2px;
    background: #1e1e24;
    box-shadow: none;
}

.hide-eyes .pupil[b-6rbokduvcg] {
    opacity: 0;
}

.surprised.hide-eyes .monster[b-6rbokduvcg]::after {
    border-bottom: 3px solid rgba(30,30,36,0.5);
    background: transparent;
    width: 24px;
    height: 10px;
    border-radius: 50%;
    top: 85px;
}
/* /Components/Pages/MyShares.razor.rz.scp.css */
/* ===== Page container ===== */
.shares-page[b-3g3jh8yab9] {
    height: calc(100vh - 3.5rem);
    min-height: calc(100vh - 3.5rem);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background-color: #f5f7fa;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
}

.content-shell[b-3g3jh8yab9] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.breadcrumb-bar[b-3g3jh8yab9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.current-path[b-3g3jh8yab9] {
    font-size: 16px;
    font-weight: 600;
}

.breadcrumb-path[b-3g3jh8yab9] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.path-link[b-3g3jh8yab9] {
    border: none;
    background: transparent;
    padding: 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    cursor: default;
}

.breadcrumb-actions[b-3g3jh8yab9] {
    display: flex;
    gap: 8px;
}

.btn-icon[b-3g3jh8yab9] {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.btn-icon:hover[b-3g3jh8yab9] {
    background-color: #f3f4f6;
}

.view-sort-bar[b-3g3jh8yab9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #fff;
}

.file-stats[b-3g3jh8yab9] {
    font-size: 13px;
    color: #6b7280;
}

.share-list-surface[b-3g3jh8yab9] {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.share-list-panel[b-3g3jh8yab9] {
    overflow-x: auto;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.share-list-panel.empty[b-3g3jh8yab9] {
    overflow: hidden;
}

.share-list-header[b-3g3jh8yab9],
.share-item-row[b-3g3jh8yab9] {
    display: grid;
    
    align-items: center;
    column-gap: 12px;
    min-width: 860px;
    padding: 12px 16px;
}

.share-list-header[b-3g3jh8yab9] {
    border-bottom: 1px solid #e5e7eb;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    position: sticky;
    top: 0;
    background: #fafbfc;
    z-index: 1;
}

.share-item-row[b-3g3jh8yab9] {
    border-bottom: 1px solid #f3f4f6;
    cursor: default;
    transition: background-color 0.15s ease;
}

.share-item-row:hover[b-3g3jh8yab9] {
    background-color: #f9fafb;
}

.col-name[b-3g3jh8yab9] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
}

.col-name .item-name[b-3g3jh8yab9] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.icon.folder[b-3g3jh8yab9] {
    color: #fbbf24;
}

.icon.file[b-3g3jh8yab9] {
    color: #6b7280;
}

.share-tag[b-3g3jh8yab9] {
    font-size: 12px;
    color: #6b7280;
}

.share-expired[b-3g3jh8yab9] {
    font-size: 12px;
    color: #dc2626;
    border: 1px solid #fecaca;
    padding: 1px 6px;
    border-radius: 10px;
    background: #fef2f2;
}

.col-size[b-3g3jh8yab9],
.col-created[b-3g3jh8yab9],
.col-expire[b-3g3jh8yab9],
.col-access[b-3g3jh8yab9] {
    font-size: 13px;
    color: #6b7280;
}

.col-actions[b-3g3jh8yab9] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.list-empty-state[b-3g3jh8yab9] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    color: #9ca3af;
}

.list-empty-icon[b-3g3jh8yab9] {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.4;
}

.list-empty-text[b-3g3jh8yab9] {
    color: #6b7280;
    font-size: 13px;
}

.share-action-btn[b-3g3jh8yab9] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.share-action-btn:hover[b-3g3jh8yab9] {
    background: #f3f4f6;
}

.share-action-btn.danger[b-3g3jh8yab9] {
    color: #dc2626;
    border-color: #fecaca;
}

.share-action-btn.danger:hover[b-3g3jh8yab9] {
    background: #fef2f2;
}

.reset-dialog-backdrop[b-3g3jh8yab9] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reset-dialog[b-3g3jh8yab9] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
    width: min(420px, calc(100vw - 32px));
    overflow: hidden;
}

.reset-dialog-header[b-3g3jh8yab9] {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
}

.reset-dialog-body[b-3g3jh8yab9] {
    padding: 16px 20px;
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

.reset-warning[b-3g3jh8yab9] {
    color: #dc2626;
    font-size: 13px;
    font-weight: 500;
}

.reset-dialog-footer[b-3g3jh8yab9] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid #e5e7eb;
}

.reset-btn[b-3g3jh8yab9] {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
}

.reset-btn.cancel[b-3g3jh8yab9] {
    background: #fff;
    color: #374151;
}

.reset-btn.cancel:hover[b-3g3jh8yab9] {
    background: #f3f4f6;
}

.reset-btn.confirm[b-3g3jh8yab9] {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.reset-btn.confirm:hover[b-3g3jh8yab9] {
    background: #b91c1c;
}

.reset-btn.confirm:disabled[b-3g3jh8yab9] {
    opacity: 0.6;
    cursor: not-allowed;
}

.share-toast[b-3g3jh8yab9] {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    animation: toast-in-b-3g3jh8yab9 0.3s ease;
}

.share-toast.success[b-3g3jh8yab9] {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.share-toast.error[b-3g3jh8yab9] {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

@keyframes toast-in-b-3g3jh8yab9 {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}
/* /Components/Pages/OfflineDownload.razor.rz.scp.css */
.offline-page[b-wmxg1of349] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.content-shell[b-wmxg1of349] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.breadcrumb-bar[b-wmxg1of349] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.current-path[b-wmxg1of349] {
    font-size: 16px;
    font-weight: 600;
}

.breadcrumb-path[b-wmxg1of349] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.path-link[b-wmxg1of349] {
    border: none;
    background: transparent;
    padding: 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    cursor: default;
}

.breadcrumb-actions[b-wmxg1of349] {
    display: flex;
    gap: 8px;
}

.btn-icon[b-wmxg1of349] {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.btn-icon:hover[b-wmxg1of349] {
    background-color: #f3f4f6;
}

.view-sort-bar[b-wmxg1of349] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #fff;
}

.file-stats[b-wmxg1of349] {
    font-size: 13px;
    color: #6b7280;
}

.category-list-surface[b-wmxg1of349] {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.category-list-panel[b-wmxg1of349] {
    overflow-x: auto;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.category-list-panel.empty[b-wmxg1of349] {
    overflow: hidden;
}

.category-list-header[b-wmxg1of349],
.category-item-row[b-wmxg1of349] {
    display: grid;
    align-items: center;
    column-gap: 12px;
    padding: 12px 16px;
}

.category-list-header[b-wmxg1of349] {
    border-bottom: 1px solid #e5e7eb;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    position: sticky;
    top: 0;
    background: #fafbfc;
    z-index: 1;
}

.category-item-row[b-wmxg1of349] {
    border-bottom: 1px solid #f3f4f6;
    cursor: default;
    transition: background-color 0.15s ease;
}

.category-item-row:hover[b-wmxg1of349] {
    background-color: #f9fafb;
}

.col-name[b-wmxg1of349] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
}

.col-name .item-name[b-wmxg1of349] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-location[b-wmxg1of349],
.col-time[b-wmxg1of349],
.col-speed[b-wmxg1of349] {
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-status[b-wmxg1of349] {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.progress-bar-container[b-wmxg1of349] {
    width: 100%;
    height: 6px;
    background: #f3f4f6;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.progress-bar[b-wmxg1of349] {
    height: 100%;
    background: #059669;
    width: 0%;
    transition: width 0.3s;
}

.status-text[b-wmxg1of349] {
    font-size: 12px;
    color: #6b7280;
}

.col-actions[b-wmxg1of349] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.category-action-btn[b-wmxg1of349] {
    padding: 4px 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    color: #374151;
}

.category-action-btn:hover[b-wmxg1of349] {
    background: #f3f4f6;
}

.category-action-btn.danger[b-wmxg1of349] {
    color: #dc2626;
    border-color: #fecaca;
}

.category-action-btn.danger:hover[b-wmxg1of349] {
    background: #fef2f2;
}

.list-empty-state[b-wmxg1of349] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    color: #9ca3af;
}

.list-empty-icon[b-wmxg1of349] {
    font-size: 48px;
    margin-bottom: 16px;
}

.list-empty-text[b-wmxg1of349] {
    font-size: 16px;
    color: #6b7280;
}

.task-error[b-wmxg1of349] {
    grid-column: 1 / -1;
    padding: 8px 16px;
    color: #dc2626;
    font-size: 12px;
    background: #fef2f2;
    border-bottom: 1px solid #fecaca;
}

.form-group[b-wmxg1of349] {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.map-input[b-wmxg1of349] {
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 14px;
}

/* ===== Dialog ===== */
.reset-dialog-backdrop[b-wmxg1of349] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reset-dialog[b-wmxg1of349] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
    width: min(420px, calc(100vw - 32px));
    overflow: hidden;
}

.reset-dialog-header[b-wmxg1of349] {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
}

.reset-dialog-body[b-wmxg1of349] {
    padding: 16px 20px;
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

.reset-dialog-footer[b-wmxg1of349] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid #e5e7eb;
}

.reset-btn[b-wmxg1of349] {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
}

.reset-btn.cancel[b-wmxg1of349] {
    background: #fff;
    color: #374151;
}

.reset-btn.cancel:hover[b-wmxg1of349] {
    background: #f3f4f6;
}

.reset-btn.confirm[b-wmxg1of349] {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.reset-btn.confirm:hover[b-wmxg1of349] {
    background: #b91c1c;
}
/* /Components/Pages/PublicFiles.razor.rz.scp.css */
.public-files-page[b-4cxwlm39av] {
    height: calc(100vh - 3.5rem);
    min-height: calc(100vh - 3.5rem);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background-color: #f5f7fa;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
}

.content-shell[b-4cxwlm39av] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.breadcrumb-bar[b-4cxwlm39av] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.current-path[b-4cxwlm39av] {
    font-size: 16px;
    font-weight: 600;
}

.breadcrumb-path[b-4cxwlm39av] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.path-link[b-4cxwlm39av] {
    border: none;
    background: transparent;
    padding: 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    cursor: default;
}

.breadcrumb-actions[b-4cxwlm39av] {
    display: flex;
    gap: 8px;
}

.btn-icon[b-4cxwlm39av] {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.btn-icon:hover[b-4cxwlm39av] {
    background-color: #f3f4f6;
}

.view-sort-bar[b-4cxwlm39av] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #fff;
}

.file-stats[b-4cxwlm39av] {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #6b7280;
}

.public-drop-zone[b-4cxwlm39av] {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 132px;
    margin: 16px 16px 14px;
    padding: 22px 24px;
    border: 1px dashed #8aa4d6;
    border-radius: 8px;
    background: #f8fbff;
    color: #172033;
    overflow: hidden;
    transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.public-drop-zone:hover[b-4cxwlm39av],
.public-drop-zone:focus-within[b-4cxwlm39av] {
    border-color: #2563eb;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

.public-drop-zone[b-4cxwlm39av]  .public-file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.public-drop-title[b-4cxwlm39av] {
    font-size: 1.12rem;
    font-weight: 700;
}

.public-drop-meta[b-4cxwlm39av] {
    color: #52637a;
    font-size: 0.92rem;
}

.public-drop-url[b-4cxwlm39av] {
    display: block;
    width: fit-content;
    max-width: 100%;
    padding: 6px 8px;
    border: 1px solid #d8e0ee;
    border-radius: 6px;
    color: #334155;
    background: rgba(255, 255, 255, 0.78);
    overflow-wrap: anywhere;
}

.public-uploading[b-4cxwlm39av] {
    color: #165dff;
    font-weight: 650;
}

.public-list-panel[b-4cxwlm39av] {
    flex: 1;
    min-height: 0;
    background: #ffffff;
    overflow: auto;
}

.public-list-panel.empty[b-4cxwlm39av] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.public-list-header[b-4cxwlm39av],
.public-item-row[b-4cxwlm39av] {
    display: grid;
    grid-template-columns: minmax(180px, 1.25fr) 108px minmax(130px, 0.72fr) 150px minmax(260px, 1.45fr) 210px;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
}

.public-list-header[b-4cxwlm39av] {
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    background: #fafbfc;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1;
}

.public-item-row[b-4cxwlm39av] {
    min-height: 58px;
    border-bottom: 1px solid #f3f4f6;
    color: #6b7280;
    font-size: 13px;
    transition: background-color 0.15s ease;
}

.public-item-row:hover[b-4cxwlm39av] {
    background: #f9fafb;
}

.public-item-row:last-child[b-4cxwlm39av] {
    border-bottom: 0;
}

.public-file-name[b-4cxwlm39av] {
    font-weight: 650;
    color: #1f2937;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-muted[b-4cxwlm39av] {
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-link-input[b-4cxwlm39av] {
    width: 100%;
    min-width: 0;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #374151;
    background: #fff;
    font-size: 12px;
}

.public-link-input:focus[b-4cxwlm39av] {
    outline: 2px solid rgba(37, 99, 235, 0.18);
    border-color: #2563eb;
    background: #ffffff;
}

.list-empty-state[b-4cxwlm39av] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    color: #9ca3af;
}

.list-empty-icon[b-4cxwlm39av] {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.4;
}

.list-empty-text[b-4cxwlm39av] {
    color: #6b7280;
    font-size: 13px;
}

.public-actions[b-4cxwlm39av] {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    min-width: 0;
}

.share-action-btn[b-4cxwlm39av] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    color: #374151;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.share-action-btn:hover[b-4cxwlm39av] {
    background: #f3f4f6;
}

.share-action-btn.danger[b-4cxwlm39av] {
    color: #dc2626;
    border-color: #fecaca;
}

.share-action-btn.danger:hover[b-4cxwlm39av] {
    background: #fef2f2;
}

.share-toast[b-4cxwlm39av] {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    animation: toast-in-b-4cxwlm39av 0.3s ease;
}

.share-toast.success[b-4cxwlm39av] {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.share-toast.error[b-4cxwlm39av] {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

@keyframes toast-in-b-4cxwlm39av {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 1100px) {
    .public-list-header[b-4cxwlm39av] {
        display: none;
    }

    .public-item-row[b-4cxwlm39av] {
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: stretch;
        padding: 14px;
    }

    .public-item-row > div[b-4cxwlm39av],
    .public-link-cell[b-4cxwlm39av] {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 10px;
        align-items: center;
    }

    .public-item-row > div[b-4cxwlm39av]::before,
    .public-link-cell[b-4cxwlm39av]::before {
        content: attr(data-label);
        color: #64748b;
        font-size: 0.82rem;
        font-weight: 700;
    }

    .public-file-name[b-4cxwlm39av] {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .public-actions[b-4cxwlm39av] {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .public-actions[b-4cxwlm39av]::before {
        align-self: center;
    }
}

@media (max-width: 640px) {
    .public-files-page[b-4cxwlm39av] {
        height: auto;
        min-height: auto;
    }

    .view-sort-bar[b-4cxwlm39av] {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .public-drop-zone[b-4cxwlm39av] {
        min-height: 124px;
        padding: 18px;
    }

    .public-item-row > div[b-4cxwlm39av],
    .public-link-cell[b-4cxwlm39av] {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .public-actions[b-4cxwlm39av] {
        display: flex;
    }
}
/* /Components/Pages/Share.razor.rz.scp.css */
.share-page[b-na96azn0c5] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.share-card[b-na96azn0c5] {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 40px 36px;
    width: min(420px, calc(100vw - 40px));
    text-align: center;
}

.share-loading[b-na96azn0c5] {
    font-size: 16px;
    color: #6b7280;
    padding: 20px 0;
}

.share-error-icon[b-na96azn0c5] {
    font-size: 48px;
    margin-bottom: 12px;
}

.share-error-text[b-na96azn0c5] {
    font-size: 16px;
    color: #dc2626;
    line-height: 1.6;
}

.share-file-icon[b-na96azn0c5] {
    font-size: 64px;
    margin-bottom: 12px;
}

.share-file-name[b-na96azn0c5] {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
    word-break: break-all;
}

.share-file-meta[b-na96azn0c5] {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
}

.share-expired-badge[b-na96azn0c5] {
    display: inline-block;
    background: #fef2f2;
    color: #dc2626;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 8px;
    margin-top: 16px;
}

.share-password-section[b-na96azn0c5] {
    margin-top: 20px;
    text-align: left;
}

.share-password-label[b-na96azn0c5] {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.share-password-row[b-na96azn0c5] {
    display: flex;
    gap: 8px;
}

.share-password-input[b-na96azn0c5] {
    flex: 1;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #1f2937;
    outline: none;
}

.share-password-input:focus[b-na96azn0c5] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.share-password-error[b-na96azn0c5] {
    color: #dc2626;
    font-size: 13px;
    margin-top: 8px;
}

.share-download-btn[b-na96azn0c5] {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #165dff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.share-download-btn:hover[b-na96azn0c5] {
    background: #1249d6;
}

.share-download-btn:disabled[b-na96azn0c5] {
    opacity: 0.6;
    cursor: not-allowed;
}

.share-download-btn.full-width[b-na96azn0c5] {
    width: 100%;
    margin-top: 20px;
    padding: 12px 20px;
    font-size: 16px;
}
/* /Components/Pages/Starred.razor.rz.scp.css */
/* ===== Page container ===== */
.starred-page[b-wfk0e6wabp] {
    height: calc(100vh - 3.5rem);
    min-height: calc(100vh - 3.5rem);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background-color: #f5f7fa;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
}

.content-shell[b-wfk0e6wabp] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.breadcrumb-bar[b-wfk0e6wabp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.current-path[b-wfk0e6wabp] {
    font-size: 16px;
    font-weight: 600;
}

.breadcrumb-path[b-wfk0e6wabp] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.path-link[b-wfk0e6wabp] {
    border: none;
    background: transparent;
    padding: 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    cursor: default;
}

.breadcrumb-actions[b-wfk0e6wabp] {
    display: flex;
    gap: 8px;
}

.btn-icon[b-wfk0e6wabp] {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.btn-icon:hover[b-wfk0e6wabp] {
    background-color: #f3f4f6;
}

.view-sort-bar[b-wfk0e6wabp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #fff;
}

.file-stats[b-wfk0e6wabp] {
    font-size: 13px;
    color: #6b7280;
}

.category-list-surface[b-wfk0e6wabp] {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.category-list-panel[b-wfk0e6wabp] {
    overflow-x: auto;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.category-list-panel.empty[b-wfk0e6wabp] {
    overflow: hidden;
}

.category-list-header[b-wfk0e6wabp],
.category-item-row[b-wfk0e6wabp] {
    display: grid;

    align-items: center;
    column-gap: 12px;

    padding: 12px 16px;
}

.category-list-header[b-wfk0e6wabp] {
    border-bottom: 1px solid #e5e7eb;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    position: sticky;
    top: 0;
    background: #fafbfc;
    z-index: 1;
}

.category-item-row[b-wfk0e6wabp] {
    border-bottom: 1px solid #f3f4f6;
    cursor: default;
    transition: background-color 0.15s ease;
}

.category-item-row:hover[b-wfk0e6wabp] {
    background-color: #f9fafb;
}

.col-name[b-wfk0e6wabp] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
}

.col-name .item-name[b-wfk0e6wabp] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.icon.folder[b-wfk0e6wabp] {
    color: #fbbf24;
}

.icon.file[b-wfk0e6wabp] {
    color: #6b7280;
}

.col-size[b-wfk0e6wabp],
.col-modified[b-wfk0e6wabp],
.col-created[b-wfk0e6wabp] {
    font-size: 13px;
    color: #6b7280;
}

.col-actions[b-wfk0e6wabp] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.list-empty-state[b-wfk0e6wabp] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    color: #9ca3af;
}

.list-empty-icon[b-wfk0e6wabp] {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.4;
}

.list-empty-text[b-wfk0e6wabp] {
    color: #6b7280;
    font-size: 13px;
}

.scroll-sentinel[b-wfk0e6wabp] {
    grid-column: 1 / -1;
    height: 1px;
    visibility: hidden;
}

.load-more-indicator[b-wfk0e6wabp] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
    color: #9ca3af;
    font-size: 13px;
}

.category-list-panel .scroll-sentinel[b-wfk0e6wabp],
.category-list-panel .load-more-indicator[b-wfk0e6wabp] {
    width: 100%;
}

.category-action-btn[b-wfk0e6wabp] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.category-action-btn:hover[b-wfk0e6wabp] {
    background: #f3f4f6;
}

.category-toast[b-wfk0e6wabp] {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    animation: toast-in-b-wfk0e6wabp 0.3s ease;
}

.category-toast.success[b-wfk0e6wabp] {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.category-toast.error[b-wfk0e6wabp] {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.image-viewer-backdrop[b-wfk0e6wabp] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(2px);
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-viewer-topbar[b-wfk0e6wabp] {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    height: 52px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 2;
}

.viewer-file-name[b-wfk0e6wabp] {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 45vw;
}

.viewer-toolbar[b-wfk0e6wabp] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.viewer-btn[b-wfk0e6wabp] {
    min-width: 34px;
    height: 34px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
    color: #334155;
    font-size: 14px;
    cursor: pointer;
    padding: 0 10px;
}

.viewer-btn:hover[b-wfk0e6wabp] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.viewer-btn.close[b-wfk0e6wabp] {
    color: #dc2626;
}

.image-viewer-stage[b-wfk0e6wabp] {
    position: absolute;
    inset: 84px 74px 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.viewer-image[b-wfk0e6wabp] {
    max-width: min(88vw, 1400px);
    max-height: calc(100vh - 160px);
    user-select: none;
    transition: transform 120ms ease;
    transform-origin: center center;
}

.viewer-image.panning[b-wfk0e6wabp] {
    cursor: grabbing;
    transition: none;
}

.video-viewer-backdrop[b-wfk0e6wabp] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(2px);
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-viewer-topbar[b-wfk0e6wabp] {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    height: 52px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 2;
}

.video-viewer-stage[b-wfk0e6wabp] {
    position: absolute;
    inset: 84px 74px 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 8px;
}

.viewer-video[b-wfk0e6wabp] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    transform: translateZ(0);
    will-change: auto;
}

.viewer-nav[b-wfk0e6wabp] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 64px;
    border: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.93);
    border-radius: 12px;
    color: #334155;
    font-size: 22px;
    cursor: pointer;
}

.viewer-nav:hover[b-wfk0e6wabp] {
    background: #fff;
}

.viewer-nav.prev[b-wfk0e6wabp] {
    left: 18px;
}

.viewer-nav.next[b-wfk0e6wabp] {
    right: 18px;
}

.text-viewer-backdrop[b-wfk0e6wabp] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(2px);
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-viewer-topbar[b-wfk0e6wabp] {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    height: 52px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 2;
}

.text-viewer-stage[b-wfk0e6wabp] {
    position: absolute;
    inset: 84px 40px 28px;
    overflow: auto;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.text-viewer-content[b-wfk0e6wabp] {
    margin: 0;
    padding: 20px 24px;
    font-family: "Cascadia Code", "Fira Code", "Source Code Pro", Consolas, "Courier New", monospace;
    font-size: 14px;
    line-height: 1.7;
    color: #1f2937;
    white-space: pre-wrap;
    word-wrap: break-word;
    tab-size: 4;
}

.text-viewer-loading[b-wfk0e6wabp],
.text-viewer-error[b-wfk0e6wabp] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 15px;
    color: #6b7280;
}

.text-viewer-error[b-wfk0e6wabp] {
    color: #dc2626;
}

@keyframes toast-in-b-wfk0e6wabp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}
/* /Components/Pages/Top.razor.rz.scp.css */
.top-row[b-qdzxqro9u2] {
    min-height: 4rem;
    background: rgba(22, 24, 29, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-row-content[b-qdzxqro9u2] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 100%;
}

.navbar-brand[b-qdzxqro9u2] {
    font-size: 1.25rem;
    font-weight: 600;
    margin-right: 4rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.top-bar-left[b-qdzxqro9u2] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 0.5rem;
}

.search-box[b-qdzxqro9u2] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 240px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.search-box:focus-within[b-qdzxqro9u2] {
    width: 320px;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.search-box .icon[b-qdzxqro9u2] {
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
}

.search-box input[b-qdzxqro9u2] {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.9rem;
    color: #fff;
}

.search-box input[b-qdzxqro9u2]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.top-bar-right[b-qdzxqro9u2] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-left: auto;
}

.btn-icon[b-qdzxqro9u2] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
}

.btn-icon:hover[b-qdzxqro9u2] {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.user-avatar[b-qdzxqro9u2] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-left: 0.5rem;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.user-name[b-qdzxqro9u2] {
    margin: 0 0.8rem 0 0.5rem;
    color: #e5e6eb;
    font-size: 0.95rem;
    font-weight: 500;
}

.btn-logout[b-qdzxqro9u2] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    height: 32px;
    padding: 0 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.btn-logout:hover[b-qdzxqro9u2] {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1024px) {
    .search-box[b-qdzxqro9u2] {
        width: 180px;
    }

    .search-box:focus-within[b-qdzxqro9u2] {
        width: 240px;
    }
}

@media (max-width: 860px) {
    .top-bar-left[b-qdzxqro9u2] {
        display: none;
    }
}

/* Settings Dialog */
.settings-dialog-backdrop[b-qdzxqro9u2] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-dialog[b-qdzxqro9u2] {
    background-color: #fff;
    border-radius: 12px;
    width: 900px;
    max-width: 95vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    color: #1d2129;
    overflow: hidden;
}

.settings-dialog-header[b-qdzxqro9u2] {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f2f3f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.15rem;
    font-weight: 600;
    background-color: #fff;
}

.settings-close-btn[b-qdzxqro9u2] {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #86909c;
    transition: color 0.2s;
}
.settings-close-btn:hover[b-qdzxqro9u2] {
    color: #1d2129;
}

.settings-dialog-body[b-qdzxqro9u2] {
    padding: 0;
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 400px;
}

.settings-sidebar[b-qdzxqro9u2] {
    width: 160px;
    border-right: 1px solid #f2f3f5;
    background-color: #fafbfc;
    padding: 1rem 0;
}

.settings-tab[b-qdzxqro9u2] {
    padding: 0.85rem 1.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #4e5969;
    transition: all 0.2s ease;
}

.settings-tab:hover[b-qdzxqro9u2] {
    background-color: #f0f1f2;
}

.settings-tab.active[b-qdzxqro9u2] {
    background-color: #fff;
    color: #165dff;
    font-weight: 600;
    border-right: 3px solid #165dff;
}

.settings-content[b-qdzxqro9u2] {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    background-color: #fff;
}

.form-group[b-qdzxqro9u2] {
    margin-bottom: 1rem;
}

.form-group label[b-qdzxqro9u2] {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #4e5969;
}

.form-control[b-qdzxqro9u2] {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1px solid #e5e6eb;
    border-radius: 6px;
    font-size: 0.95rem;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.form-control:focus[b-qdzxqro9u2] {
    border-color: #165dff;
    box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.15);
}

.btn-primary[b-qdzxqro9u2] {
    background-color: #165dff;
    color: #fff;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.btn-primary:hover[b-qdzxqro9u2] {
    background-color: #1456ed;
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.2);
}

.user-list-table[b-qdzxqro9u2] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.user-list-table th[b-qdzxqro9u2], .user-list-table td[b-qdzxqro9u2] {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #e5e6eb;
    text-align: left;
}

.badge-role[b-qdzxqro9u2] {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    background-color: #e8f3ff;
    color: #165dff;
}

.badge-status[b-qdzxqro9u2] {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}
.badge-status.active[b-qdzxqro9u2] {
    background-color: #e8ffea;
    color: #00b42a;
}
.badge-status.inactive[b-qdzxqro9u2] {
    background-color: #ffece8;
    color: #f53f3f;
}

.action-link[b-qdzxqro9u2] {
    color: #165dff;
    cursor: pointer;
    margin-right: 0.5rem;
    text-decoration: none;
}
.action-link:hover[b-qdzxqro9u2] {
    text-decoration: underline;
}
.create-user-section[b-qdzxqro9u2] {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e6eb;
}
.flex-row[b-qdzxqro9u2] {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}
.flex-row .form-group[b-qdzxqro9u2] {
    margin-bottom: 0;
    flex: 1;
}
/* /Components/Pages/Trash.razor.rz.scp.css */
/* ===== Page container — matches .index-page ===== */
.trash-page[b-ck91mquhzl] {
    height: calc(100vh - 3.5rem);
    min-height: calc(100vh - 3.5rem);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background-color: #f5f7fa;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
}

/* ===== Content shell — matches .content-shell ===== */
.content-shell[b-ck91mquhzl] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

/* ===== Breadcrumb bar — matches .breadcrumb-bar ===== */
.breadcrumb-bar[b-ck91mquhzl] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.current-path[b-ck91mquhzl] {
    font-size: 16px;
    font-weight: 600;
}

.breadcrumb-path[b-ck91mquhzl] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.path-link[b-ck91mquhzl] {
    border: none;
    background: transparent;
    padding: 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    cursor: default;
}

.breadcrumb-actions[b-ck91mquhzl] {
    display: flex;
    gap: 8px;
}

.btn-icon[b-ck91mquhzl] {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.btn-icon:hover[b-ck91mquhzl] {
    background-color: #f3f4f6;
}

.btn-icon.danger[b-ck91mquhzl] {
    color: #dc2626;
}

.btn-icon.danger:hover[b-ck91mquhzl] {
    background: #fef2f2;
}

/* ===== View / sort bar — matches .view-sort-bar ===== */
.view-sort-bar[b-ck91mquhzl] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #fff;
}

.file-stats[b-ck91mquhzl] {
    font-size: 13px;
    color: #6b7280;
}

/* ===== List surface — scrollable like .drop-surface ===== */
.trash-list-surface[b-ck91mquhzl] {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* ===== List panel — matches .file-list-panel ===== */
.file-list-panel[b-ck91mquhzl] {
    overflow-x: auto;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.file-list-panel.empty[b-ck91mquhzl] {
    overflow: hidden;
}

/* ===== Grid header & item rows — matches Index grid layout ===== */
.file-list-header[b-ck91mquhzl],
.file-item[b-ck91mquhzl] {
    display: grid;

    align-items: center;
    column-gap: 12px;

    padding: 12px 16px;
}

.file-list-header[b-ck91mquhzl] {
    border-bottom: 1px solid #e5e7eb;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    position: sticky;
    top: 0;
    background: #fafbfc;
    z-index: 1;
}

.file-item[b-ck91mquhzl] {
    border-bottom: 1px solid #f3f4f6;
    cursor: default;
    transition: background-color 0.15s ease;
}

.file-item:hover[b-ck91mquhzl] {
    background-color: #f9fafb;
}

/* ===== Column styles — matches Index column styles ===== */
.col-name[b-ck91mquhzl] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
}

.col-name .item-name[b-ck91mquhzl] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.icon.folder[b-ck91mquhzl] {
    color: #fbbf24;
}

.icon.file[b-ck91mquhzl] {
    color: #6b7280;
}

.col-size[b-ck91mquhzl],
.col-deleted[b-ck91mquhzl],
.col-created[b-ck91mquhzl] {
    font-size: 13px;
    color: #6b7280;
}

.col-actions[b-ck91mquhzl] {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

/* ===== Empty state — matches Index empty state ===== */
.list-empty-state[b-ck91mquhzl] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    color: #9ca3af;
}

.list-empty-icon[b-ck91mquhzl] {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.4;
}

.list-empty-text[b-ck91mquhzl] {
    color: #6b7280;
    font-size: 13px;
}

/* ===== Action buttons ===== */
.trash-action-btn[b-ck91mquhzl] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.trash-action-btn.restore[b-ck91mquhzl] {
    color: #059669;
    border-color: #a7f3d0;
}

.trash-action-btn.restore:hover[b-ck91mquhzl] {
    background: #ecfdf5;
    border-color: #059669;
}

.trash-action-btn.delete[b-ck91mquhzl] {
    color: #dc2626;
    border-color: #fecaca;
}

.trash-action-btn.delete:hover[b-ck91mquhzl] {
    background: #fef2f2;
    border-color: #dc2626;
}

/* ===== Context menu — matches Index .surface-context-menu ===== */
.surface-context-menu[b-ck91mquhzl] {
    position: fixed;
    min-width: 160px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    padding: 6px;
    z-index: 50;
}

.context-menu-item[b-ck91mquhzl] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    background: transparent;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
}

.context-menu-item:hover[b-ck91mquhzl] {
    background-color: #f3f4f6;
}

.context-menu-item.danger[b-ck91mquhzl] {
    color: #dc2626;
}

.context-menu-item.danger:hover[b-ck91mquhzl] {
    background-color: #fef2f2;
}

/* ===== Dialog — matches Index .reset-dialog-* ===== */
.reset-dialog-backdrop[b-ck91mquhzl] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reset-dialog[b-ck91mquhzl] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
    width: min(420px, calc(100vw - 32px));
    overflow: hidden;
}

.reset-dialog-header[b-ck91mquhzl] {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
}

.reset-dialog-body[b-ck91mquhzl] {
    padding: 16px 20px;
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

.reset-dialog-body p[b-ck91mquhzl] {
    margin: 0 0 8px;
}

.reset-dialog-body ul[b-ck91mquhzl] {
    margin: 0 0 12px;
    padding-left: 20px;
}

.reset-dialog-body ul li[b-ck91mquhzl] {
    margin-bottom: 4px;
}

.reset-warning[b-ck91mquhzl] {
    color: #dc2626;
    font-size: 13px;
    font-weight: 500;
}

.reset-dialog-footer[b-ck91mquhzl] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid #e5e7eb;
}

.reset-btn[b-ck91mquhzl] {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
}

.reset-btn.cancel[b-ck91mquhzl] {
    background: #fff;
    color: #374151;
}

.reset-btn.cancel:hover[b-ck91mquhzl] {
    background: #f3f4f6;
}

.reset-btn.confirm[b-ck91mquhzl] {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.reset-btn.confirm:hover[b-ck91mquhzl] {
    background: #b91c1c;
}

.reset-btn.confirm:disabled[b-ck91mquhzl] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== Toast notification ===== */
.trash-toast[b-ck91mquhzl] {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    animation: toast-in-b-ck91mquhzl 0.3s ease;
}

.trash-toast.success[b-ck91mquhzl] {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.trash-toast.error[b-ck91mquhzl] {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

@keyframes toast-in-b-ck91mquhzl {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}
