.info-content {
    text-align: left;
}
/* Dropzone Preview Styles */
.dropzone {
    border: 2px dashed rgba(0, 123, 255, 0.2) !important;
    background: #f8faff !important;
    transition: all 0.3s ease;
}

.dropzone:hover {
    border-color: rgba(0, 123, 255, 0.4) !important;
    background: #f1f6ff !important;
}

.dropzone .dz-preview {
    min-height: auto !important;
    margin: 16px !important;
}

.dropzone .dz-preview.dz-file-preview .dz-image {
    border-radius: 8px !important;
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Enhanced Preview Container Styles */
.dz-preview-container {
    transition: all 0.3s ease;
}

.dz-preview-container:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.08) !important;
}

/* File Info Section */
.file-info {
    display: flex;
    align-items: center;
    /* padding: 20px; */
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.05); */
}

.file-icon {
    width: 40px;
    height: 40px;
    background: #f1f6ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.file-icon i {
    font-size: 20px;
    color: #0056b3;
}

.file-details {
    flex-grow: 1;
}

.file-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
    font-size: 14px;
}

.file-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.file-size {
    color: #6c757d;
    font-size: 12px;
}

/* Progress Section */
.upload-progress {
    padding: 20px;
    background: #fff;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.progress-percentage {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.progress-time {
    color: #6c757d;
    font-size: 12px;
}

.progress {
    background-color: #f0f0f0;
    overflow: hidden;
    border-radius: 10px;
}

.progress-bar {
    background: linear-gradient(45deg, #007bff, #0056b3);
    transition: width 0.3s ease-in-out;
}

/* Status Icons */
.upload-status-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.status-icon {
    opacity: 0;
    transition: all 0.3s ease;
}

.status-icon.active {
    opacity: 1;
}

.success-icon {
    color: #28a745;
}

.error-icon {
    color: #dc3545;
}

/* File Type Icon */
.file-type-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: rgba(220, 53, 69, 0.1);
}

/* Status Badge Styling */
.upload-status.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* Status Messages */
.status-message {
    font-size: 0.875rem;
    padding: 0.25rem 0;
}

.status-message.active {
    display: block !important;
}

/* Upload Actions */
.upload-actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* File Details Section */
.file-details.active {
    display: block !important;
}

/* Animation for status changes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.status-message.active {
    animation: fadeIn 0.3s ease-out;
}

/* Enhanced Remove/Cancel Button Styles */
.dz-remove {
    transition: all 0.2s ease-in-out;
    width: 32px;
    height: 32px;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    border: none !important;
    background: transparent !important;
    color: #dc3545 !important;
    opacity: 0.7;
}

.dz-remove:hover {
    background: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
    opacity: 1;
}

.dz-remove:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

/* Custom Light Danger Button */
.btn-light-danger {
    color: #dc3545;
    background-color: transparent;
    border-color: transparent;
}

.btn-light-danger:hover {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

.btn-light-danger:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Upload Status Transitions */
.upload-status {
    transition: all 0.3s ease;
}

/* Tooltip Enhancement */
.tooltip {
    font-size: 0.75rem;
}

/* Cancel Confirmation Dialog Styling */
.swal2-popup {
    border-radius: 1rem;
    padding: 2rem;
}

.swal2-title {
    font-size: 1.25rem !important;
    margin-bottom: 1.5rem !important;
    color: #2c3e50 !important;
    font-weight: 600 !important;
    padding: 0 !important;
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Add subtle border bottom to title */
.swal2-title:after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 3px;
}

/* Icon styling within title */
.swal2-title i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.swal2-html-container {
    margin: 1rem 0 !important;
    font-size: 0.95rem !important;
    color: #4a5568 !important;
}

.swal2-actions {
    gap: 0.5rem;
    margin-top: 1.5rem !important;
}

/* Enhanced button styling */
.swal2-confirm, .swal2-cancel {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 0.5rem !important;
}

/* Custom styling for specific modal types */
.file-options-modal .swal2-title {
    font-size: 1.15rem !important;
    color: #1a202c !important;
}

.file-options-modal .swal2-html-container {
    padding: 0 !important;
}

/* Hide default Dropzone remove link */
a.dz-remove {
    display: none !important;
}

/* Style only our custom remove button */
button.dz-remove {
    transition: all 0.2s ease-in-out;
    width: 32px;
    height: 32px;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    border: none !important;
    background: transparent !important;
    color: #dc3545 !important;
    opacity: 0.7;
}

/* Preview Card Styles */
.dz-preview-card {
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, z-index 0s;
}

.dz-preview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08) !important;
}

.file-icon-square {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-actions .btn-light {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.file-actions .btn-light:hover {
    background-color: #e9ecef;
    color: #495057;
}

.quick-actions .btn {
    transition: all 0.2s ease;
}

.quick-actions .btn:hover {
    transform: translateY(-1px);
}

.file-details {
    background-color: #f8f9fa;
}

/* Dropdown menu enhancements */
.dropdown-item {
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

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

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.file-options-modal .advanced-options-container {
    /* max-height: 60vh; */
    overflow: hidden;
}

.file-options-modal .card {
    margin-bottom: 1rem;
}

.file-options-modal .tooltip {
    z-index: 1070;
}

/* Add these styles for dropdown menu */
.dz-preview-card .dropdown-menu {
    padding: 4px;
    min-width: 180px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

.dz-preview-card .dropdown-item {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    transition: background-color 0.15s ease;
}

.dz-preview-card .dropdown-item:hover {
    background-color: var(--bg-gray-50);
}

.dz-preview-card .dropdown-item i {
    font-size: 0.875rem;
    width: 16px;
    text-align: center;
}

.dz-preview-card .dropdown-divider {
    margin: 4px 0;
    opacity: 0.4;
}

/* Hover effect for the ellipsis button */
.dz-preview-card .dropdown > button:hover {
    background-color: var(--bg-gray-100);
}