 .cache-stats-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .cache-modal-backdrop {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(3px);
        }
        
        .cache-modal-container {
            position: relative;
            width: 90%;
            max-width: 800px;
            max-height: 90vh;
            overflow-y: auto;
            z-index: 10001;
        }
        
        .cache-modal-content {
            background: white;
            border-radius: 12px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            animation: cacheModalFadeIn 0.3s ease;
        }
        
        @keyframes cacheModalFadeIn {
            from { opacity: 0; transform: scale(0.9) translateY(-20px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }
        
        .cache-modal-header {
            background: #303D4E;
            color: white;
            padding: 1rem 1.25rem;
            border-radius: 12px 12px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .cache-modal-title {
            margin: 0;
            font-size: 1.1rem;
            font-weight: 600;
        }
        
        .cache-modal-close {
            background: #303D4E;
            border: none;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            padding: 0.25rem;
            border-radius: 4px;
            transition: all 0.2s ease;
        }
        
        .cache-modal-close:hover {
            background: #303D4E;
        }
        
        .cache-modal-body {
            padding: 1.5rem;
            max-height: 60vh;
            overflow-y: auto;
        }
        
        .cache-stats-card {
            border: 1px solid #e9ecef;
            border-radius: 8px;
            margin-bottom: 1rem;
            transition: all 0.3s ease;
        }
        
        .cache-stats-card:hover {
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
        }
        
        .cache-card-header {
            background: #f8f9fa;
            padding: 0.75rem 1rem;
            border-bottom: 1px solid #e9ecef;
            border-radius: 8px 8px 0 0;
        }
        
        .cache-card-header h6 {
            margin: 0;
            font-size: 0.95rem;
            color: #495057;
        }
        
        .cache-card-body {
            padding: 1rem;
        }
        
        .cache-stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 0.75rem;
            margin-bottom: 1rem;
        }
        
        .cache-stat-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem 0;
        }
        
        .cache-stat-label {
            color: #6c757d;
            font-size: 0.9rem;
        }
        
        .cache-stat-value {
            font-weight: 600;
            color: #3498db;
        }
        
        .cache-progress-container {
            margin-top: 1rem;
        }
        
        .cache-progress-label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
            font-size: 0.85rem;
            color: #6c757d;
        }
        
        .cache-progress-bar {
            width: 100%;
            height: 8px;
            background: #f1f3f4;
            border-radius: 10px;
            overflow: hidden;
        }
        
        .cache-progress-fill {
            height: 100%;
            background: #3498db;
            border-radius: 10px;
            transition: width 0.8s ease;
        }
        
        .cache-loading-state {
            text-align: center;
            padding: 3rem 1rem;
        }
        
        .cache-spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #f1f3f4;
            border-top: 4px solid #3498db;
            border-radius: 50%;
            animation: cacheSpinner 1s linear infinite;
            margin: 0 auto 1rem;
        }
        
        @keyframes cacheSpinner {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .cache-error-state {
            text-align: center;
            padding: 2rem 1rem;
            color: #dc3545;
        }
        
        .cache-tips-card {
            border-color: #ffc107;
            background: #fff3cd;
        }
        
        .cache-tips-list {
            margin: 0;
            padding-left: 1.2rem;
        }
        
        .cache-tips-list li {
            margin-bottom: 0.5rem;
            color: #856404;
        }
        
        .cache-modal-footer {
            padding: 1rem 1.25rem;
            border-top: 1px solid #e9ecef;
            background: #f8f9fa;
            border-radius: 0 0 12px 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        
        .cache-modal-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        
        .cache-btn {
            padding: 0.4rem 0.8rem;
            border: 1px solid transparent;
            border-radius: 6px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s ease;
            background: none;
        }
        
        .cache-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }
        
        .cache-btn-primary { background: #3498db; color: white; border-color: #3498db; }
        .cache-btn-secondary { background: #6c757d; color: white; border-color: #6c757d; }
        .cache-btn-info { background: #3498db; color: white; border-color: #3498db; }
        .cache-btn-warning { background: #ffc107; color: #212529; border-color: #ffc107; }
        .cache-btn-danger { background: #ED7470; color: white; border-color: #ED7470; }
        .cache-btn-close { background: #e0e0e0; color: black; border-color: #e0e0e0; }
        
        /* Styles pour les ratios de performance */
        .cache-ratio-excellent { color: #28a745 !important; }
        .cache-ratio-good { color: #DC714A !important; }
        .cache-ratio-poor { color: #ED7470 !important; }
        .cache-ratio-none { color: #6c757d !important; font-style: italic; }
        
        /* Responsive */
        @media (max-width: 768px) {
            .cache-modal-container { width: 95%; }
            .cache-modal-body { padding: 1rem; }
            .cache-stats-grid { grid-template-columns: 1fr; }
            .cache-modal-actions { width: 100%; justify-content: center; }
        }