.talk-cookie-banner[hidden],
.talk-cookie-modal[hidden],
.talk-cookie-chat-placeholder[hidden],
.talk-cookie-service-notice[hidden] {
    display: none !important;
}

.talk-cookie-banner,
.talk-cookie-modal,
.talk-cookie-chat-placeholder,
.talk-cookie-service-notice {
    box-sizing: border-box;
    font-family: "Aeroport", Arial, sans-serif;
}

.talk-cookie-banner *,
.talk-cookie-modal *,
.talk-cookie-chat-placeholder *,
.talk-cookie-service-notice * {
    box-sizing: border-box;
}

.talk-cookie-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 2147482000;
    margin: 0 auto;
    max-width: 1180px;
    color: #172033;
}

.talk-cookie-banner__content {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border: 1px solid rgba(10, 93, 252, 0.18);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 60px rgba(24, 38, 75, 0.2);
}

.talk-cookie-banner__copy {
    max-width: 690px;
}

.talk-cookie-banner__title,
.talk-cookie-banner__text {
    margin: 0;
}

.talk-cookie-banner__title {
    margin-bottom: 8px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.talk-cookie-banner__text {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.55;
}

.talk-cookie-banner a,
.talk-cookie-modal a {
    color: #0a5dfc;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.talk-cookie-banner__actions {
    display: grid;
    flex: 0 0 270px;
    gap: 10px;
}

.talk-cookie-button {
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.talk-cookie-button:focus-visible,
.talk-cookie-modal__close:focus-visible,
.talk-cookie-switch input:focus-visible + .talk-cookie-switch__control,
.talk-cookie-chat-placeholder:focus-visible,
.talk-cookie-service-notice__close:focus-visible,
.talk-cookie-footer-link:focus-visible {
    outline: 3px solid rgba(10, 93, 252, 0.32);
    outline-offset: 3px;
}

.talk-cookie-button--primary {
    border-color: #0a5dfc;
    background: #0a5dfc;
    color: #ffffff;
}

.talk-cookie-button--primary:hover {
    border-color: #1042a5;
    background: #1042a5;
}

.talk-cookie-button--secondary {
    border-color: #cbd5e1;
    background: #ffffff;
    color: #172033;
}

.talk-cookie-button--secondary:hover {
    border-color: #0a5dfc;
    color: #0a5dfc;
}

.talk-cookie-button--link {
    min-height: auto;
    padding: 5px 8px;
    background: transparent;
    color: #0a5dfc;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.talk-cookie-button--link:hover {
    color: #1042a5;
}

.talk-cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.62);
}

.talk-cookie-modal__dialog {
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    border-radius: 22px;
    background: #ffffff;
    color: #172033;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.34);
}

.talk-cookie-modal__header,
.talk-cookie-modal__footer {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
}

.talk-cookie-modal__header {
    position: sticky;
    top: 0;
    z-index: 2;
    border-bottom: 1px solid #e5eaf1;
    background: #ffffff;
}

.talk-cookie-modal__brand {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: #172033 !important;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none !important;
}

.talk-cookie-modal__brand img {
    display: block;
    width: 42px;
    height: 42px;
}

.talk-cookie-modal__close,
.talk-cookie-service-notice__close {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eef3fb;
    color: #172033;
    font: inherit;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.talk-cookie-modal__close:hover,
.talk-cookie-service-notice__close:hover {
    background: #e1e9f6;
}

.talk-cookie-modal__body {
    padding: 24px;
}

.talk-cookie-modal__body h2 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.2;
}

.talk-cookie-modal__body > p {
    margin: 0;
    color: #5b6473;
    font-size: 15px;
    line-height: 1.55;
}

.talk-cookie-categories {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.talk-cookie-category {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 18px;
    border: 1px solid #dce3ed;
    border-radius: 16px;
    background: #ffffff;
    cursor: pointer;
}

.talk-cookie-category:hover {
    border-color: #9db9ef;
}

.talk-cookie-category--required {
    background: #f5f8fc;
    cursor: default;
}

.talk-cookie-category__copy,
.talk-cookie-category__title,
.talk-cookie-category__description {
    display: block;
}

.talk-cookie-category__copy {
    min-width: 0;
}

.talk-cookie-category__title {
    color: #172033;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.talk-cookie-category__description {
    margin-top: 5px;
    color: #647084;
    font-size: 14px;
    line-height: 1.45;
}

.talk-cookie-category__badge {
    display: inline-flex;
    margin-left: 7px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #dce8ff;
    color: #0b4dc4;
    font-size: 11px;
    font-weight: 700;
    vertical-align: 2px;
}

.talk-cookie-switch {
    position: relative;
    flex: 0 0 auto;
    width: 48px;
    height: 28px;
}

.talk-cookie-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.talk-cookie-switch__control {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #b8c1ce;
    transition: background-color 0.2s ease;
}

.talk-cookie-switch__control::after {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 7px rgba(15, 23, 42, 0.28);
    content: "";
    transition: transform 0.2s ease;
}

.talk-cookie-switch input:checked + .talk-cookie-switch__control {
    background: #0a5dfc;
}

.talk-cookie-switch input:checked + .talk-cookie-switch__control::after {
    transform: translateX(20px);
}

.talk-cookie-switch input:disabled + .talk-cookie-switch__control {
    opacity: 0.72;
}

.talk-cookie-modal__footer {
    position: sticky;
    bottom: 0;
    border-top: 1px solid #e5eaf1;
    background: #ffffff;
}

.talk-cookie-modal__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 13px;
}

