/* Cookie Banner Styles - Versione Semplificata */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    padding: 15px 0;
    font-family: Arial, sans-serif;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    color: #ffffff;
}

.cookie-banner-text a {
    color: #fbbf24;
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: #f59e0b;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.cookie-btn-customize {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.cookie-btn-customize:hover {
    background: #ffffff;
    color: #000000;
}

.cookie-btn-accept {
    background: #ff6600;
    color: #ffffff;
    border: 1px solid #ff6600;
}

.cookie-btn-accept:hover {
    background: #e55a00;
    border-color: #e55a00;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .cookie-banner-content {
        padding: 0 15px;
    }
    
    .cookie-banner-text {
        font-size: 13px;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        max-width: none;
        width: 100%;
    }
}

/* Pagina Cookie Settings */
.cookie-settings-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.cookie-settings-header {
    text-align: center;
    margin-bottom: 40px;
}

.cookie-settings-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.cookie-settings-header p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.cookie-category {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.2s ease;
}

.cookie-category:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.cookie-category-title {
    font-weight: 700;
    color: #1f2937;
    font-size: 18px;
}

.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: .4s;
    border-radius: 24px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #10b981;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(26px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #3b82f6;
    cursor: not-allowed;
}

.cookie-category-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-category.required {
    background: #eff6ff;
    border-color: #3b82f6;
}

.cookie-category.required .cookie-category-title {
    color: #3b82f6;
}

.cookie-settings-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-settings-btn {
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    min-width: 160px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-settings-btn-save {
    background: #10b981;
    color: white;
}

.cookie-settings-btn-save:hover {
    background: #059669;
}

.cookie-settings-btn-reject {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.cookie-settings-btn-reject:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.cookie-settings-btn-accept {
    background: #ff6600;
    color: #ffffff;
}

.cookie-settings-btn-accept:hover {
    background: #e55a00;
}

@media (max-width: 768px) {
    .cookie-settings-page {
        padding: 20px 15px;
    }
    
    .cookie-settings-header h1 {
        font-size: 28px;
    }
    
    .cookie-category {
        padding: 20px;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cookie-settings-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-settings-btn {
        width: 100%;
        max-width: 280px;
    }
} 