.gb-cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100001;
    padding: 12px max(12px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left));
    pointer-events: none;
}

.gb-cookie-consent:not([hidden]) {
    pointer-events: auto;
}

.gb-cookie-consent__panel {
    max-width: 720px;
    margin: 0 auto;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.14);
}

.gb-cookie-consent__title {
    margin: 0 0 8px;
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
}

.gb-cookie-consent__text {
    margin: 0 0 14px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #475569;
}

.gb-cookie-consent__text a {
    color: #1d4ed8;
    font-weight: 650;
    text-decoration: underline;
}

.gb-cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gb-cookie-consent__btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px 16px;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 750;
    cursor: pointer;
}

.gb-cookie-consent__btn--accept {
    background: #1d4ed8;
    color: #fff;
    border-color: #1d4ed8;
}

.gb-cookie-consent__btn--reject {
    background: #ffffff;
    color: #0f172a;
    border-color: #cbd5e1;
}

.gb-cookie-consent__btn:focus-visible {
    outline: 2px solid #1d4ed8;
    outline-offset: 2px;
}

@media (max-width: 520px) {
    .gb-cookie-consent__actions {
        flex-direction: column;
    }

    .gb-cookie-consent__btn {
        width: 100%;
    }
}
