.gdpr-cb {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 999999;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, .15);
}

.gdpr-cb[hidden] { display: none !important; }

.gdpr-cb--bottom { bottom: 0; }
.gdpr-cb--top { top: 0; box-shadow: 0 4px 24px rgba(0, 0, 0, .15); }

.gdpr-cb--dark { background: #1f2937; color: #f9fafb; }
.gdpr-cb--light { background: #ffffff; color: #111827; border-top: 1px solid #e5e7eb; }
.gdpr-cb--top.gdpr-cb--light { border-top: 0; border-bottom: 1px solid #e5e7eb; }

.gdpr-cb__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 22px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.gdpr-cb__text { flex: 1 1 320px; min-width: 280px; }
.gdpr-cb__title { display: block; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.gdpr-cb__msg { margin: 0; }
.gdpr-cb__link { color: inherit; text-decoration: underline; }

.gdpr-cb__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.gdpr-cb__btn {
    appearance: none;
    border: 0;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s ease, transform .05s ease;
    line-height: 1.2;
}

.gdpr-cb__btn:active { transform: translateY(1px); }

.gdpr-cb__btn--primary {
    background: #2563eb;
    color: #fff;
}
.gdpr-cb__btn--primary:hover { background: #1d4ed8; }

.gdpr-cb__btn--secondary {
    background: transparent;
    color: inherit;
    border: 1px solid currentColor;
}
.gdpr-cb__btn--secondary:hover { background: rgba(255, 255, 255, .08); }
.gdpr-cb--light .gdpr-cb__btn--secondary:hover { background: rgba(0, 0, 0, .05); }

.gdpr-cb__panel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 22px 18px;
}
.gdpr-cb__panel[hidden] { display: none !important; }

.gdpr-cb__cats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
.gdpr-cb__cat {
    background: rgba(255, 255, 255, .06);
    border-radius: 6px;
    padding: 12px 14px;
}
.gdpr-cb--light .gdpr-cb__cat { background: #f3f4f6; }
.gdpr-cb__cat label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.gdpr-cb__cat-desc { margin: 6px 0 0; font-size: 13px; opacity: .85; }

.gdpr-cb__panel-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 640px) {
    .gdpr-cb__inner { padding: 14px 16px; }
    .gdpr-cb__actions { width: 100%; }
    .gdpr-cb__actions .gdpr-cb__btn { flex: 1 1 auto; }
}
