/* PCAP Analyzer - Custom Styles */
/* Complète Tailwind CSS avec styles spécifiques */

/* ========================================
   1. NAVIGATION
   ======================================== */

.nav-link {
    @apply text-gray-700 dark:text-gray-300 hover:text-primary dark:hover:text-primary
           font-medium transition-colors duration-200 px-3 py-2 rounded-md
           hover:bg-gray-100 dark:hover:bg-gray-700;
}

.nav-link.active {
    @apply text-primary bg-blue-50 dark:bg-gray-700;
}

/* ========================================
   2. DRAG & DROP ZONE
   ======================================== */

.dropzone {
    @apply border-2 border-dashed border-gray-300 dark:border-gray-600 rounded-xl
           bg-gray-50 dark:bg-gray-800 p-12 text-center
           transition-all duration-300 cursor-pointer
           hover:border-primary hover:bg-blue-50 dark:hover:bg-gray-700;
}

.dropzone.dragover {
    @apply border-primary bg-blue-100 dark:bg-blue-900/20 scale-105;
}

.dropzone.error {
    @apply border-danger bg-red-50 dark:bg-red-900/20;
}

.dropzone-icon {
    @apply mx-auto mb-4 text-6xl text-gray-400 dark:text-gray-500
           transition-transform duration-300;
}

.dropzone:hover .dropzone-icon {
    @apply scale-110 text-primary;
}

/* ========================================
   2.5. UPLOAD PAGE - FILE PREVIEW CARD
   ======================================== */

/* File Preview Card - Glassmorphism Design */
.file-preview-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15),
                0 8px 24px rgba(118, 75, 162, 0.1);
    border: 2px solid transparent;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: fadeInScale 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1.5rem;
}

.dark .file-preview-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.9) 100%);
    background-image:
        linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.9) 100%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25),
                0 8px 24px rgba(118, 75, 162, 0.2);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Preview Header */
.file-preview-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

/* File Icon Container */
.file-icon-container {
    position: relative;
    flex-shrink: 0;
}

.file-icon-glow {
    position: absolute;
    inset: -12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.3;
    border-radius: 50%;
    filter: blur(20px);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.file-icon-large {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4),
                0 4px 12px rgba(118, 75, 162, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.file-icon-large i {
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* File Info Details */
.file-info-details {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    word-break: break-all;
    line-height: 1.3;
}

.dark .file-name {
    color: #f3f4f6;
}

.file-size {
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
}

.dark .file-size {
    color: #9ca3af;
}

/* Remove File Button */
.remove-file-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 2px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.dark .remove-file-btn {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.remove-file-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: #ef4444;
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.remove-file-btn i {
    font-size: 1.25rem;
}

/* Status Badge */
.file-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.875rem;
    color: #065f46;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.dark .file-status-badge {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    color: #a7f3d0;
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.file-status-badge i {
    font-size: 1rem;
    animation: pulse-check 2s ease-in-out infinite;
}

@keyframes pulse-check {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* File Metadata */
.file-metadata {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 14px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.dark .file-metadata {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: rgba(102, 126, 234, 0.2);
}

.metadata-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4b5563;
}

.dark .metadata-item {
    color: #d1d5db;
}

.metadata-item i {
    color: #667eea;
    font-size: 1rem;
}

.dark .metadata-item i {
    color: #a78bfa;
}

/* Preview Actions */
.file-preview-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.file-preview-actions button {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.file-preview-actions button i {
    font-size: 1.125rem;
}

/* Responsive - Mobile */
@media (max-width: 640px) {
    .file-preview-card {
        padding: 1.75rem 1.25rem;
    }

    .file-preview-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .file-icon-large {
        width: 64px;
        height: 64px;
    }

    .file-icon-large i {
        font-size: 2rem;
    }

    .file-name {
        font-size: 1.25rem;
    }

    .remove-file-btn {
        position: absolute;
        top: 0;
        right: 0;
    }

    .file-preview-actions {
        flex-direction: column;
    }

    .file-preview-actions button {
        min-width: 100%;
    }

    .file-metadata {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ========================================
   2.6. UPLOAD PAGE - MODERN DROPZONE
   ======================================== */

/* Modern Upload Dropzone with Glassmorphism */
.upload-dropzone {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%);
    backdrop-filter: blur(12px);
    border: 3px dashed transparent;
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1),
                0 4px 12px rgba(118, 75, 162, 0.08);
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    position: relative;
}

.dark .upload-dropzone {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.9) 100%);
    background-image:
        linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.9) 100%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2),
                0 4px 12px rgba(118, 75, 162, 0.15);
}

.upload-dropzone::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 24px;
    padding: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.upload-dropzone:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2),
                0 8px 24px rgba(118, 75, 162, 0.15);
}

