/* Drag and drop file upload styling */

.dropzone {
    border: 3px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    position: relative;
}

.dropzone.drag-active {
    border-color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

.dropzone-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #495057;
}

.dropzone-instruction {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.dropzone-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 15px;
}

.file-upload-progress {
    margin-top: 20px;
    display: none;
}

.file-upload-progress.active {
    display: block;
}

.upload-list {
    margin-top: 15px;
    padding: 0;
    list-style: none;
}

.upload-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-bottom: 8px;
    background-color: #fff;
}

.upload-item-name {
    flex-grow: 1;
    margin-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upload-item-size {
    color: #6c757d;
    font-size: 0.85rem;
    margin-right: 15px;
}

.upload-item-progress {
    width: 120px;
    height: 6px;
    background-color: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.upload-item-progress-bar {
    height: 100%;
    background-color: #28a745;
    position: absolute;
    left: 0;
    top: 0;
    transition: width 0.2s ease;
}

.upload-item-status {
    margin-left: 15px;
    width: 24px;
    text-align: center;
}

.upload-success {
    color: #28a745;
}

.upload-error {
    color: #dc3545;
}

.upload-error-message {
    margin-top: 5px;
    padding: 10px;
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 4px;
    color: #dc3545;
}
