        /* Cookie Banner Styles */
        .cookie-consent-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 9998;
        }

        .cookie-consent-overlay.active {
            display: block;
        }

        .cookie-consent-banner {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: #ffffff;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
            z-index: 9999;
            padding: 20px;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        }

        .cookie-consent-banner.active {
            display: block;
        }

        .cookie-banner-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .cookie-banner-content {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .cookie-banner-text {
            flex: 1;
        }

        .cookie-banner-text h3 {
            margin: 0 0 10px 0;
            font-size: 18px;
            color: #333;
        }

        .cookie-banner-text p {
            margin: 0 0 10px 0;
            font-size: 14px;
            color: #666;
            line-height: 1.5;
        }

        .cookie-banner-text a {
            color: #0066cc;
            text-decoration: none;
        }

        .cookie-banner-text a:hover {
            text-decoration: underline;
        }

        .cookie-banner-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .cookie-btn {
            padding: 12px 24px;
            border: none;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .cookie-btn-accept-all {
            background-color: #0066cc;
            color: white;
        }

        .cookie-btn-accept-all:hover {
            background-color: #0052a3;
        }

        .cookie-btn-reject-all {
            background-color: #6c757d;
            color: white;
        }

        .cookie-btn-reject-all:hover {
            background-color: #5a6268;
        }

        .cookie-btn-customize {
            background-color: transparent;
            color: #0066cc;
            border: 2px solid #0066cc;
        }

        .cookie-btn-customize:hover {
            background-color: #f0f0f0;
        }

        /* Cookie Preferences Modal */
        .cookie-preferences-modal {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            z-index: 10000;
            max-width: 600px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
        }

        .cookie-preferences-modal.active {
            display: block;
        }

        .cookie-modal-header {
            padding: 20px;
            border-bottom: 1px solid #e0e0e0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .cookie-modal-header h3 {
            margin: 0;
            font-size: 20px;
            color: #333;
        }

        .cookie-modal-close {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #666;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cookie-modal-close:hover {
            color: #333;
        }

        .cookie-modal-body {
            padding: 20px;
        }

        .cookie-category {
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #e0e0e0;
        }

        .cookie-category:last-child {
            border-bottom: none;
        }

        .cookie-category-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .cookie-category-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin: 0;
        }

        .cookie-category-description {
            font-size: 14px;
            color: #666;
            line-height: 1.5;
            margin: 0;
        }

        /* Toggle Switch */
        .cookie-toggle {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 24px;
        }

        .cookie-toggle input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .cookie-toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: 0.3s;
            border-radius: 24px;
        }

        .cookie-toggle-slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: 0.3s;
            border-radius: 50%;
        }

        .cookie-toggle input:checked + .cookie-toggle-slider {
            background-color: #0066cc;
        }

        .cookie-toggle input:checked + .cookie-toggle-slider:before {
            transform: translateX(26px);
        }

        .cookie-toggle input:disabled + .cookie-toggle-slider {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .cookie-toggle-label {
            font-size: 12px;
            color: #999;
            margin-left: 10px;
        }

        .cookie-modal-footer {
            padding: 20px;
            border-top: 1px solid #e0e0e0;
            display: flex;
            gap: 10px;
            justify-content: flex-end;
        }

        .cookie-btn-save {
            background-color: #0066cc;
            color: white;
        }

        .cookie-btn-save:hover {
            background-color: #0052a3;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .cookie-consent-banner {
                padding: 15px;
            }

            .cookie-banner-buttons {
                flex-direction: column;
            }

            .cookie-btn {
                width: 100%;
            }

            .cookie-preferences-modal {
                width: 95%;
                max-height: 90vh;
            }

            .cookie-modal-footer {
                flex-direction: column;
            }
        }

        /* Settings Button (for demo/reopening preferences) */
        .cookie-settings-btn {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #0066cc;
            color: white;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            font-size: 20px;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            z-index: 9997;
            display: none;
        }

        .cookie-settings-btn.visible {
            display: block;
        }

        .cookie-settings-btn:hover {
            background-color: #0052a3;
        }