.dark .upload-dropzone:hover {
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3),
                0 8px 24px rgba(118, 75, 162, 0.25);
}

.upload-dropzone:hover::before {
    opacity: 1;
}

/* Dragover state */
.upload-dropzone.dragover {
    transform: scale(1.02);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3),
                0 8px 24px rgba(118, 75, 162, 0.2),
                inset 0 0 60px rgba(102, 126, 234, 0.1);
}

.dark .upload-dropzone.dragover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4),
                0 8px 24px rgba(118, 75, 162, 0.3),
                inset 0 0 60px rgba(102, 126, 234, 0.15);
}

/* Browse Button */
.upload-browse-btn {
    position: relative;
    overflow: hidden;
    padding: 1rem 2.5rem;
    border-radius: 1rem;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease-out;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4),
                0 4px 12px rgba(118, 75, 162, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.upload-browse-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.1) 55%,
        transparent 100%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.upload-browse-btn:hover::before {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.upload-browse-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5),
                0 6px 16px rgba(118, 75, 162, 0.4);
}

.upload-browse-btn:active {
    transform: translateY(0) scale(1);
}

/* Loading Spinner for Upload */
.loading-spinner-upload {
    width: 80px;
    height: 80px;
    border: 6px solid rgba(102, 126, 234, 0.15);
    border-top-color: #667eea;
    border-right-color: #764ba2;
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ========================================
   2.7. PROGRESS PAGE - UNIFIED DESIGN SYSTEM
   ======================================== */

/* Main Progress Card - Glassmorphism */
.progress-main-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.12),
                0 4px 16px rgba(118, 75, 162, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 2px solid transparent;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%),
        linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .progress-main-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.9) 100%);
    background-image:
        linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.9) 100%),
        linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2),
                0 4px 16px rgba(118, 75, 162, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Stats Card - Glassmorphism */
.progress-stats-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.12),
                0 4px 16px rgba(118, 75, 162, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 2px solid transparent;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%),
        linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .progress-stats-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.9) 100%);
    background-image:
        linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.9) 100%),
        linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2),
                0 4px 16px rgba(118, 75, 162, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Individual Stat Items - Unified Glassmorphism with Color Accents */
.progress-stat-item {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(249, 250, 251, 0.5) 100%);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .progress-stat-item {
    background: linear-gradient(135deg, rgba(55, 65, 81, 0.6) 0%, rgba(31, 41, 55, 0.5) 100%);
    border: 1px solid rgba(75, 85, 99, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.progress-stat-item:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.dark .progress-stat-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Color Accent Borders for Stats */
.progress-stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 16px 0 0 16px;
    transition: width 0.3s ease;
}

.progress-stat-item:hover::before {
    width: 6px;
}

.stat-blue::before {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
}

.stat-green::before {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}

.stat-purple::before {
    background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 100%);
}

.stat-orange::before {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
}

/* Icon Wrappers - Unified Style */
.stat-icon-wrapper {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.stat-icon-wrapper i {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-stat-item:hover .stat-icon-wrapper {
    transform: scale(1.05) rotate(-2deg);
}

.stat-icon-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.dark .stat-icon-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(37, 99, 235, 0.2) 100%);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
}

.stat-icon-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.dark .stat-icon-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.2) 100%);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.stat-icon-purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(124, 58, 237, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
}

.dark .stat-icon-purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(124, 58, 237, 0.2) 100%);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #a78bfa;
}

.stat-icon-orange {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.1) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.dark .stat-icon-orange {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.2) 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

/* Stat Labels - Unified Typography */
.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.dark .stat-label {
    color: #9ca3af;
}

.stat-value-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

.dark .stat-value-text {
    color: #f9fafb;
}

