/* File Upload Styles for LockerRequest */
.file-upload-zone {
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-zone:hover {
    border-color: #007bff !important;
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);
}

.file-upload-zone.dragover {
    border-color: #28a745 !important;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0fff0 100%) !important;
    transform: scale(1.02);
}

.upload-icon {
    transition: all 0.3s ease;
}

.file-upload-zone:hover .upload-icon i {
    transform: scale(1.1);
    color: #007bff !important;
}

.file-list-container {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.file-item {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.file-item:hover {
    background-color: #f8f9fa;
    border-left-color: #007bff;
    transform: translateX(5px);
}

.file-icon {
    transition: all 0.3s ease;
}

.file-item:hover .file-icon {
    transform: scale(1.1);
}

.remove-file-btn {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.remove-file-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.upload-progress {
    backdrop-filter: blur(2px);
}

.file-format-info .badge {
    transition: all 0.3s ease;
}

.file-format-info .badge:hover {
    transform: scale(1.05);
}

/* Alert Animations */
.alert-success, .alert-danger {
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* File Size Display */
.file-size {
    font-size: 0.85em;
    color: #6c757d;
}

/* Progress Bar Styles */
.progress-bar-animated {
    animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
    0% {
        background-position: 1rem 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* Card Header - matches ActivityReservation styling */
.card-header.bg-light {
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #dee2e6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .file-upload-zone {
        min-height: 150px !important;
        padding: 2rem !important;
    }
    
    .upload-icon i {
        font-size: 2.5rem !important;
    }
    
    .file-format-info .d-flex {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
}
