/* GDPR Compliance Styles */
.gdpr-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1F2937;
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none;
}

.gdpr-consent-banner.show {
    display: block;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

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

.gdpr-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gdpr-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.gdpr-btn-accept {
    background: var(--primary-blue);
    color: white;
}

.gdpr-btn-accept:hover {
    background: var(--primary-dark);
}

.gdpr-btn-settings {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.gdpr-btn-settings:hover {
    background: rgba(255,255,255,0.1);
}

.gdpr-btn-reject {
    background: transparent;
    color: white;
    border: 1px solid #6B7280;
}

.gdpr-btn-reject:hover {
    background: rgba(239,68,68,0.1);
    border-color: var(--error-red);
}

.cookie-settings-modal .modal-content {
    background: var(--background);
}

.cookie-category {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

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

.cookie-category-title {
    font-weight: 600;
    color: var(--text-primary);
}

.cookie-category-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.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: 34px;
}

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

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--success-green);
}

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

.cookie-toggle.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-toggle.disabled .cookie-toggle-slider {
    cursor: not-allowed;
}

.privacy-policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

.privacy-section ul, .privacy-section ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.privacy-section li {
    margin-bottom: 8px;
}

.privacy-contact {
    background: var(--primary-light);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.required-badge {
    background: var(--primary-blue);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 10px;
}

.optional-badge {
    background: var(--warning-orange);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 10px;
}


/* Cookie Settings Button */
.gdpr-settings-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #1F2937;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    animation: slideInUp 0.5s ease forwards 0.5s;
}

.gdpr-settings-btn:hover {
    background: #374151;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.gdpr-settings-btn.show {
    opacity: 1;
    transform: translateY(0);
}

.gdpr-settings-btn i {
    font-size: 16px;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Adjust for mobile */
@media (max-width: 768px) {
    .gdpr-settings-btn {
        bottom: 80px; /* Move above back-to-top button */
        left: 15px;
        padding: 10px 15px;
    }
    
    .gdpr-settings-btn span {
        display: none;
    }
    
    .gdpr-settings-btn i {
        font-size: 18px;
        margin: 0;
    }
}

/* Adjust back-to-top button position when cookie settings button is present */
body.has-cookie-settings .back-to-top {
    bottom: 90px; /* Move up to avoid overlap */
}

@media (max-width: 768px) {
    body.has-cookie-settings .back-to-top {
        bottom: 140px;
    }
}