.talk-cookie-modal__footer .talk-cookie-button {
    flex: 0 0 auto;
}

.talk-cookie-modal-open {
    overflow: hidden;
}

.talk-cookie-chat-placeholder {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2147481500;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-height: 52px;
    padding: 11px 16px;
    border: 0;
    border-radius: 999px;
    background: #0a5dfc;
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(10, 93, 252, 0.35);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.talk-cookie-chat-placeholder:hover {
    background: #1042a5;
}

.talk-cookie-chat-placeholder__label {
    line-height: 1;
}

.talk-cookie-service-notice {
    position: fixed;
    right: 24px;
    bottom: 88px;
    z-index: 2147482500;
    width: min(360px, calc(100vw - 32px));
    padding: 20px;
    border: 1px solid #dce3ed;
    border-radius: 18px;
    background: #ffffff;
    color: #3f4b5e;
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.24);
    font-size: 14px;
    line-height: 1.45;
}

.talk-cookie-service-notice__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 24px;
}

.talk-cookie-service-notice__title {
    margin: 0 36px 6px 0 !important;
    color: #172033;
    font-size: 17px;
    font-weight: 700;
}

.talk-cookie-service-notice p {
    margin: 0 0 14px;
}

.talk-cookie-service-notice .talk-cookie-button {
    width: 100%;
}

footer .talk-cookie-footer-settings {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
    padding: 0 6.25vw 48px;
    box-sizing: border-box;
    text-align: center;
}

footer::after {
    pointer-events: none;
}

footer .talk-cookie-footer-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: #6d7178;
    font: inherit;
    font-size: 14px;
    line-height: 20px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

footer .talk-cookie-footer-link:hover {
    color: #0a5dfc;
}

.cookie-policy-table-wrap {
    max-width: 100%;
    margin: 20px 0 28px;
    overflow-x: auto;
}

.cookie-policy-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    color: #263247;
    font-size: 14px;
    line-height: 1.45;
}

.cookie-policy-table th,
.cookie-policy-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #dce3ed;
    text-align: left;
    vertical-align: top;
}

.cookie-policy-table th {
    background: #eef4ff;
    color: #172033;
    font-weight: 700;
}

.cookie-policy-table tbody tr:hover {
    background: #f8faff;
}

@media (max-width: 820px) {
    footer .talk-cookie-footer-settings {
        max-width: none;
        padding: 0 24px 48px;
    }

    .talk-cookie-banner {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .talk-cookie-banner__content {
        display: block;
        padding: 20px;
        border-radius: 17px;
    }

    .talk-cookie-banner__actions {
        margin-top: 18px;
    }

    .talk-cookie-modal {
        place-items: end center;
        padding: 0;
    }

    .talk-cookie-modal__dialog {
        width: 100%;
        max-height: 92vh;
        border-radius: 22px 22px 0 0;
    }

    .talk-cookie-modal__header,
    .talk-cookie-modal__body,
    .talk-cookie-modal__footer {
        padding-right: 18px;
        padding-left: 18px;
    }

    .talk-cookie-modal__footer {
        display: block;
    }

    .talk-cookie-modal__footer .talk-cookie-button {
        width: 100%;
        margin-top: 16px;
    }

    .talk-cookie-chat-placeholder {
        right: 14px;
        bottom: 14px;
    }

    .talk-cookie-service-notice {
        right: 16px;
        bottom: 80px;
    }
}

@media (max-width: 520px) {
    .talk-cookie-banner__title {
        font-size: 19px;
    }

    .talk-cookie-banner__text {
        font-size: 14px;
    }

    .talk-cookie-modal__body h2 {
        font-size: 23px;
    }

    .talk-cookie-category {
        padding: 15px;
    }

    .talk-cookie-category__badge {
        display: table;
        margin: 6px 0 0;
    }

    .talk-cookie-chat-placeholder__label {
        display: none;
    }

    .talk-cookie-chat-placeholder {
        width: 52px;
        justify-content: center;
        padding: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .talk-cookie-button,
    .talk-cookie-switch__control,
    .talk-cookie-switch__control::after {
        transition: none;
    }
}
