/* Upload Manager UI */
.upload-manager {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 360px;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    max-height: 400px;
    transition: transform 0.3s, opacity 0.3s;
}

.upload-manager.hidden {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
}

.um-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.um-title {
    font-weight: 600;
    font-size: 14px;
}

.um-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
}

.um-close:hover {
    color: var(--text-primary);
}

.um-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.um-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.um-item:last-child {
    border-bottom: none;
}

.um-item-icon {
    font-size: 16px;
    color: var(--text-secondary);
    min-width: 20px;
    text-align: center;
}

.um-item-details {
    flex: 1;
    min-width: 0;
}

.um-item-name {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-primary);
}

.um-item-status {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.um-item-progress-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.um-item-progress-fill {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
    transition: width 0.2s linear;
}

/* Status Colors */
.um-item.success .um-item-icon { color: #34c759; }
.um-item.success .um-item-progress-fill { background: #34c759; }
.um-item.error .um-item-icon { color: #ff3b30; }
.um-item.error .um-item-progress-fill { background: #ff3b30; }


/* Drag and Drop Fullscreen Overlay */
.drop-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 132, 255, 0.15);
    backdrop-filter: blur(4px);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    border: 4px dashed var(--accent-color);
}

.drop-overlay.active {
    opacity: 1;
}

.drop-overlay i {
    font-size: 64px;
    color: var(--accent-color);
    margin-bottom: 16px;
    animation: bounce 1s infinite alternate;
}

.drop-overlay h2 {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}
