/* Cookie Consent Banner Styles */
.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    display: none;
    backdrop-filter: blur(3px);
}

.cookie-consent-overlay.show {
    display: block;
}

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 2px solid #667eea;
}

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

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.cookie-consent-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.cookie-consent-icon {
    font-size: 32px;
    margin-right: 15px;
    color: #667eea;
}

.cookie-consent-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.cookie-consent-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
}

.cookie-consent-links {
    margin: 10px 0;
}

.cookie-consent-links a {
    color: #667eea;
    text-decoration: none;
    margin-right: 20px;
    font-weight: 500;
    transition: color 0.2s;
}

.cookie-consent-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.cookie-consent-btn-accept {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cookie-consent-btn-accept:hover {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.cookie-consent-btn-reject {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #dee2e6;
}

.cookie-consent-btn-reject:hover {
    background-color: #e9ecef;
}

.cookie-consent-btn-settings {
    background-color: transparent;
    color: #667eea;
    border: 1px solid #667eea;
}

.cookie-consent-btn-settings:hover {
    background-color: #f8f9fa;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-settings-modal.show {
    display: block;
}

.cookie-settings-header {
    padding: 25px;
    border-bottom: 1px solid #e9ecef;
}

.cookie-settings-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.cookie-settings-body {
    padding: 25px;
}

.cookie-category {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.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;
}

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

.cookie-toggle {
    position: relative;
    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.4s;
    border-radius: 24px;
}

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

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #667eea;
}

.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-settings-footer {
    padding: 20px 25px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-content {
        padding: 20px;
    }
    
    .cookie-consent-title {
        font-size: 20px;
    }
    
    .cookie-consent-text {
        font-size: 14px;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
    }
    
    .cookie-consent-btn {
        width: 100%;
    }
    
    .cookie-settings-modal {
        width: 95%;
        max-height: 90vh;
    }
}