/* Nikba GDPR Cookie Consent Banner */
.nikba-consent[hidden] {
    display: none !important;
}

.nikba-consent {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
}

.nikba-consent__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(30, 34, 40, 0.55);
}

.nikba-consent__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 42rem;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1rem 2.5rem rgba(30, 34, 40, 0.18);
    padding: 1.5rem;
}

.nikba-consent__title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #343f52;
}

.nikba-consent__text {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #60697b;
}

.nikba-consent__preferences {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.nikba-consent__preferences[hidden] {
    display: none !important;
}

.nikba-consent__btn[hidden] {
    display: none !important;
}

.nikba-consent__category {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem;
    border: 1px solid rgba(8, 60, 130, 0.08);
    border-radius: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.nikba-consent__category input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.125rem;
    height: 1.125rem;
    min-width: 1.125rem;
    margin: 0.125rem 0 0;
    border: 2px solid #959ca9;
    border-radius: 0.25rem;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    pointer-events: auto;
}

.nikba-consent__category input[type="checkbox"]:checked {
    background: #49938e;
    border-color: #49938e;
}

.nikba-consent__category input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 0.25rem;
    top: 0.0625rem;
    width: 0.3125rem;
    height: 0.5625rem;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.nikba-consent__category input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(73, 147, 142, 0.45);
    outline-offset: 2px;
}

.nikba-consent__category input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

.nikba-consent__category--disabled {
    cursor: default;
}

.nikba-consent__category strong {
    display: block;
    font-size: 0.875rem;
    color: #343f52;
}

.nikba-consent__category small {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.75rem;
    color: #959ca9;
}

.nikba-consent__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
}

.nikba-consent__links a {
    color: #49938e;
    text-decoration: underline;
}

.nikba-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nikba-consent__btn {
    flex: 1 1 auto;
    min-width: 7rem;
    padding: 0.65rem 1rem;
    border-radius: 0.4rem;
    border: 1px solid transparent;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.nikba-consent__btn--accept,
.nikba-consent__btn--save {
    background: #49938e;
    border-color: #49938e;
    color: #fff;
}

.nikba-consent__btn--accept:hover,
.nikba-consent__btn--save:hover {
    background: #3f857f;
    border-color: #3f857f;
}

.nikba-consent__btn--reject {
    background: #fff;
    border-color: #959ca9;
    color: #343f52;
}

.nikba-consent__btn--reject:hover {
    background: #f6f7f9;
}

.nikba-consent__btn--customize {
    background: #fff;
    border-color: #49938e;
    color: #49938e;
}

.nikba-consent__btn--customize:hover {
    background: rgba(73, 147, 142, 0.08);
}

@media (min-width: 640px) {
    .nikba-consent__btn--accept,
    .nikba-consent__btn--reject {
        flex: 1 1 0;
    }
}