/* Actions Card - Glassmorphism */
.progress-actions-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.12),
                0 4px 16px rgba(118, 75, 162, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 2px solid transparent;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%),
        linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .progress-actions-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.9) 100%);
    background-image:
        linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.9) 100%),
        linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2),
                0 4px 16px rgba(118, 75, 162, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Event Log Card - Glassmorphism */
.progress-log-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.12),
                0 4px 16px rgba(118, 75, 162, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 2px solid transparent;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%),
        linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .progress-log-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.9) 100%);
    background-image:
        linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.9) 100%),
        linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2),
                0 4px 16px rgba(118, 75, 162, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.progress-log-header {
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.15);
}

.dark .progress-log-header {
    border-bottom: 2px solid rgba(102, 126, 234, 0.25);
}

/* Task Info Card - Glassmorphism */
.progress-task-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.12),
                0 4px 16px rgba(118, 75, 162, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 2px solid transparent;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%),
        linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .progress-task-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.9) 100%);
    background-image:
        linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.9) 100%),
        linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2),
                0 4px 16px rgba(118, 75, 162, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Responsive Adjustments for Progress Page */
@media (max-width: 768px) {
    .progress-main-card,
    .progress-stats-card,
    .progress-actions-card,
    .progress-log-card,
    .progress-task-card {
        border-radius: 20px;
        padding: 1.5rem;
    }

    .progress-stat-item {
        border-radius: 14px;
        padding: 1rem 1.25rem;
    }

    .stat-icon-wrapper {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
        border-radius: 12px;
    }

    .stat-value-text {
        font-size: 1rem;
    }
}

/* ========================================
   3. PROGRESS COMPONENTS
   ======================================== */

.progress-bar {
    @apply w-full h-3 bg-gray-200 dark:bg-gray-700 rounded-full overflow-hidden;
}

.progress-fill {
    @apply h-full bg-gradient-primary transition-all duration-500 ease-out;
}

.progress-ring {
    @apply transform -rotate-90;
}

.progress-ring-circle {
    @apply transition-all duration-500 ease-out;
    stroke-dashoffset: 0;
}

/* Spinner Animation */
.spinner {
    @apply inline-block w-8 h-8 border-4 border-gray-300 border-t-primary rounded-full animate-spin;
}

.spinner-sm {
    @apply w-4 h-4 border-2;
}

.spinner-lg {
    @apply w-12 h-12 border-4;
}

/* ========================================
   4. CARDS & CONTAINERS
   ======================================== */

.card {
    @apply bg-white dark:bg-gray-800 rounded-xl shadow-lg
           border border-gray-200 dark:border-gray-700 p-6
           transition-all duration-300
           hover:shadow-xl hover:scale-[1.02];
}

.card-header {
    @apply border-b border-gray-200 dark:border-gray-700 pb-4 mb-4;
}

.card-footer {
    @apply border-t border-gray-200 dark:border-gray-700 pt-4 mt-4;
}

/* Glass Effect */
.glass {
    @apply backdrop-blur-md bg-white/80 dark:bg-gray-800/80
           border border-gray-200/50 dark:border-gray-700/50;
}

/* Enhanced glass effect for progress page */
.card.glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 251, 0.85) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.dark .card.glass {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.9) 0%, rgba(17, 24, 39, 0.85) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ========================================
   5. BUTTONS
   ======================================== */

.btn {
    @apply px-6 py-3 rounded-lg font-semibold
           transition-all duration-200
           focus:outline-none focus:ring-4 focus:ring-offset-2
           disabled:opacity-50 disabled:cursor-not-allowed;
}

.btn-primary {
    @apply bg-gradient-primary text-white
           hover:shadow-lg hover:scale-105
           focus:ring-blue-300 dark:focus:ring-blue-600;
}

.btn-secondary {
    @apply bg-gray-200 dark:bg-gray-700 text-gray-800 dark:text-gray-200
           hover:bg-gray-300 dark:hover:bg-gray-600
           focus:ring-gray-300 dark:focus:ring-gray-600;
}

.btn-success {
    @apply bg-gradient-success text-white
           hover:shadow-lg hover:scale-105
           focus:ring-green-300;
}

