:root {
    --gp-consent-purple: #7b4eb0;
    --gp-consent-purple-dark: #633b92;
    --gp-consent-green: #71a500;
    --gp-consent-green-dark: #557d00;
    --gp-consent-green-soft: #f2f7e8;
    --gp-consent-purple-soft: #f7f3fb;
    --gp-consent-ink: #3e3e3e;
    --gp-consent-muted: #626262;
    --gp-consent-border: #ddd3e8;
    --gp-consent-surface: #fff;
    --gp-consent-focus: #71a500;
}

#getpose-klaro,
#getpose-klaro *,
.getpose-privacy-settings,
.getpose-privacy-settings * {
    box-sizing: border-box;
}

.klaro {
    --green1: var(--gp-consent-purple);
    --green2: var(--gp-consent-green);
    --green3: var(--gp-consent-green);
    --blue1: var(--gp-consent-purple);
    --blue2: var(--gp-consent-purple-dark);
    --dark1: var(--gp-consent-surface);
    --dark2: var(--gp-consent-muted);
    --dark3: var(--gp-consent-muted);
    --light1: var(--gp-consent-ink);
    --light2: var(--gp-consent-border);
    --light3: var(--gp-consent-muted);
    --white1: var(--gp-consent-surface);
    --white2: #f1f1f1;
    --white3: #fff;
    --button-text-color: #fff;
    --border-radius: 8px;
    color: var(--gp-consent-ink);
    font-family: proxima-nova, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
}

.klaro .cookie-notice,
.klaro .cookie-modal {
    color: var(--gp-consent-ink);
    text-align: start;
}

.klaro .cookie-notice:not(.cookie-modal-notice) {
    right: 50%;
    bottom: 18px;
    left: auto;
    width: min(820px, calc(100% - 32px));
    max-width: 820px;
    padding: 0;
    overflow: hidden;
    transform: translateX(50%);
    border: 1px solid var(--gp-consent-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 58px rgba(65, 44, 85, 0.22);
    backdrop-filter: blur(12px);
}

.klaro .cookie-notice:not(.cookie-modal-notice)::before {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--gp-consent-purple), var(--gp-consent-green));
    content: "";
}

.klaro .cookie-notice:not(.cookie-modal-notice) .cn-body {
    margin: 0;
    padding: 20px 24px 19px 27px;
    background:
        radial-gradient(circle at 100% 0, rgba(113, 165, 0, 0.09), transparent 38%),
        linear-gradient(120deg, rgba(123, 78, 176, 0.045), transparent 52%),
        var(--gp-consent-surface);
    text-align: start;
}

#getpose-klaro[dir="rtl"] .cookie-notice:not(.cookie-modal-notice) .cn-body {
    padding-right: 27px;
    padding-left: 24px;
}

.klaro .cookie-notice .cn-body p,
.klaro .cookie-notice .cn-body .cn-ok {
    margin: 0;
}

