/* Windows 11 File Explorer Styles */

.explorer-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif;
    outline: none;
}

/* Navigation Bar - Windows 11 Style */
.explorer-navbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    background: #f3f3f3;
    border-bottom: 1px solid #e5e5e5;
    min-height: 40px;
    flex-shrink: 0;
}

.navbar-navigation {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.nav-btn {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease;
    color: rgba(0, 0, 0, 0.9);
    font-size: 12px;
}

    .nav-btn:hover:not(:disabled) {
        background: rgba(0, 0, 0, 0.06);
    }

    .nav-btn:active:not(:disabled) {
        background: rgba(0, 0, 0, 0.08);
    }

    .nav-btn:disabled {
        color: rgba(0, 0, 0, 0.3);
        cursor: default !important;
        opacity: 0.5;
    }

    .nav-btn svg {
        width: 20px;
        height: 20px;
    }

.navbar-breadcrumb {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    padding: 0 8px;
    height: 28px;
    overflow-x: auto;
    overflow-y: hidden;
}

    .navbar-breadcrumb::-webkit-scrollbar {
        height: 4px;
    }

    .navbar-breadcrumb::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 2px;
    }

.navbar-search {
    position: relative;
    width: 240px;
    flex-shrink: 0;
}

.explorer-search {
    width: 100%;
    height: 28px;
    padding: 4px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    font-size: 12px;
    background: #fff;
    outline: none;
    transition: all 0.1s ease;
}

    .explorer-search:focus {
        border-color: #0067c0;
        box-shadow: 0 0 0 1px rgba(0, 103, 192, 0.2);
    }

.search-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

/* Top Bar - Breadcrumb & Search */
.explorer-top-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid #e5e5e5;
    background: #fafafa;
    min-height: 48px;
}

.explorer-breadcrumb {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 8px;
    background: #fff;
    border-radius: 4px;
    font-size: 12px;
}

    .explorer-breadcrumb::-webkit-scrollbar {
        height: 4px;
    }

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 3px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.1s;
}

    .breadcrumb-item:hover {
        background: #f0f0f0;
    }

.breadcrumb-separator {
    color: #999;
    font-size: 11px;
}

.explorer-search:focus {
    border-color: #0067c0;
}

/* Toolbar */
.explorer-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-bottom: 1px solid #e5e5e5;
    background: #f9f9f9;
    min-height: 40px;
    flex-shrink: 0;
}

.toolbar-group {
    display: flex;
    gap: 2px;
}

.toolbar-btn {
    height: 32px;
    padding: 0 12px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.1s ease;
    color: rgba(0, 0, 0, 0.9);
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
}

    .toolbar-btn i {
        font-size: 14px;
    }

    .toolbar-btn:hover:not(:disabled) {
        background: rgba(0, 0, 0, 0.06);
    }

    .toolbar-btn:active:not(:disabled) {
        background: rgba(0, 0, 0, 0.08);
    }

    .toolbar-btn.active {
        background: rgba(0, 103, 192, 0.05);
        border-color: #0067c0;
        color: #0067c0;
    }

    .toolbar-btn:disabled {
        color: rgba(0, 0, 0, 0.3);
        cursor: default !important;
        opacity: 0.5;
    }

.toolbar-separator {
    width: 1px;
    height: 24px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 4px;
}

.toolbar-btn.dropdown-btn {
    padding-right: 8px;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 2px;
}

/* Toolbar Dropdown Menu */
.toolbar-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    min-width: 160px;
    background: rgba(249, 249, 249, 0.95);
    backdrop-filter: blur(80px) saturate(180%);
    -webkit-backdrop-filter: blur(80px) saturate(180%);
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 4px;
    z-index: 1000;
    animation: dropdownFadeIn 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.1s ease;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.9);
}

    .dropdown-menu-item i {
        width: 16px;
        font-size: 14px;
        color: rgba(0, 0, 0, 0.7);
        flex-shrink: 0;
    }

    .dropdown-menu-item:hover {
        background: rgba(0, 0, 0, 0.06);
    }

    .dropdown-menu-item:active {
        background: rgba(0, 0, 0, 0.08);
    }

