.nikba-gdpr-banner {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 100000;
    color: #f4f6f8;
    background: #1b1f24;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.nikba-gdpr-banner[hidden],
.nikba-gdpr-banner__customize[hidden] {
    display: none !important;
}

.nikba-gdpr-banner__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 22px;
}

.nikba-gdpr-banner__copy {
    flex: 1 1 280px;
    min-width: 0;
}

.nikba-gdpr-banner__title {
    margin: 0 0 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.nikba-gdpr-banner__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.55;
}

.nikba-gdpr-banner__text a {
    color: #ff8a3d;
    text-decoration: underline;
}

.nikba-gdpr-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.nikba-gdpr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 148px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.nikba-gdpr-btn--accept,
.nikba-gdpr-btn--reject {
    min-width: 160px;
}

.nikba-gdpr-btn--accept {
    color: #fff;
    background: #e32b26;
    border-color: #e32b26;
}

.nikba-gdpr-btn--reject {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.7);
}

.nikba-gdpr-btn--ghost,
.nikba-gdpr-btn--save {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
}

.nikba-gdpr-banner__customize {
    flex: 1 0 100%;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nikba-gdpr-cats {
    display: grid;
    gap: 12px;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
}

.nikba-gdpr-cat {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0;
    cursor: pointer;
}

.nikba-gdpr-cat input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: #e32b26;
}

.nikba-gdpr-cat strong {
    display: block;
    color: #fff;
    font-size: 14px;
}

.nikba-gdpr-cat small {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.4;
}

.nikba-gdpr-form-consent {
    margin: 16px 0 20px;
}

.nikba-gdpr-form-consent--compact {
    margin: 12px 0 18px;
}

.nikba-gdpr-form-consent__label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0;
    color: inherit;
    font-size: 13px;
    line-height: 1.45;
    cursor: pointer;
}

.comment-form .nikba-gdpr-form-consent__input[type="checkbox"],
.widget-form .nikba-gdpr-form-consent__label .nikba-gdpr-form-consent__input[type="checkbox"],
.nikba-gdpr-form-consent__input[type="checkbox"] {
    position: static;
    appearance: none;
    -webkit-appearance: none;
    opacity: 1;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    max-width: 18px;
    margin: 3px 0 0;
    padding: 0;
    flex: 0 0 18px;
    z-index: auto;
    border: 2px solid currentColor;
    border-radius: 4px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
    cursor: pointer;
    box-shadow: none;
}

.comment-form .nikba-gdpr-form-consent__input[type="checkbox"]:checked,
.widget-form .nikba-gdpr-form-consent__label .nikba-gdpr-form-consent__input[type="checkbox"]:checked,
.nikba-gdpr-form-consent__input[type="checkbox"]:checked {
    background-color: #e32b26;
    border-color: #e32b26;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E");
}

.nikba-gdpr-form-consent__label a {
    color: #e32b26;
    text-decoration: underline;
}

.nikba-gdpr-form-consent__error {
    margin-top: 6px;
    color: #e32b26;
    font-size: 13px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 767px) {
    .nikba-gdpr-banner {
        right: 0;
        bottom: 0;
        left: 0;
        border-radius: 16px 16px 0 0;
    }

    .nikba-gdpr-btn,
    .nikba-gdpr-btn--accept,
    .nikba-gdpr-btn--reject {
        width: 100%;
        min-width: 0;
    }
}

.nikba-gdpr-footer-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-left: 12px;
}

.nikba-gdpr-footer-links a {
    color: inherit;
    text-decoration: underline;
}
