/* ========================================
   🍪 B2VAPE GDPR COOKIE SYSTEM - CSS
   Tonalità: Oro elegante + Bianco
   ======================================== */

/* Cookie Banner Principal */
.gdpr-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(192, 175, 110, 0.3);
    z-index: 9999;
    border-top: 3px solid #c0af6e;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

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

.gdpr-banner-content {
    flex: 1;
    min-width: 300px;
}

.gdpr-banner-title {
    color: #c0af6e;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gdpr-banner-text {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
}

.gdpr-banner-text a {
    color: #c0af6e;
    text-decoration: underline;
    font-weight: 500;
}

.gdpr-banner-text a:hover {
    color: #d4c788;
}

.gdpr-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.gdpr-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.gdpr-btn-accept {
    background: linear-gradient(135deg, #c0af6e 0%, #8a7c4a 100%);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(192, 175, 110, 0.3);
}

.gdpr-btn-accept:hover {
    background: linear-gradient(135deg, #d4c788 0%, #c0af6e 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(192, 175, 110, 0.4);
}

.gdpr-btn-reject {
    background: transparent;
    color: #e0e0e0;
    border: 2px solid #666;
}

.gdpr-btn-reject:hover {
    background: #666;
    color: #ffffff;
    border-color: #888;
}

.gdpr-btn-settings {
    background: transparent;
    color: #c0af6e;
    border: 2px solid #c0af6e;
    font-size: 13px;
    padding: 10px 20px;
}

.gdpr-btn-settings:hover {
    background: #c0af6e;
    color: #1a1a1a;
}

/* Cookie Settings Modal */
.gdpr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gdpr-modal.show {
    display: flex;
}

.gdpr-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    border: 2px solid #c0af6e;
    box-shadow: 0 10px 30px rgba(192, 175, 110, 0.2);
}

.gdpr-modal-header {
    border-bottom: 1px solid #444;
    padding-bottom: 20px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gdpr-modal-title {
    color: #c0af6e;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gdpr-modal-close {
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gdpr-modal-close:hover {
    background: #444;
    color: #c0af6e;
}

.gdpr-cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid #444;
}

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

.gdpr-category-title {
    color: #c0af6e;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gdpr-category-description {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Toggle Switch */
.gdpr-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.gdpr-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.gdpr-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #666;
    transition: 0.3s;
    border-radius: 30px;
}

.gdpr-toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

.gdpr-toggle input:checked + .gdpr-toggle-slider {
    background: #c0af6e;
}

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

.gdpr-toggle.disabled .gdpr-toggle-slider {
    background: #444;
    cursor: not-allowed;
}

.gdpr-toggle.disabled .gdpr-toggle-slider:before {
    background: #888;
}

.gdpr-modal-footer {
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 25px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Status Indicator */
.gdpr-status {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(26, 26, 26, 0.9);
    color: #c0af6e;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #c0af6e;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9998;
    backdrop-filter: blur(10px);
}

.gdpr-status:hover {
    background: #c0af6e;
    color: #1a1a1a;
}

.gdpr-status.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gdpr-banner-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .gdpr-banner-actions {
        justify-content: center;
        width: 100%;
    }
    
    .gdpr-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .gdpr-modal-content {
        margin: 10px;
        padding: 20px;
    }
    
    .gdpr-modal-footer {
        flex-direction: column;
    }
    
    .gdpr-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .gdpr-banner-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .gdpr-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}