/* GDPR Consent Banner */
.gdpr-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    display: none;
    backdrop-filter: blur(4px);
}
.gdpr-overlay.show { display: block; }

.gdpr-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #1a1a2e;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 100000;
    display: none;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
    animation: gdprSlideUp 0.4s ease;
}
.gdpr-banner.show { display: block; }

@keyframes gdprSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.gdpr-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 20px;
}

.gdpr-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.gdpr-text {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 16px;
}

.gdpr-text a {
    color: #4facfe;
    text-decoration: underline;
}

.gdpr-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gdpr-btn {
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.gdpr-btn-accept {
    background: #4facfe;
    color: #fff;
}
.gdpr-btn-accept:hover { background: #3a9aee; }

.gdpr-btn-reject {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}
.gdpr-btn-reject:hover { background: rgba(255,255,255,0.15); }

.gdpr-btn-manage {
    background: transparent;
    color: rgba(255,255,255,0.7);
    text-decoration: underline;
    padding: 10px 12px;
}
.gdpr-btn-manage:hover { color: #fff; }

/* Manage Panel */
.gdpr-manage-panel {
    display: none;
    margin-top: 16px;
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}
.gdpr-manage-panel.show { display: block; }

.gdpr-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.gdpr-option:last-child { border-bottom: none; }

.gdpr-option-info { flex: 1; }

.gdpr-option-label {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.gdpr-option-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}

/* Toggle Switch */
.gdpr-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 12px;
}

.gdpr-toggle input { opacity: 0; width: 0; height: 0; }

.gdpr-toggle-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 24px;
    cursor: pointer;
    transition: 0.3s;
}

.gdpr-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px; height: 18px;
    left: 3px; bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.gdpr-toggle input:checked + .gdpr-toggle-slider { background: #4facfe; }
.gdpr-toggle input:checked + .gdpr-toggle-slider::before { transform: translateX(20px); }
.gdpr-toggle input:disabled + .gdpr-toggle-slider { opacity: 0.6; cursor: default; }

.gdpr-save-row {
    margin-top: 12px;
    text-align: right;
}

@media (max-width: 600px) {
    .gdpr-buttons { flex-direction: column; }
    .gdpr-btn { width: 100%; text-align: center; }
}
