/* File input styling */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Upload statistics cards */
.upload-stats .card {
    transition: transform 0.2s ease-in-out;
}

.upload-stats .card:hover {
    transform: translateY(-2px);
}

/* File list styling */
#file-list .card {
    border: 1px solid #dee2e6;
    margin-top: 1rem;
}

#file-list .table th {
    background-color: #f8f9fa;
    border-top: none;
    font-weight: 600;
    font-size: 0.875rem;
}

#file-list .table td {
    vertical-align: middle;
    font-size: 0.875rem;
}

/* Status badges in file list */
.badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Alert styling improvements */
.alert {
    border: none;
    border-left: 4px solid;
}

.alert-success {
    border-left-color: #198754;
    background-color: #d1eddd;
    color: #0a3622;
}

.alert-danger {
    border-left-color: #dc3545;
    background-color: #f8d7da;
    color: #58151c;
}

.alert-warning {
    border-left-color: #ffc107;
    background-color: #fff3cd;
    color: #664d03;
}

.alert-info {
    border-left-color: #0dcaf0;
    background-color: #d1ecf1;
    color: #055160;
}

/* Upload results styling */
.upload-results {
    margin-bottom: 2rem;
}

.upload-results .card {
    margin-bottom: 1rem;
}

.upload-results .card-header {
    font-weight: 600;
}

/* File status row colors */
.table-success {
    background-color: rgba(25, 135, 84, 0.1);
}

.table-danger {
    background-color: rgba(220, 53, 69, 0.1);
}

.table-warning {
    background-color: rgba(255, 193, 7, 0.1);
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Form section styling */
.form-section {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
    border: 1px solid #dee2e6;
}

.form-section h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Button enhancements */
.btn {
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}

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

/* Responsive improvements */
@media (max-width: 768px) {
    .upload-stats .card {
        margin-bottom: 1rem;
    }
    
    #file-list .table-responsive {
        font-size: 0.8rem;
    }
    
    .form-section {
        padding: 1rem;
    }
}

/* Dean select styling */
#dean_emp_id {
    max-height: 200px;
    overflow-y: auto;
}

/* Progress indication */
.upload-progress {
    background-color: #e9ecef;
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 1rem;
}

.upload-progress-bar {
    background-color: #0d6efd;
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Error list styling */
.error-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 0;
}

.error-list li {
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.error-list li:last-child {
    border-bottom: none;
}

/* Success animation */
@keyframes successPulse {
    0% { box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(25, 135, 84, 0); }
    100% { box-shadow: 0 0 0 0 rgba(25, 135, 84, 0); }
}

.success-animation {
    animation: successPulse 2s;
}

/* File type icons */
.file-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

/* Drag and drop styling (if you want to add this feature later) */
.file-drop-zone {
    border: 2px dashed #dee2e6;
    border-radius: 0.375rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-drop-zone:hover {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

.file-drop-zone.dragover {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
}

/* Summary statistics improvements */
.stats-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.5rem;
    color: white;
    margin-bottom: 1rem;
}

.stats-card h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stats-card small {
    font-size: 0.875rem;
    opacity: 0.9;
}