/* Custom styles for file upload interface */

/* Drag and drop zone styling */
#dropZone {
    border: 2px dashed var(--bs-border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

#dropZone:hover {
    border-color: var(--bs-primary);
    background-color: rgba(13, 110, 253, 0.05);
}

#dropZone.highlight {
    border-color: var(--bs-primary);
    background-color: rgba(13, 110, 253, 0.1);
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Selected files list styling */
#selectedFiles {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

#filesList .list-group-item {
    transition: background-color 0.3s ease;
    border-left: 3px solid transparent;
}

#filesList .list-group-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

#filesList .file-progress {
    margin-top: 0.5rem;
}

.remove-file {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.remove-file:hover {
    opacity: 1;
}

/* Preview image styling */
.preview-image {
    max-height: 200px;
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* File type preview styling */
.pdf-preview, .file-preview {
    padding: 1rem;
    border-radius: 5px;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.05);
}

/* Custom file input styling */
.custom-file-input-container {
    position: relative;
}

.file-upload-box {
    background-color: var(--bs-body-bg);
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 2rem;
    transition: all 0.3s ease;
}

.file-upload-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

/* Progress bar animations */
.progress-bar {
    transition: width 0.3s ease;
}

/* Alert animations */
.alert {
    margin-top: 1rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.alert.show {
    transform: translateY(0);
    opacity: 1;
}

.alert:not(.show) {
    transform: translateY(-20px);
    opacity: 0;
}

/* File info section */
#fileInfo {
    margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .file-upload-box {
        padding: 1rem;
    }
    
    #dropZone {
        padding: 1rem;
    }
}
