        /* Banner principale */
        .cookie-consent-banner {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: #ffffff;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
            z-index: 999999;
            max-height: 90vh;
            overflow-y: auto;
        }
        
        .cookie-consent-banner.active {
            display: block;
            animation: slideUp 0.4s ease-out;
        }
        
        @keyframes slideUp {
            from {
                transform: translateY(100%);
            }
            to {
                transform: translateY(0);
            }
        }
        
        .cookie-consent-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 25px 30px;
        }
        
        .cookie-consent-header {
            margin-bottom: 15px;
        }
        
        .cookie-consent-title {
            font-size: 1.3em;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 8px;
        }
        
        .cookie-consent-description {
            font-size: 0.9em;
            color: #555;
            line-height: 1.5;
        }
        
        /* Vista semplice - default */
        .cookie-consent-simple {
            display: block;
        }
        
        .cookie-consent-simple.hidden {
            display: none;
        }
        
        /* Vista dettagliata */
        .cookie-consent-detailed {
            display: none;
            margin-top: 20px;
        }
        
        .cookie-consent-detailed.active {
            display: block;
        }
        
        .cookie-consent-category {
            background-color: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 12px;
        }
        
        .cookie-consent-category-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }
        
        .cookie-consent-category-title {
            font-size: 1em;
            font-weight: 600;
            color: #2c3e50;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .cookie-consent-badge {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.7em;
            font-weight: 600;
            text-transform: uppercase;
        }
        
        .cookie-consent-badge.required {
            background-color: #95a5a6;
            color: white;
        }
        
        .cookie-consent-badge.optional {
            background-color: #3498db;
            color: white;
        }
        
        .cookie-consent-category-description {
            font-size: 0.85em;
            color: #666;
            line-height: 1.4;
        }
        
        /* Toggle Switch */
        .cookie-consent-toggle {
            position: relative;
            display: inline-block;
            width: 44px;
            height: 24px;
        }
        
        .cookie-consent-toggle input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .cookie-consent-toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: 0.4s;
            border-radius: 24px;
        }
        
        .cookie-consent-toggle-slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: 0.4s;
            border-radius: 50%;
        }
        
        .cookie-consent-toggle input:checked + .cookie-consent-toggle-slider {
            background-color: #2ecc71;
        }
        
        .cookie-consent-toggle input:checked + .cookie-consent-toggle-slider:before {
            transform: translateX(20px);
        }
        
        .cookie-consent-toggle input:disabled + .cookie-consent-toggle-slider {
            background-color: #95a5a6;
            cursor: not-allowed;
            opacity: 0.6;
        }
        
        /* Bottoni */
        .cookie-consent-buttons {
            display: flex;
            gap: 10px;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 20px;
        }
        
        .cookie-consent-btn {
            padding: 10px 24px;
            border: none;
            border-radius: 6px;
            font-size: 0.95em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .cookie-consent-btn-primary {
            background-color: #2ecc71;
            color: white;
        }
        
        .cookie-consent-btn-primary:hover {
            background-color: #27ae60;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
        }
        
        .cookie-consent-btn-secondary {
            background-color: #3498db;
            color: white;
        }
        
        .cookie-consent-btn-secondary:hover {
            background-color: #2980b9;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
        }
        
        .cookie-consent-btn-tertiary {
            background-color: #95a5a6;
            color: white;
        }
        
        .cookie-consent-btn-tertiary:hover {
            background-color: #7f8c8d;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(149, 165, 166, 0.4);
        }
        
        .cookie-consent-btn-link {
            background-color: transparent;
            color: #3498db;
            text-decoration: underline;
            padding: 10px 16px;
        }
        
        .cookie-consent-btn-link:hover {
            color: #2980b9;
            background-color: rgba(52, 152, 219, 0.1);
        }
        
        /* Pulsante per riaprire le impostazioni */
        .cookie-consent-settings-btn {
            position: fixed;
            bottom: 20px;
            left: 20px;
            background-color: #2c3e50;
            color: white;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            font-size: 1.5em;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            transition: all 0.3s;
            z-index: 999997;
            display: none;
        }
        
        .cookie-consent-settings-btn.show {
            display: block;
        }
        
        .cookie-consent-settings-btn:hover {
            background-color: #34495e;
            transform: scale(1.1);
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .cookie-consent-container {
                padding: 20px;
            }
            
            .cookie-consent-title {
                font-size: 1.1em;
            }
            
            .cookie-consent-description {
                font-size: 0.85em;
            }
            
            .cookie-consent-buttons {
                flex-direction: column;
            }
            
            .cookie-consent-btn {
                width: 100%;
            }
            
            .cookie-consent-category-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }
            
            .cookie-consent-settings-btn {
                bottom: 15px;
                left: 15px;
                width: 45px;
                height: 45px;
                font-size: 1.3em;
            }
        }