.btn-danger {
    @apply bg-gradient-danger text-white
           hover:shadow-lg hover:scale-105
           focus:ring-red-300;
}

.btn-outline {
    @apply bg-transparent border-2 border-primary text-primary
           hover:bg-primary hover:text-white
           focus:ring-blue-300;
}

/* ========================================
   5.5. ACTION BUTTONS (Progress Page)
   ======================================== */

/* Primary Action Button - Gradient Purple/Blue avec Glassmorphism */
.action-btn-primary {
    @apply relative overflow-hidden px-8 py-4 rounded-xl font-bold
           transition-all duration-300 ease-out
           focus:outline-none focus:ring-4 focus:ring-purple-300 dark:focus:ring-purple-600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4),
                0 4px 12px rgba(118, 75, 162, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.action-btn-primary * {
    color: #ffffff !important;
}

.action-btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.1) 55%,
        transparent 100%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.action-btn-primary:hover::before {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.action-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5),
                0 6px 16px rgba(118, 75, 162, 0.4);
}

.action-btn-primary:active {
    transform: translateY(-1px) scale(1);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4),
                0 3px 8px rgba(118, 75, 162, 0.3);
}

.dark .action-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.6),
                0 4px 12px rgba(118, 75, 162, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.dark .action-btn-primary:hover {
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.7),
                0 6px 16px rgba(118, 75, 162, 0.6);
}

/* Secondary Action Button - Glass Outline Style */
.action-btn-secondary {
    @apply relative overflow-hidden px-6 py-3.5 rounded-xl font-semibold
           transition-all duration-300 ease-out
           focus:outline-none focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.dark .action-btn-secondary {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border: 2px solid rgba(102, 126, 234, 0.4);
    color: #a78bfa;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

.action-btn-secondary:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25);
}

.dark .action-btn-secondary:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 100%);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
}

.action-btn-secondary:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Tertiary Action Button - Subtle Glass Style */
.action-btn-tertiary {
    @apply relative overflow-hidden px-6 py-3.5 rounded-xl font-semibold
           transition-all duration-300 ease-out
           focus:outline-none focus:ring-4 focus:ring-gray-300 dark:focus:ring-gray-600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.1) 0%, rgba(75, 85, 99, 0.1) 100%);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(107, 114, 128, 0.2);
    color: #4b5563;
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.1);
}

.dark .action-btn-tertiary {
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.15) 0%, rgba(107, 114, 128, 0.15) 100%);
    border: 2px solid rgba(156, 163, 175, 0.3);
    color: #d1d5db;
    box-shadow: 0 4px 12px rgba(156, 163, 175, 0.15);
}

.action-btn-tertiary:hover {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.2) 0%, rgba(75, 85, 99, 0.2) 100%);
    border-color: rgba(107, 114, 128, 0.4);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(107, 114, 128, 0.2);
}

.dark .action-btn-tertiary:hover {
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.25) 0%, rgba(107, 114, 128, 0.25) 100%);
    border-color: rgba(156, 163, 175, 0.4);
    box-shadow: 0 8px 20px rgba(156, 163, 175, 0.25);
}

.action-btn-tertiary:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.15);
}

/* ========================================
   6. BADGES & TAGS
   ======================================== */

.badge {
    @apply inline-flex items-center px-3 py-1 rounded-full text-xs font-semibold;
}

.badge-pending {
    @apply bg-gray-100 dark:bg-gray-700 text-gray-700 dark:text-gray-300;
}

.badge-processing {
    @apply bg-blue-100 dark:bg-blue-900 text-blue-700 dark:text-blue-300;
}

.badge-completed {
    @apply bg-green-100 dark:bg-green-900 text-green-700 dark:text-green-300;
}

.badge-failed {
    @apply bg-red-100 dark:bg-red-900 text-red-700 dark:text-red-300;
}

.badge-expired {
    @apply bg-orange-100 dark:bg-orange-900 text-orange-700 dark:text-orange-300;
}

/* ========================================
   7. TOAST NOTIFICATIONS
   ======================================== */

.toast {
    @apply flex items-center space-x-3 px-6 py-4 rounded-lg shadow-2xl
           transform transition-all duration-300
           animate-slide-in-right;
    font-size: 1rem;
    min-width: 320px;
    z-index: 9999;
    position: relative;
    backdrop-filter: blur(16px);
    border: 2px solid transparent;
}

