.gdpr-cs-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: #111827;
    color: #f9fafb;
    padding: 16px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.gdpr-cs-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.gdpr-cs-banner-text {
    flex: 1 1 260px;
    font-size: 14px;
    line-height: 1.5;
}

.gdpr-cs-banner-categories {
    flex: 1 1 260px;
    display: grid;
    gap: 8px;
    font-size: 13px;
}

.gdpr-cs-category {
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(31, 41, 55, 0.8);
}

.gdpr-cs-category-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.gdpr-cs-category-label {
    font-weight: 500;
}

.gdpr-cs-category-description {
    color: #d1d5db;
}

.gdpr-cs-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.gdpr-cs-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.gdpr-cs-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4b5563;
    transition: 0.2s;
    border-radius: 999px;
}

.gdpr-cs-switch-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    top: 3px;
    background-color: #f9fafb;
    transition: 0.2s;
    border-radius: 999px;
}

.gdpr-cs-switch input:checked + .gdpr-cs-switch-slider {
    background-color: #10b981;
}

.gdpr-cs-switch input:checked + .gdpr-cs-switch-slider:before {
    transform: translateX(16px);
}

.gdpr-cs-switch input:disabled + .gdpr-cs-switch-slider {
    opacity: 0.7;
    cursor: not-allowed;
}

.gdpr-cs-banner-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.gdpr-cs-btn {
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.gdpr-cs-btn-primary {
    background: #10b981;
    color: #022c22;
    border-color: #10b981;
}

.gdpr-cs-btn-primary:hover {
    background: #059669;
    border-color: #059669;
}

.gdpr-cs-btn-danger {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
}

.gdpr-cs-btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
}

.gdpr-cs-btn-secondary {
    background: transparent;
    color: #e5e7eb;
    border-color: #4b5563;
}

.gdpr-cs-btn-secondary:hover {
    background: #1f2937;
}

.gdpr-cs-policies ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gdpr-cs-policies li + li {
    margin-top: 4px;
}

.gdpr-cs-policies a {
    text-decoration: none;
    color: #2563eb;
}

.gdpr-cs-policies a:hover {
    text-decoration: underline;
}

.gdpr-cs-policy-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 16px;
}

.gdpr-cs-policy-content {
    font-size: 15px;
    line-height: 1.7;
}

.gdpr-cs-consent-settings {
    position: fixed;
    right: 16px;
    bottom: 96px;
    z-index: 100000;
    border-radius: 999px;
    border: 1px solid #4b5563;
    background: #111827;
    color: #f9fafb;
    padding: 10px 14px;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.gdpr-cs-consent-settings:hover {
    background: #1f2937;
}

@media (max-width: 640px) {
    .gdpr-cs-banner-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .gdpr-cs-banner-actions {
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .gdpr-cs-consent-settings {
        right: 12px;
        bottom: 80px;
        font-size: 12px;
        padding: 8px 12px;
    }
}