.klaro .cookie-notice:not(.cookie-modal-notice) .cn-body h2,
.klaro .cookie-notice:not(.cookie-modal-notice) .cn-body p strong {
    display: block;
    margin: 0 0 5px;
    color: var(--gp-consent-purple-dark);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.klaro .cookie-notice .cn-body p {
    max-width: 72ch;
    color: var(--gp-consent-muted);
    font-size: 15px;
    line-height: 1.55;
    text-align: start;
}

.klaro .cookie-notice .cn-body .cn-ok {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-block-start: 15px;
}

.klaro .cookie-notice .cn-body .cn-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.klaro .cm-btn {
    min-height: 44px;
    margin: 0;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.klaro .cm-btn:hover {
    transform: translateY(-1px);
}

.klaro .cm-btn:focus-visible,
.klaro .cn-learn-more:focus-visible,
.klaro .hide:focus-visible,
.getpose-privacy-settings:focus-visible {
    outline: 3px solid var(--gp-consent-focus);
    outline-offset: 3px;
}

.klaro .cm-btn.cm-btn-success {
    border-color: var(--gp-consent-purple);
    background: var(--gp-consent-purple);
    color: #fff;
    box-shadow: 0 7px 16px rgba(123, 78, 176, 0.24);
}

.klaro .cm-btn.cm-btn-success:hover {
    border-color: var(--gp-consent-purple-dark);
    background: var(--gp-consent-purple-dark);
}

.klaro .cm-btn.cm-btn-danger,
.klaro .cm-btn.cm-btn-info {
    border-color: var(--gp-consent-green);
    background: var(--gp-consent-surface);
    color: var(--gp-consent-green-dark);
}

.klaro .cm-btn.cm-btn-danger:hover,
.klaro .cm-btn.cm-btn-info:hover {
    background: var(--gp-consent-green-soft);
}

.klaro .cookie-modal .cm-btn.cm-btn-info {
    border: 1px solid var(--gp-consent-purple);
    background: var(--gp-consent-surface);
    color: var(--gp-consent-purple-dark);
    box-shadow: none;
}

.klaro .cookie-modal .cm-btn.cm-btn-info:hover {
    background: var(--gp-consent-purple-soft);
}

.klaro .cookie-modal .cm-btn.cm-btn-danger,
.klaro .cookie-notice .cm-btn.cm-btn-danger {
    border: 1px solid var(--gp-consent-green);
    background: var(--gp-consent-surface);
    color: var(--gp-consent-green-dark);
    box-shadow: none;
}

.klaro .cookie-notice .cn-learn-more {
    color: var(--gp-consent-purple-dark);
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.klaro .cookie-modal {
    z-index: 2147483000;
}

.klaro .cookie-modal .cm-bg {
    z-index: 2147483001;
    background: rgba(33, 25, 41, 0.62);
    backdrop-filter: blur(3px);
}

.klaro .cookie-modal .cm-modal.cm-klaro {
    position: fixed;
    top: 50%;
    right: auto;
    left: 50%;
    z-index: 2147483002;
    display: flex;
    flex-direction: column;
    width: min(760px, calc(100vw - 24px));
    max-width: 760px;
    height: auto;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    margin: 0;
    overflow: hidden;
    transform: translate(-50%, -50%);
    border: 1px solid var(--gp-consent-border);
    border-radius: 18px;
    background: var(--gp-consent-surface);
    color: var(--gp-consent-ink);
    box-shadow: 0 28px 84px rgba(42, 30, 54, 0.34);
    text-align: start;
}

.klaro .cookie-modal .cm-modal .cm-header,
.klaro .cookie-modal .cm-modal .cm-footer {
    flex: 0 0 auto;
    width: 100%;
    background-color: var(--gp-consent-surface);
}

.klaro .cookie-modal .cm-modal .cm-header {
    padding: 22px 54px 18px 24px;
    border-bottom: 1px solid #ebe5f1;
    background:
        radial-gradient(circle at 100% 0, rgba(113, 165, 0, 0.11), transparent 42%),
        linear-gradient(120deg, rgba(123, 78, 176, 0.06), transparent 58%),
        var(--gp-consent-surface);
}

#getpose-klaro[dir="rtl"] .cookie-modal .cm-modal .cm-header {
    padding-right: 24px;
    padding-left: 54px;
}

.klaro .cookie-modal .cm-modal .cm-header h1,
.klaro .cookie-modal .cm-modal .cm-header h1.title {
    margin: 0 0 7px;
    padding: 0;
    color: var(--gp-consent-purple-dark);
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 700;
    line-height: 1.22;
    text-align: start;
}

.klaro .cookie-modal .cm-modal .cm-header p,
.klaro .cookie-modal .cm-purpose .cm-services .cm-service p,
.klaro .cookie-modal .cm-purpose > p {
    color: var(--gp-consent-muted);
    line-height: 1.55;
    text-align: start;
}

.klaro .cookie-modal .cm-modal .hide {
    top: 17px;
    right: 17px;
    left: auto;
    width: 32px;
    height: 32px;
    color: var(--gp-consent-ink);
}

#getpose-klaro[dir="rtl"] .cookie-modal .cm-modal .hide {
    right: auto;
    left: 17px;
}

.klaro .cookie-modal .cm-modal .cm-body {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    padding: 18px 24px;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--gp-consent-surface);
    color: var(--gp-consent-ink);
    scrollbar-gutter: stable;
}

.klaro .cookie-modal .cm-modal .cm-body ul.cm-services,
.klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes {
    width: 100%;
    max-width: 100%;
}

.klaro .cookie-modal .cm-purpose {
    border-color: #ebe5f1;
}

.klaro .cookie-modal .cm-list-title {
    color: var(--gp-consent-ink);
    font-weight: 700;
}

.klaro .cookie-modal .cm-list-description,
.klaro .cookie-modal .cm-purpose > p,
.klaro .cookie-modal .cm-service p {
    color: var(--gp-consent-muted);
}

.klaro .cookie-modal .cm-list-input:checked + .cm-list-label .slider {
    background-color: var(--gp-consent-purple);
}

.klaro .cookie-modal .cm-list-input.required:checked + .cm-list-label .slider {
    background-color: var(--gp-consent-green);
}

#getpose-klaro[dir="rtl"] .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-service,
#getpose-klaro[dir="rtl"] .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-purpose,
#getpose-klaro[dir="rtl"] .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-service,
#getpose-klaro[dir="rtl"] .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-purpose {
    padding-right: 60px;
    padding-left: 0;
    text-align: right;
}