/* Toast Success - Green Glassmorphism */
.toast-success {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 253, 244, 0.95) 100%);
    border-left: 4px solid #10b981;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25),
                0 4px 12px rgba(5, 150, 105, 0.15);
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 253, 244, 0.95) 100%),
        linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.dark .toast-success {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(6, 78, 59, 0.95) 100%);
    border-left: 4px solid #10b981;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35),
                0 4px 12px rgba(5, 150, 105, 0.25);
    background-image:
        linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(6, 78, 59, 0.95) 100%),
        linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* Toast Error - Red Glassmorphism */
.toast-error {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 242, 242, 0.95) 100%);
    border-left: 4px solid #ef4444;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.25),
                0 4px 12px rgba(220, 38, 38, 0.15);
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 242, 242, 0.95) 100%),
        linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.dark .toast-error {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(127, 29, 29, 0.95) 100%);
    border-left: 4px solid #ef4444;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35),
                0 4px 12px rgba(220, 38, 38, 0.25);
    background-image:
        linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(127, 29, 29, 0.95) 100%),
        linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.2) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* Toast Warning - Orange Glassmorphism */
.toast-warning {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 252, 232, 0.95) 100%);
    border-left: 4px solid #f59e0b;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25),
                0 4px 12px rgba(217, 119, 6, 0.15);
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 252, 232, 0.95) 100%),
        linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.dark .toast-warning {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(120, 53, 15, 0.95) 100%);
    border-left: 4px solid #f59e0b;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35),
                0 4px 12px rgba(217, 119, 6, 0.25);
    background-image:
        linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(120, 53, 15, 0.95) 100%),
        linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.2) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* Toast Info - Blue Glassmorphism */
.toast-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(239, 246, 255, 0.95) 100%);
    border-left: 4px solid #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25),
                0 4px 12px rgba(37, 99, 235, 0.15);
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(239, 246, 255, 0.95) 100%),
        linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.dark .toast-info {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(30, 58, 138, 0.95) 100%);
    border-left: 4px solid #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35),
                0 4px 12px rgba(37, 99, 235, 0.25);
    background-image:
        linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(30, 58, 138, 0.95) 100%),
        linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* Toast Text Colors - High Contrast */
.toast p {
    color: #1f2937;
    font-weight: 600;
}

.dark .toast p {
    color: #f3f4f6;
    font-weight: 600;
}

/* Toast Icon Colors - Enhanced Visibility */
.toast-success .text-success {
    color: #065f46 !important;
    font-size: 1.25rem;
}

.dark .toast-success .text-success {
    color: #34d399 !important;
}

.toast-error .text-danger {
    color: #991b1b !important;
    font-size: 1.25rem;
}

.dark .toast-error .text-danger {
    color: #f87171 !important;
}

.toast-warning .text-warning {
    color: #92400e !important;
    font-size: 1.25rem;
}

.dark .toast-warning .text-warning {
    color: #fbbf24 !important;
}

.toast-info .text-primary {
    color: #1e40af !important;
    font-size: 1.25rem;
}

.dark .toast-info .text-primary {
    color: #60a5fa !important;
}

/* Close button styling */
.toast button {
    color: #6b7280;
    transition: all 0.2s ease;
}

.toast button:hover {
    color: #1f2937;
    transform: scale(1.1);
}

.dark .toast button {
    color: #9ca3af;
}

.dark .toast button:hover {
    color: #f3f4f6;
}

