/* Modern FileTransfer Styles */
:root {
    --primary-color: #286CE2;
    --secondary-color: #499bea;
    --warning-color: #ff963b;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.hero-section {
    padding: 3rem 0;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Upload Area Styling */
#fileuploader {
    border: 3px dashed var(--primary-color);
    border-radius: 15px;
    padding: 3rem 2rem;
    transition: all 0.3s ease;
    background: #fafbfc;
}

#fileuploader:hover {
    border-color: var(--warning-color);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Card Enhancements */
.card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* Button Enhancements */
.btn {
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-warning {
    color: #000;
    font-weight: 600;
}

/* Table Enhancements */
.table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table tbody tr {
    transition: background-color 0.2s ease;
}

.table tbody tr:hover {
    background-color: rgba(40, 108, 226, 0.05);
}

/* Modal Enhancements */
.modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    border-bottom: none;
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

/* Form Controls */
.form-control {
    border-radius: 8px;
    border: 2px solid #e1e8ed;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 108, 226, 0.15);
}

/* Navbar */
.navbar {
    padding: 1rem 0;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Footer */
footer a:hover {
    color: var(--warning-color) !important;
    text-decoration: underline !important;
}

/* Upload Progress Bars */
.ajax-file-upload-statusbar {
    border-radius: 8px;
    margin: 10px 0;
    background: white;
    border: 1px solid #e1e8ed;
    padding: 10px;
}

.ajax-file-upload-progress {
    border-radius: 5px;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .table-responsive {
    animation: fadeIn 0.5s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .table {
        font-size: 0.85rem;
    }
    
    #fileuploader {
        padding: 2rem 1rem;
    }
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Toast Notifications */
.toast {
    border-radius: 10px;
}

/* Icon Animations */
.bi-cloud-arrow-up {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Success/Error Icons */
.bi-check-circle {
    transition: transform 0.2s ease;
}

.bi-check-circle:hover {
    transform: scale(1.2);
}

.bi-x-circle {
    transition: transform 0.2s ease;
}

.bi-x-circle:hover {
    transform: scale(1.2);
}