#getpose-klaro[dir="rtl"] .cookie-modal .cm-modal .cm-body .cm-list-input,
#getpose-klaro[dir="rtl"] .cookie-modal .cm-modal .cm-body .cm-list-label .cm-switch {
    right: 0;
    left: auto;
}

#getpose-klaro[dir="rtl"] .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-purpose .cm-services .cm-content,
#getpose-klaro[dir="rtl"] .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-purpose .cm-services .cm-content {
    margin-right: -40px;
    margin-left: 0;
}

.klaro .cookie-modal .cm-modal .cm-footer {
    padding: 15px 24px 17px;
    border-top: 1px solid #ebe5f1;
}

.klaro .cookie-modal .cm-modal .cm-footer-buttons {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.klaro .cookie-modal .cm-modal .cm-footer-buttons .cm-btn {
    flex: 0 1 auto;
    min-width: 132px;
}

.klaro .cookie-modal .cm-modal .cm-footer .cm-powered-by {
    display: none;
}

.klaro .context-notice {
    min-height: 220px;
    padding: 24px;
    border: 1px solid var(--gp-consent-border);
    border-radius: 12px;
    background:
        radial-gradient(circle at 100% 0, rgba(113, 165, 0, 0.1), transparent 42%),
        var(--gp-consent-purple-soft);
    color: var(--gp-consent-ink);
    text-align: center;
}

.klaro .context-notice p {
    max-width: 54ch;
    color: var(--gp-consent-ink);
    line-height: 1.5;
    text-align: center;
}

.klaro .context-notice .cm-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
}

.klaro .context-notice .cm-buttons .cm-btn {
    margin: 0;
}

.getpose-privacy-settings {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9998;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid var(--gp-consent-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.97);
    color: var(--gp-consent-purple-dark);
    box-shadow: 0 8px 24px rgba(65, 44, 85, 0.18);
    font-family: proxima-nova, "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

body.rtl .getpose-privacy-settings {
    right: auto;
    left: 16px;
}

.getpose-privacy-settings[hidden] {
    display: none;
}

.getpose-privacy-settings svg {
    flex: 0 0 auto;
    color: var(--gp-consent-green);
}

.getpose-privacy-settings:hover {
    transform: translateY(-2px);
    border-color: var(--gp-consent-purple);
    box-shadow: 0 10px 28px rgba(123, 78, 176, 0.22);
}

@media (max-width: 640px) {
    .klaro .cookie-notice:not(.cookie-modal-notice) {
        bottom: 10px;
        width: calc(100% - 20px);
        border-radius: 14px;
    }

    .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body,
    #getpose-klaro[dir="rtl"] .cookie-notice:not(.cookie-modal-notice) .cn-body {
        padding: 17px 18px 16px 21px;
    }

    #getpose-klaro[dir="rtl"] .cookie-notice:not(.cookie-modal-notice) .cn-body {
        padding-right: 21px;
        padding-left: 18px;
    }

    .klaro .cookie-notice .cn-body .cn-ok,
    .klaro .cookie-notice .cn-body .cn-buttons {
        align-items: stretch;
        width: 100%;
    }

    .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-buttons button.cm-btn {
        width: 100%;
        margin-right: 0;
    }

    .klaro .cookie-modal .cm-modal.cm-klaro {
        width: calc(100% - 16px);
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
        border-radius: 14px;
    }

    .klaro .cookie-modal .cm-modal .cm-header,
    #getpose-klaro[dir="rtl"] .cookie-modal .cm-modal .cm-header {
        padding: 17px 46px 15px 18px;
    }

    #getpose-klaro[dir="rtl"] .cookie-modal .cm-modal .cm-header {
        padding-right: 18px;
        padding-left: 46px;
    }

    .klaro .cookie-modal .cm-modal .cm-body {
        padding: 15px 18px;
    }

    .klaro .cookie-modal .cm-modal .cm-footer {
        padding: 13px 18px 15px;
    }

    .klaro .cookie-modal .cm-modal .cm-footer-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .klaro .cookie-modal .cm-modal .cm-footer-buttons .cm-btn {
        width: 100%;
        min-width: 0;
    }

    .getpose-privacy-settings,
    body.rtl .getpose-privacy-settings {
        right: 10px;
        bottom: 10px;
        left: auto;
    }

    body.rtl .getpose-privacy-settings {
        right: auto;
        left: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .klaro *,
    .getpose-privacy-settings {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

@media (forced-colors: active) {
    .klaro .cookie-notice:not(.cookie-modal-notice),
    .klaro .cookie-modal .cm-modal.cm-klaro,
    .getpose-privacy-settings {
        border: 2px solid CanvasText;
        background: Canvas;
        color: CanvasText;
        forced-color-adjust: auto;
    }
}