/* Dropdown Overlay */
.dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: transparent;
}

/* Context Menu - Windows 11 Style */
.context-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20000;
    background: transparent;
}

.context-menu {
    position: fixed;
    min-width: 320px;
    background: rgba(249, 249, 249, 0.95);
    backdrop-filter: blur(80px) saturate(180%);
    -webkit-backdrop-filter: blur(80px) saturate(180%);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 4px;
    animation: contextMenuFadeIn 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible;
}

@keyframes contextMenuFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Quick Actions Row */
.context-menu-actions {
    display: flex;
    gap: 2px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    margin-bottom: 4px;
    justify-content: flex-start;
}

.context-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.1s ease;
    min-width: 52px;
}

    .context-action-btn i {
        font-size: 16px;
        color: rgba(0, 0, 0, 0.8);
    }

    .context-action-btn span {
        font-size: 11px;
        color: rgba(0, 0, 0, 0.8);
        font-weight: 400;
    }

    .context-action-btn:hover {
        background: rgba(0, 0, 0, 0.06);
    }

    .context-action-btn:active {
        background: rgba(0, 0, 0, 0.08);
        transform: scale(0.98);
    }

    .context-action-btn.disabled {
        opacity: 0.5;
        cursor: not-allowed;
        pointer-events: none;
    }

/* Menu Items */
.context-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.1s ease;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.9);
    position: relative;
}

    .context-menu-item i:first-child {
        width: 16px;
        font-size: 14px;
        color: rgba(0, 0, 0, 0.7);
        flex-shrink: 0;
    }

    /* Checkmark for selected menu items */
    .context-menu-item.checked::before {
        content: '●';
        position: absolute;
        left: 4px;
        font-size: 10px;
        color: rgba(0, 0, 0, 0.7);
    }

    .context-menu-item span:nth-child(2) {
        flex: 1;
    }

    .context-menu-item:hover {
        background: rgba(0, 0, 0, 0.06);
    }

    .context-menu-item:active {
        background: rgba(0, 0, 0, 0.08);
    }

    .context-menu-item.disabled {
        opacity: 0.5;
        cursor: not-allowed;
        pointer-events: none;
    }

/* Shortcut text */
.context-menu-shortcut {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.5);
    margin-left: auto;
    padding-left: 16px;
}

/* Submenu arrow */
.context-menu-arrow {
    font-size: 10px;
    color: rgba(0, 0, 0, 0.5);
    margin-left: auto;
}

/* Divider */
.context-menu-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 4px 0;
}

/* Submenu */
.context-submenu {
    position: absolute;
    left: 100%;
    top: -4px;
    margin-left: -2px;
    min-width: 240px;
    background: rgba(249, 249, 249, 0.95);
    backdrop-filter: blur(80px) saturate(180%);
    -webkit-backdrop-filter: blur(80px) saturate(180%);
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 4px;
    z-index: 1001;
    display: none;
    pointer-events: auto;
}

.context-menu-item:hover .context-submenu,
.context-submenu:hover {
    display: block;
}

