/* GDPR Cookie Consent Banner Styles */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #333 0%, #2c2c2c 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    font-family: 'Open Sans', sans-serif;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    border-top: 3px solid #cdf207;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h3 {
    color: #cdf207;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-banner-text h3::before {
    content: "🍪";
    font-size: 20px;
}

.cookie-banner-text p {
    font-size: 14px;
    line-height: 1.5;
    color: #e0e0e0;
    margin: 0;
}

.cookie-banner-text a {
    color: #4bb9f0 !important;
    text-decoration: underline;
    font-weight: 500 !important;
    text-transform: none !important;
}

.cookie-banner-text a:hover {
    color: #cdf207 !important;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 120px;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #cdf207 0%, #a8c905 100%);
    color: #333;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #a8c905 0%, #8ba704 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(205, 242, 7, 0.3);
}

.cookie-btn-decline {
    background: transparent;
    color: #e0e0e0;
    border: 2px solid #666;
}

.cookie-btn-decline:hover {
    background: #666;
    color: white;
    border-color: #777;
}

.cookie-btn-settings {
    background: transparent;
    color: #4bb9f0;
    border: 2px solid #4bb9f0;
}

.cookie-btn-settings:hover {
    background: #4bb9f0;
    color: white;
}

/* Close button */
.cookie-banner-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.cookie-banner-close:hover {
    color: #cdf207;
}

/* Cookie Settings Modal */
.cookie-settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-settings-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.cookie-settings-modal {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-settings-overlay.show .cookie-settings-modal {
    transform: scale(1);
}

.cookie-settings-header {
    background: linear-gradient(135deg, #333 0%, #2c2c2c 100%);
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.cookie-settings-header h3 {
    margin: 0;
    font-size: 20px;
    color: #cdf207;
}

.cookie-settings-content {
    padding: 30px;
}

.cookie-category {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category h4 {
    color: #333;
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-category p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
    cursor: pointer;
}

.cookie-toggle input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    z-index: 1;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    transition: 0.3s;
    border-radius: 25px;
    pointer-events: none;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: #cdf207;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(25px);
}

.cookie-toggle.disabled {
    cursor: not-allowed;
}

.cookie-toggle.disabled input {
    cursor: not-allowed;
}

.cookie-toggle.disabled .cookie-toggle-slider {
    background: #4bb9f0 !important;
    cursor: not-allowed;
}

.cookie-settings-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #f9f9f9;
    border-radius: 0 0 12px 12px;
    gap: 15px;
}

/* Responsive design */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-banner-text {
        min-width: unset;
    }
    
    .cookie-banner-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        min-width: 100px;
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .cookie-settings-modal {
        width: 95%;
        margin: 20px;
    }
    
    .cookie-settings-content {
        padding: 20px;
    }
    
    .cookie-settings-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-settings-buttons .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-banner-text h3 {
        font-size: 16px;
    }
    
    .cookie-banner-text p {
        font-size: 13px;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        margin: 3px 0;
    }
}
