/* === CLOUD FILE MANAGER STYLES === */
:root {
    --cloud-primary: #0066cc;
    --cloud-secondary: #6c757d;
    --cloud-success: #28a745;
    --cloud-warning: #ffc107;
    --cloud-danger: #dc3545;
    --cloud-light: #f8f9fa;
    --cloud-dark: #343a40;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--cloud-light);
}

.app-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.app-header .app-brand {
    color: white !important;
    font-weight: 600;
}

.storage-status {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    color: white;
}

/* Drop Zone Overlay */
#drop-zone-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 204, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#drop-zone-overlay .content {
    text-align: center;
    color: white;
    font-size: 1.5rem;
}

#drop-zone-overlay .content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

/* Workspace Items */
.workspace-item {
    transition: all 0.2s ease;
    cursor: pointer;
}

.workspace-item:hover {
    background-color: rgba(0, 102, 204, 0.05);
}

.workspace-item.dragging {
    opacity: 0.5;
}

.workspace-item.drop-target {
    background-color: rgba(40, 167, 69, 0.1);
    border-left: 4px solid var(--cloud-success);
}

/* Bulk Action Bar */
#bulk-action-bar {
    background: linear-gradient(90deg, #e3f2fd 0%, #f3e5f5 100%);
    border: 1px solid #bbdefb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.card-body {
    padding: 0;
}

/* Progress Container */
.progress-container {
    background: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

/* File Icons */
.file-link,
.folder-link {
    transition: color 0.2s ease;
}

.file-link:hover,
.folder-link:hover {
    color: var(--cloud-primary) !important;
}

/* Breadcrumbs */
.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    font-weight: bold;
    color: var(--cloud-secondary);
}

.breadcrumb-item a {
    color: var(--cloud-primary);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Modals */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px 12px 0 0;
}

.modal-header .btn-close {
    filter: invert(1);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Tables */
.table thead th {
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: var(--cloud-dark);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 102, 204, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .workspace-header {
        flex-direction: column;
        align-items: stretch;
    }

    .workspace-header h2 {
        margin-bottom: 1rem;
    }

    .storage-status {
        display: none !important;
    }
}

/* Toast Animations */
.toast {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Utilities */
.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.text-primary {
    color: var(--cloud-primary) !important;
}


.upload-zone {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    /* Dodano cursor pointer */
    background-color: #fafafa;
}

.upload-zone:hover {
    border-color: #0d6efd;
    background-color: #f8f9fa;
}

.upload-zone.dragover {
    border-color: #0d6efd;
    background-color: #e7f3ff;
    transform: scale(1.02);
}

.file-item {
    transition: all 0.2s ease;
}

.file-item:hover {
    background-color: #f8f9fa;
}

/* Debug styling */
.debug-info {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-family: monospace;
    font-size: 12px;
    z-index: 9999;
}