/* Bannière de cookies */
        .cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #333;
            color: white;
            padding: 20px;
            display: none;
            z-index: 1000;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
            font-family: Arial, sans-serif;
        }

        .cookie-banner.show {
            display: block;
        }

        .cookie-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
        }

        .cookie-text {
            flex: 1;
            min-width: 300px;
        }

        .cookie-text h3 {
            margin: 0 0 10px 0;
            font-size: 18px;
            font-weight: 600;
        }

        .cookie-text p {
            margin: 0;
            font-size: 14px;
            opacity: 0.9;
            line-height: 1.4;
        }

        .cookie-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .cookie-btn {
            padding: 12px 24px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            text-align: center;
        }

        .cookie-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        .cookie-btn.accept {
            background: #4CAF50;
            color: white;
        }

        .cookie-btn.accept:hover {
            background: #45a049;
        }

        .cookie-btn.decline {
            background: #f44336;
            color: white;
        }

        .cookie-btn.decline:hover {
            background: #da190b;
        }

        .cookie-btn.settings {
            background: #2196F3;
            color: white;
        }

        .cookie-btn.settings:hover {
            background: #1976D2;
        }

        /* Animation d'entrée */
        .cookie-banner.show {
            animation: slideUp 0.5s ease-out;
        }

        @keyframes slideUp {
            from {
                transform: translateY(100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .cookie-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 1001;
            display: none;
            justify-content: center;
            align-items: center;
        }

        .cookie-modal.show {
            display: flex;
            animation: fadeIn 0.3s ease-out;
        }

        .cookie-modal-content {
            background: white;
            border-radius: 10px;
            padding: 30px;
            max-width: 600px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
            animation: scaleIn 0.3s ease-out;
        }

        .cookie-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #f0f0f0;
        }

        .cookie-modal-title {
            color: #333;
            font-size: 24px;
            font-weight: 600;
            margin: 0;
        }

        .cookie-modal-close {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #666;
            padding: 5px;
            border-radius: 50%;
            width: 35px;
            height: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cookie-modal-close:hover {
            background: #f0f0f0;
            color: #333;
        }

        .cookie-category {
            margin-bottom: 25px;
            padding: 20px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            background: #fafafa;
        }

        .cookie-category-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .cookie-category-title {
            color: #333;
            font-size: 18px;
            font-weight: 500;
            margin: 0;
        }

        .cookie-category-description {
            color: #666;
            font-size: 14px;
            line-height: 1.5;
            margin-bottom: 15px;
        }

        .cookie-category-details {
            font-size: 12px;
            color: #888;
            font-style: italic;
        }

        .cookie-switch {
            position: relative;
            width: 50px;
            height: 25px;
        }

        .cookie-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .cookie-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: 0.3s;
            border-radius: 25px;
        }

        .cookie-slider:before {
            position: absolute;
            content: "";
            height: 19px;
            width: 19px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: 0.3s;
            border-radius: 50%;
        }

        input:checked + .cookie-slider {
            background-color: #4CAF50;
        }

        input:checked + .cookie-slider:before {
            transform: translateX(25px);
        }

        .cookie-switch.disabled {
            opacity: 0.5;
            pointer-events: none;
        }

        .cookie-modal-footer {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #e0e0e0;
        }

        .cookie-modal-btn {
            padding: 12px 24px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .cookie-modal-btn.primary {
            background: #4CAF50;
            color: white;
        }

        .cookie-modal-btn.primary:hover {
            background: #45a049;
        }

        .cookie-modal-btn.secondary {
            background: #f0f0f0;
            color: #333;
        }

        .cookie-modal-btn.secondary:hover {
            background: #e0e0e0;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes scaleIn {
            from {
                transform: scale(0.9);
                opacity: 0;
            }
            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .cookie-content {
                flex-direction: column;
                text-align: center;
            }
            
            .cookie-text {
                min-width: auto;
                margin-bottom: 10px;
            }
            
            .cookie-buttons {
                justify-content: center;
                width: 100%;
            }
            
            .cookie-btn {
                flex: 1;
                min-width: 100px;
            }

            .cookie-modal-content {
                margin: 20px;
                padding: 20px;
            }

            .cookie-modal-footer {
                flex-direction: column;
            }

            .cookie-modal-btn {
                width: 100%;
            }
        }
