:root {
    --gdpr-primary: #4361ee;
    --gdpr-secondary: #3a0ca3;
    --gdpr-dark: #212529;
    --gdpr-light: #f8f9fa;
    --gdpr-success: #4cc9f0;
    --gdpr-border-radius: 12px;
    --gdpr-box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.gdpr-modal {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 380px;
    max-width: 95%;
    background: white;
    border-radius: var(--gdpr-border-radius);
    box-shadow: var(--gdpr-box-shadow);
    z-index: 9999;
    font-family: 'Segoe UI', system-ui, sans-serif;
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.gdpr-modal.active {
    transform: translateY(0);
    opacity: 1;
}

.gdpr-modal-content {
    padding: 1.5rem;
}

.gdpr-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.gdpr-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--gdpr-dark);
}

.gdpr-icon {
    color: var(--gdpr-primary);
}

.gdpr-body {
    margin-bottom: 1.5rem;
}

.gdpr-body p {
    margin: 0 0 1rem 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #495057;
}

.gdpr-body a {
    color: var(--gdpr-primary);
    text-decoration: none;
    font-weight: 500;
}

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

.gdpr-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 8px;
}

.gdpr-tab {
    background: none;
    border: none;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.2s;
}

.gdpr-tab.active {
    background: var(--gdpr-primary);
    color: white;
}

.gdpr-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.gdpr-tab-content.active {
    display: block;
}

.gdpr-toggle {
    margin-bottom: 1rem;
}

.gdpr-toggle input[type="checkbox"] {
    display: none;
}

.gdpr-toggle label {
    position: relative;
    padding-left: 42px;
    cursor: pointer;
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
}

.gdpr-toggle label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 18px;
    background: #e9ecef;
    border-radius: 9px;
    transition: all 0.2s;
}

.gdpr-toggle label:after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    transition: all 0.2s;
}

.gdpr-toggle input[type="checkbox"]:checked + label:before {
    background: var(--gdpr-primary);
}

.gdpr-toggle input[type="checkbox"]:checked + label:after {
    left: 16px;
}

.gdpr-toggle.disabled label {
    opacity: 0.7;
    cursor: not-allowed;
}

.gdpr-toggle-desc {
    font-size: 0.75rem;
    color: #6c757d;
    margin: 0 0 0 42px;
    line-height: 1.4;
}

.gdpr-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.gdpr-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

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

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

.gdpr-btn.secondary {
    background: white;
    color: var(--gdpr-dark);
    border: 1px solid #dee2e6;
}

.gdpr-btn.secondary:hover {
    background: #f8f9fa;
}

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

@media (max-width: 576px) {
    .gdpr-modal {
        bottom: 0;
        right: 0;
        left: 0;
        width: auto;
        max-width: 100%;
        border-radius: 0;
    }

    .gdpr-footer {
        flex-direction: column;
    }

    .gdpr-btn {
        width: 100%;
    }
}