/* GDPR Cookie Banner Styles */
.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #116b76 0%, #2ca9ab 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.gdpr-banner.show {
    transform: translateY(0);
}

.gdpr-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gdpr-banner-text {
    flex: 1;
}

.gdpr-banner-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.gdpr-banner-description {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.gdpr-banner-link {
    color: #5dc7c3;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.gdpr-banner-link:hover {
    color: white;
}

.gdpr-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.gdpr-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 120px;
}

.gdpr-btn-accept {
    background: white;
    color: #116b76;
}

.gdpr-btn-accept:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gdpr-btn-decline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.gdpr-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.gdpr-btn-settings {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gdpr-btn-settings:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Cookie Settings Modal */
.gdpr-settings-modal {
    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-modal.show {
    display: flex;
}

.gdpr-settings-content {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    color: #1f2937;
}

.gdpr-settings-title {
    font-size: 24px;
    font-weight: 700;
    color: #116b76;
    margin-bottom: 20px;
}

.gdpr-cookie-category {
    margin-bottom: 24px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.gdpr-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.gdpr-category-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.gdpr-category-required {
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
}

.gdpr-category-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 12px;
}

.gdpr-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.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.3s;
    border-radius: 24px;
}

.gdpr-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.gdpr-toggle input:checked + .gdpr-toggle-slider {
    background-color: #116b76;
}

.gdpr-toggle input:checked + .gdpr-toggle-slider:before {
    transform: translateX(26px);
}

.gdpr-toggle input:disabled + .gdpr-toggle-slider {
    background-color: #116b76;
    opacity: 0.6;
    cursor: not-allowed;
}

.gdpr-settings-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.gdpr-btn-save {
    background: #116b76;
    color: white;
}

.gdpr-btn-save:hover {
    background: #22999f;
}

.gdpr-btn-cancel {
    background: #6b7280;
    color: white;
}

.gdpr-btn-cancel:hover {
    background: #4b5563;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gdpr-banner {
        padding: 16px;
    }
    
    .gdpr-banner-content {
        gap: 12px;
    }
    
    .gdpr-banner-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .gdpr-btn {
        width: 100%;
        min-width: auto;
    }
    
    .gdpr-settings-content {
        padding: 20px;
        margin: 10px;
    }
    
    .gdpr-settings-actions {
        flex-direction: column;
    }
}

/* Print styles */
@media print {
    .gdpr-banner,
    .gdpr-settings-modal {
        display: none !important;
    }
} 