/* GDPR Compliance Styles */

/* Cookie Consent Banner */
.gdpr-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c4a72;
    color: white;
    padding: 20px 24px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

.gdpr-cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.gdpr-cookie-icon {
    font-size: 32px;
    margin-top: 4px;
    flex-shrink: 0;
}

.gdpr-cookie-text {
    flex: 1;
    min-width: 300px;
    margin-right: 20px;
}

.gdpr-cookie-text h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    color: white;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.gdpr-cookie-text p {
    margin: 0 0 16px 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.gdpr-cookie-links {
    margin-top: 8px;
}

.gdpr-cookie-text a {
    color: #60a5fa;
    text-decoration: none;
    font-size: 14px;
}

.gdpr-cookie-text a:hover {
    text-decoration: underline;
}

.gdpr-cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 4px;
}

.gdpr-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    line-height: 1;
    font-family: inherit;
}

.gdpr-btn-accept {
    background: #16a34a;
    color: white;
}

.gdpr-btn-accept:hover {
    background: #15803d;
}

.gdpr-btn-decline {
    background: #ea580c;
    color: white;
}

.gdpr-btn-decline:hover {
    background: #c2410c;
}

.gdpr-btn-settings {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

/* Cookie Settings Modal */
.gdpr-settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gdpr-settings-overlay.show {
    display: flex;
}

.gdpr-settings-modal {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.gdpr-settings-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #eee;
}

.gdpr-settings-header h2 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 24px;
}

.gdpr-settings-header p {
    margin: 0;
    color: #7f8c8d;
    line-height: 1.6;
}

.gdpr-settings-content {
    padding: 30px;
}

.gdpr-cookie-category {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.gdpr-cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

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

.gdpr-category-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.gdpr-category-description {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

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

.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-color: #ccc;
    transition: 0.4s;
    border-radius: 26px;
}

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

.gdpr-toggle input:checked + .gdpr-toggle-slider {
    background-color: #27ae60;
}

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

.gdpr-toggle.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.gdpr-settings-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Privacy Badge */
.gdpr-privacy-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #3498db;
    color: white;
    padding: 12px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.gdpr-privacy-badge:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    color: white;
    text-decoration: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .gdpr-cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .gdpr-cookie-icon {
        align-self: center;
        margin-bottom: 8px;
    }
    
    .gdpr-cookie-text {
        min-width: auto;
        margin-right: 0;
        text-align: center;
    }
    
    .gdpr-cookie-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 8px;
    }
    
    .gdpr-btn {
        width: 100%;
        min-width: auto;
    }
    
    .gdpr-settings-modal {
        margin: 20px;
    }
    
    .gdpr-settings-header,
    .gdpr-settings-content,
    .gdpr-settings-footer {
        padding: 20px;
    }
    
    .gdpr-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .gdpr-settings-footer {
        flex-direction: column;
    }
    
    .gdpr-privacy-badge {
        bottom: 10px;
        right: 10px;
        font-size: 12px;
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .gdpr-cookie-banner {
        padding: 15px;
    }
    
    .gdpr-cookie-icon {
        font-size: 28px;
    }
    
    .gdpr-cookie-text h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .gdpr-cookie-text p {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .gdpr-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
} 