@keyframes slide-in-right {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-slide-in-right {
    animation: slide-in-right 0.3s ease-out;
}

/* ========================================
   8. STATS & METRICS
   ======================================== */

.stat-card {
    @apply bg-gradient-to-br from-white to-gray-50 dark:from-gray-800 dark:to-gray-900
           rounded-xl p-6 shadow-lg border border-gray-200 dark:border-gray-700
           hover:shadow-xl transition-all duration-300;
}

.stat-value {
    @apply text-4xl font-bold bg-gradient-primary bg-clip-text text-transparent;
}

.stat-label {
    @apply text-sm font-medium text-gray-600 dark:text-gray-400 uppercase tracking-wide;
}

/* ========================================
   9. TABLE STYLES
   ======================================== */

.table {
    @apply w-full border-collapse;
}

.table thead {
    @apply bg-gray-100 dark:bg-gray-700;
}

.table th {
    @apply px-6 py-3 text-left text-xs font-semibold text-gray-700 dark:text-gray-300
           uppercase tracking-wider;
}

.table td {
    @apply px-6 py-4 whitespace-nowrap text-sm text-gray-900 dark:text-gray-100
           border-t border-gray-200 dark:border-gray-700;
}

.table tbody tr {
    @apply hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors;
}

/* ========================================
   9.5. HISTORY TABLE - CSS GRID LAYOUT
   ======================================== */

.history-card {
    padding: 1rem !important;
    overflow: visible;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.dark .history-card {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

/* Grid Container */
.history-grid {
    display: grid;
    width: 100%;
    gap: 4px;
}

/* Grid Header Row */
.history-grid-header {
    display: grid;
    /* Default (User): 7 columns */
    grid-template-columns: 60px minmax(200px, 1fr) 100px 160px 140px 150px 130px;
    gap: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 10px 20px;
    border-radius: 12px;
    position: sticky;
    top: 0;
    z-index: 10;
    margin-bottom: 4px;
}

/* Admin view: 8 columns (with owner) */
.admin-view .history-grid-header,
.admin-view .history-grid-row {
    /* checkbox | file | owner | status | date | packets | score | actions */
    grid-template-columns: 60px minmax(200px, 1fr) 150px 100px 160px 140px 150px 130px;
}

.dark .history-grid-header {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

/* Grid Body Container */
.history-grid-body {
    display: grid;
    gap: 4px;
}

/* Grid Data Row */
.history-grid-row {
    display: grid;
    /* Default (User): 7 columns */
    grid-template-columns: 60px minmax(200px, 1fr) 100px 160px 140px 150px 130px;
    gap: 0;
    align-items: center;
    background: white;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
}

.dark .history-grid-row {
    background: #1f2937;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.history-grid-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(52, 152, 219, 0.15);
    background: #fafbfc;
    z-index: 5;
}

.dark .history-grid-row:hover {
    background: #374151;
    box-shadow: 0 8px 24px rgba(96, 165, 250, 0.2);
}

/* Left border accent on hover */
.history-grid-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    border-radius: 12px 0 0 12px;
    transition: all 0.3s ease;
}

.history-grid-row:hover::before {
    background: linear-gradient(180deg, #3498db 0%, #60a5fa 100%);
}

/* Grid Cells - Generic */
.grid-cell {
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 0.875rem;
    color: #1f2937;
}

.dark .grid-cell {
    color: #f3f4f6;
}

/* Header cells styling */
.history-grid-header .grid-cell {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dark .history-grid-header .grid-cell {
    color: #94a3b8;
}

/* Specific cell alignments */
.grid-cell-checkbox {
    justify-content: center;
}

.grid-cell-file {
    overflow: hidden;
}

.grid-cell-owner {
    justify-content: flex-start;
    padding: 0 1rem;
}

.grid-cell-owner.hidden {
    display: none;
}

.grid-cell-status {
    justify-content: flex-start;
}

.grid-cell-date {
    justify-content: flex-start;
}

.grid-cell-packets {
    justify-content: flex-start;
}

.grid-cell-score {
    justify-content: flex-start;
}

.grid-cell-actions {
    justify-content: flex-end;
}

/* Checkbox moderne */
.checkbox-modern {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2.5px solid #cbd5e1;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    background: white;
}

.dark .checkbox-modern {
    border-color: #475569;
    background: #1f2937;
}

.checkbox-modern:hover {
    border-color: #3498db;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
}

.dark .checkbox-modern:hover {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.15);
}

.checkbox-modern:checked {
    background: linear-gradient(135deg, #3498db 0%, #60a5fa 100%);
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.dark .checkbox-modern:checked {
    background: linear-gradient(135deg, #60a5fa 0%, #3498db 100%);
    border-color: #60a5fa;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.5);
}

.checkbox-modern:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    color: white;
    font-size: 12px;
}

/* Modern badges for status */
.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.badge-modern:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.badge-modern.badge-pending {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #4b5563;
}

.dark .badge-modern.badge-pending {
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
    color: #d1d5db;
}

.badge-modern.badge-processing {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    animation: pulse-processing 2s ease-in-out infinite;
}

.dark .badge-modern.badge-processing {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: #bfdbfe;
}

.badge-modern.badge-completed {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.dark .badge-modern.badge-completed {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    color: #a7f3d0;
}

.badge-modern.badge-failed {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.dark .badge-modern.badge-failed {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
    color: #fecaca;
}

.badge-modern.badge-expired {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    color: #9a3412;
}

.dark .badge-modern.badge-expired {
    background: linear-gradient(135deg, #7c2d12 0%, #9a3412 100%);
    color: #fdba74;
}

@keyframes pulse-processing {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.02);
    }
}

/* Modern score display */
.score-display {
    display: flex;
    align-items: center;
    gap: 6px;
}

.score-bar-container {
    position: relative;
    width: 70px;
    height: 6px;
    background: #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}

.dark .score-bar-container {
    background: #374151;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.score-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.score-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.score-bar-fill.score-excellent {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.score-bar-fill.score-good {
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.score-bar-fill.score-warning {
    background: linear-gradient(90deg, #fb923c 0%, #f97316 100%);
    box-shadow: 0 0 10px rgba(251, 146, 60, 0.4);
}

.score-bar-fill.score-critical {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.score-value {
    font-size: 0.875rem;
    font-weight: 700;
    min-width: 35px;
    text-align: right;
}

.score-value.score-excellent {
    color: #059669;
}

.dark .score-value.score-excellent {
    color: #34d399;
}

.score-value.score-good {
    color: #d97706;
}

.dark .score-value.score-good {
    color: #fbbf24;
}

.score-value.score-warning {
    color: #ea580c;
}

.dark .score-value.score-warning {
    color: #fb923c;
}

.score-value.score-critical {
    color: #dc2626;
}

.dark .score-value.score-critical {
    color: #f87171;
}

/* Action buttons */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-size: 0.8125rem;
}

.dark .action-btn {
    background: #374151;
    border-color: #4b5563;
}

.action-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-btn:hover::before {
    opacity: 1;
}

.action-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.action-btn.btn-view {
    color: #3498db;
    border-color: #3498db;
}

.action-btn.btn-view:hover {
    background: linear-gradient(135deg, #3498db 0%, #60a5fa 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.action-btn.btn-download {
    color: #10b981;
    border-color: #10b981;
}

.action-btn.btn-download:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.action-btn.btn-delete {
    color: #ef4444;
    border-color: #ef4444;
}

.action-btn.btn-delete:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.action-btn.btn-progress {
    color: #8b5cf6;
    border-color: #8b5cf6;
}

.action-btn.btn-progress:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* Tooltips for action buttons */
.action-btn[title] {
    position: relative;
}

.action-btn[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: tooltip-fade-in 0.2s ease;
    pointer-events: none;
}

.action-btn[title]:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1f2937;
    z-index: 999;
    animation: tooltip-fade-in 0.2s ease;
    pointer-events: none;
}

@keyframes tooltip-fade-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Responsive Grid Layout */
@media (max-width: 1280px) {
    .history-grid-header,
    .history-grid-row {
        grid-template-columns: 60px minmax(180px, 1fr) 95px 145px 130px 140px 120px;
        padding: 10px 16px;
    }
}

@media (max-width: 1024px) {
    .history-grid-header,
    .history-grid-row {
        grid-template-columns: 50px minmax(150px, 1fr) 90px 135px 120px 130px 110px;
        padding: 10px 14px;
        font-size: 0.8125rem;
    }

    .history-grid-header .grid-cell {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    /* Stack layout for mobile */
    .history-grid-header {
        display: none;
    }

    .history-grid-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }

    .grid-cell {
        width: 100%;
        justify-content: flex-start !important;
    }

    .grid-cell-actions {
        justify-content: center !important;
    }
}

/* ========================================
   10. ANIMATIONS
   ======================================== */

@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse-slow {
    animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes bounce-subtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce-subtle {
    animation: bounce-subtle 2s ease-in-out infinite;
}

/* Progress page specific animations */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.progress-stat-card {
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

@keyframes rotate-continuous {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.progress-ring {
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
}

/* ========================================
   11. ACCESSIBILITY
   ======================================== */

.sr-only {
    @apply absolute w-px h-px p-0 -m-px overflow-hidden whitespace-nowrap border-0;
}

/* Focus visible pour navigation clavier */
*:focus-visible {
    @apply outline-none ring-4 ring-primary ring-opacity-50;
}

/* ========================================
   12. DARK MODE TRANSITIONS
   ======================================== */

* {
    @apply transition-colors duration-200;
}

/* Disable transitions during theme switch */
.no-transition * {
    transition: none !important;
}

/* ========================================
   13. LOADING OVERLAY
   ======================================== */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-in-out;
}

.loading-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    padding: 3rem 2.5rem;
    text-center;
    min-width: 320px;
    max-width: 500px;
    backdrop-filter: blur(10px);
}

.dark .loading-content {
    background: rgba(31, 41, 55, 0.95);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7),
                0 0 0 1px rgba(255, 255, 255, 0.05);
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 6px solid rgba(102, 126, 234, 0.15);
    border-top-color: #667eea;
    border-right-color: #764ba2;
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    margin: 0 auto 2rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.loading-title {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.loading-message {
    color: #4b5563;
    font-size: 1rem;
    font-weight: 500;
}

.dark .loading-message {
    color: #9ca3af;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   14. UPLOAD PAGE - INFO CARDS
   ======================================== */

/* Information Cards with Glassmorphism */
.info-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 251, 0.85) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .info-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.9) 0%, rgba(17, 24, 39, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.info-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.dark .info-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* Blue Card */
.info-card-blue:hover {
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.25);
}

.dark .info-card-blue:hover {
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.35);
}

/* Green Card */
.info-card-green:hover {
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.25);
}

.dark .info-card-green:hover {
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.35);
}

/* Purple Card */
.info-card-purple:hover {
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.25);
}

.dark .info-card-purple:hover {
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.35);
}

/* ========================================
   15. UPLOAD PAGE - SERVER STATS
   ======================================== */

/* Server Statistics Cards */
.server-stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 251, 0.85) 100%);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .server-stat-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.9) 0%, rgba(17, 24, 39, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.server-stat-card:hover {
    transform: translateY(-4px);
}

/* Blue Stats Card */
.server-stat-blue {
    border-left: 4px solid #3b82f6;
}

.server-stat-blue:hover {
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
}

.dark .server-stat-blue:hover {
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

/* Green Stats Card */
.server-stat-green {
    border-left: 4px solid #10b981;
}

.server-stat-green:hover {
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2);
}

.dark .server-stat-green:hover {
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
}

/* Purple Stats Card */
.server-stat-purple {
    border-left: 4px solid #8b5cf6;
}

.server-stat-purple:hover {
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
}

.dark .server-stat-purple:hover {
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
}

/* Orange Stats Card */
.server-stat-orange {
    border-left: 4px solid #f59e0b;
}

.server-stat-orange:hover {
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.2);
}

.dark .server-stat-orange:hover {
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
}

/* ========================================
   16. UPLOAD PAGE - HELP SECTION
   ======================================== */

/* Help Section Card */
.help-section-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 251, 0.85) 100%);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1),
                0 4px 12px rgba(118, 75, 162, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .help-section-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.9) 0%, rgba(17, 24, 39, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15),
                0 4px 12px rgba(118, 75, 162, 0.12);
}

.help-section-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15),
                0 8px 24px rgba(118, 75, 162, 0.1);
}

.dark .help-section-card:hover {
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25),
                0 8px 24px rgba(118, 75, 162, 0.2);
}

/* Help Link Buttons */
.help-link-btn {
    position: relative;
    overflow: hidden;
    padding: 0.875rem 1.5rem;
    border-radius: 0.875rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease-out;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    display: inline-block;
}

.dark .help-link-btn {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.help-link-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.dark .help-link-btn:hover {
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
}

.help-link-btn:active {
    transform: translateY(0) scale(1);
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #374151;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background: #f3f4f6;
    color: #2563eb;
    outline: none;
}

.dark .mobile-nav-link {
    color: #d1d5db;
}

.dark .mobile-nav-link:hover,
.dark .mobile-nav-link:focus {
    background: #374151;
    color: #60a5fa;
}
