/* Folder upload enhancements */
.folder-drop-zone {
    transition: all 0.3s ease;
}

.folder-drop-zone:hover {
    background-color: #e9ecef !important;
    border-color: #007bff !important;
}

/* Ensure webkitdirectory file input shows "Select" button */
input[type="file"][webkitdirectory]::-webkit-file-upload-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

input[type="file"][webkitdirectory]::-webkit-file-upload-button::before {
    content: "Select Folder";
}

/* Hide default "Choose Files" text */
input[type="file"][webkitdirectory] {
    color: transparent;
}

/* Drag and drop feedback */
.folder-drop-zone.dragover {
    background-color: #e3f2fd !important;
    border-color: #2196f3 !important;
    border-style: solid !important;
}

/* Upload progress styling */
#upload-progress-container {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    background-color: #f8f9fa;
    margin: 10px 0;
}

#upload-progress-bar {
    height: 25px;
    border-radius: 5px;
}

#upload-progress-text {
    font-weight: 500;
    color: #495057;
}

/* Cancel button styling */
#cancel-upload-btn {
    transition: all 0.2s ease;
}

#cancel-upload-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}