/* Main Content Area - 3 Columns */
.explorer-main {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Left Sidebar - Tree View */
.explorer-sidebar {
    width: 220px;
    border-right: 1px solid #e5e5e5;
    background: #fafafa;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

    .explorer-sidebar.collapsed {
        width: 0;
        min-width: 0;
        border: none;
    }

.sidebar-header {
    padding: 8px 12px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.tree-view {
    flex: 1;
    overflow-y: auto;
    padding: 4px;
}

.tree-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    margin: 2px 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    user-select: none;
    transition: background 0.1s;
}

    .tree-item:hover {
        background: #e5e5e5;
    }

    .tree-item.selected {
        background: #e3f2fd;
        color: #0067c0;
    }

    .tree-item .expand-icon {
        width: 16px;
        min-width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        color: #666;
        cursor: pointer;
        border-radius: 3px;
        transition: all 0.2s;
    }

        .tree-item .expand-icon:hover {
            background: rgba(0, 0, 0, 0.06);
        }

        .tree-item .expand-icon i {
            transition: transform 0.2s ease;
        }

        .tree-item .expand-icon.expanded i {
            transform: rotate(90deg);
        }

    .tree-item .folder-icon {
        width: 16px;
        height: 16px;
        object-fit: contain;
    }

/* Center Content Area */
.explorer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

.content-view {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

/* Grid View */
.view-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 120px);
    gap: 6px;
    padding: 12px;
    justify-content: start;
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.1s;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    width: 120px;
    overflow: hidden;
    box-sizing: border-box;
}

    .grid-item * {
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .grid-item:hover {
        background: #f5f5f5;
        border-color: #e0e0e0;
    }

    .grid-item.selected {
        background: #e3f2fd;
        border-color: #0067c0;
    }

    .grid-item.cut-item {
        opacity: 0.5;
    }

.grid-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

    .grid-item-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .grid-item-icon.folder {
        color: #f59e0b;
        font-size: 70px;
    }

    .grid-item-icon.file {
        color: #6b7280;
        font-size: 70px;
    }

.grid-item-name {
    font-size: 12px;
    text-align: center;
    word-break: break-word;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.3;
    max-height: calc(1.3em * 3 + 12px);
}

/* Inline Rename Input - Grid View */
.grid-item-rename {
    width: 100%;
    padding: 4px 6px;
    font-size: 12px;
    text-align: center;
    border: 1px solid #0067c0;
    border-radius: 3px;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0, 103, 192, 0.1);
    line-height: 1.3;
    resize: none;
    overflow: hidden;
    word-wrap: break-word;
    white-space: pre-wrap;
    box-sizing: border-box;
}

/* List View */
.view-list {
    display: flex;
    flex-direction: column;
}

.list-header {
    display: flex;
    padding: 8px 12px;
    border-bottom: 2px solid #e5e5e5;
    background: #fafafa;
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.list-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.1s;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

    .list-item * {
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .list-item:hover {
        background: #f5f5f5;
    }

    .list-item.selected {
        background: #e3f2fd;
    }

    .list-item.cut-item {
        opacity: 0.5;
    }

.list-col {
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-col-name {
    flex: 2;
    min-width: 0;
}

.list-col-size {
    flex: 0 0 100px;
    font-size: 12px;
    color: #666;
}

.list-col-date {
    flex: 0 0 140px;
    font-size: 12px;
    color: #666;
}

.list-col-type {
    flex: 0 0 100px;
    font-size: 12px;
    color: #666;
}

.list-item-icon {
    font-size: 16px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .list-item-icon img {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

.list-item-name {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Inline Rename Input - List View */
.list-item-rename {
    flex: 1;
    padding: 2px 6px;
    font-size: 12px;
    border: 1px solid #0067c0;
    border-radius: 3px;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0, 103, 192, 0.1);
    min-width: 0;
}

/* Right Sidebar - Properties */
.explorer-properties {
    width: 260px;
    border-left: 1px solid #e5e5e5;
    background: #fafafa;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .explorer-properties.collapsed {
        width: 0;
        min-width: 0;
        border: none;
        overflow: hidden;
    }

.properties-header {
    padding: 12px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    font-weight: 600;
}

.properties-content {
    flex: 1;
    padding: 12px;
}

.property-section {
    margin-bottom: 16px;
}

.property-section-title {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.property-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 12px;
    border-bottom: 1px solid #e5e5e5;
}

.property-label {
    color: #666;
}

.property-value {
    font-weight: 500;
    text-align: right;
}

.property-preview {
    width: 100%;
    aspect-ratio: 1;
    background: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

    .property-preview i {
        font-size: 64px;
        color: #999;
    }

    .property-preview img {
        width: 64px;
        height: 64px;
        object-fit: contain;
    }

/* Status Bar */
.explorer-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 12px;
    border-top: 1px solid #e5e5e5;
    background: #fafafa;
    font-size: 12px;
    color: #666;
    min-height: 28px;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 2px;
}

    .status-right .toolbar-btn {
        border-radius: 0;
        height: 28px;
        width: 28px;
        min-width: 28px;
        padding: 0;
    }

        .status-right .toolbar-btn.active {
            background: rgba(0, 103, 192, 0.05);
            border-color: #0067c0;
            color: #0067c0;
            --window-icon-color: #0067c0;
        }

.view-mode-selector {
    display: flex;
    gap: 2px;
    padding: 2px;
    background: #e5e5e5;
    border-radius: 4px;
}

.view-mode-btn {
    height: 28px;
    width: 28px;
    min-width: 28px;
    padding: 0;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.1s;
    color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .view-mode-btn:hover {
        background: rgba(0, 0, 0, 0.06);
    }

    .view-mode-btn.active {
        background: rgba(0, 103, 192, 0.05);
        border-color: #0067c0;
        color: #0067c0;
        --window-icon-color: #0067c0;
    }

/* Loading State */
.explorer-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
}

    .explorer-loading .spinner {
        width: 40px;
        height: 40px;
        border: 3px solid #e5e5e5;
        border-top-color: #0067c0;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Empty State */
.explorer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
}

    .explorer-empty i {
        font-size: 64px;
        margin-bottom: 16px;
    }

    .explorer-empty h5 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
    }

/* Scrollbar Styles */
.explorer-sidebar::-webkit-scrollbar,
.content-view::-webkit-scrollbar,
.explorer-properties::-webkit-scrollbar,
.tree-view::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.explorer-sidebar::-webkit-scrollbar-track,
.content-view::-webkit-scrollbar-track,
.explorer-properties::-webkit-scrollbar-track,
.tree-view::-webkit-scrollbar-track {
    background: transparent;
}

.explorer-sidebar::-webkit-scrollbar-thumb,
.content-view::-webkit-scrollbar-thumb,
.explorer-properties::-webkit-scrollbar-thumb,
.tree-view::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 4px;
}

    .explorer-sidebar::-webkit-scrollbar-thumb:hover,
    .content-view::-webkit-scrollbar-thumb:hover,
    .explorer-properties::-webkit-scrollbar-thumb:hover,
    .tree-view::-webkit-scrollbar-thumb:hover {
        background: #a0a0a0;
    }

/* Hidden file input for paste upload */
.hidden-file-input {
    display: none !important;
}

/* Upload Progress Item */
.upload-item {
    padding: 12px;
    background: #fafafa;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
}

    .upload-item:hover {
        background: #f5f5f5;
    }

/* Upload Toast - Floating progress indicator */
.upload-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 360px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.upload-toast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e5e5;
    font-weight: 600;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.9);
}

.upload-count {
    font-size: 13px;
    color: #0067c0;
    font-weight: 500;
}

.upload-toast-body {
    padding: 12px;
    max-height: 240px;
    overflow-y: auto;
}

.upload-toast-item {
    margin-bottom: 12px;
}

    .upload-toast-item:last-child {
        margin-bottom: 0;
    }

.upload-file-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 6px;
}

    .upload-file-name i {
        color: #0067c0;
        font-size: 12px;
    }

    .upload-file-name .fa-spinner {
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.upload-file-name span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.upload-progress-bar {
    height: 4px;
    background: #e5e5e5;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.upload-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0078d4, #0067c0);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.upload-progress-text {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.5);
    text-align: right;
}

.upload-more {
    padding: 8px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
    border-top: 1px solid #f0f0f0;
    margin-top: 8px;
}

/* Marquee selection */
.marquee-selection {
    position: fixed;
    border: 1px solid #0078d4;
    background: rgba(0, 120, 212, 0.1);
    pointer-events: none;
    z-index: 1000;
}
