.ap-cookie-banner,
.ap-cookie-modal {
    font-family: "Poppins", Arial, Helvetica, sans-serif;
}

.ap-cookie-banner {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 99997;
    display: none;
    color: #ffffff;
}

.ap-cookie-banner.is-visible {
    display: block;
}

.ap-cookie-banner__inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 20px;
    border: 1px solid rgba(0, 213, 255, .32);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(0, 55, 87, .96), rgba(0, 115, 178, .94)),
        rgba(0, 76, 120, .95);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .36);
    backdrop-filter: blur(12px);
}

.ap-cookie-banner__eyebrow {
    margin: 0 0 6px;
    color: #00d5ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ap-cookie-banner h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: 0;
}

.ap-cookie-banner p {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, .84);
    font-size: 14px;
    line-height: 1.7;
}

.ap-cookie-banner a,
.ap-cookie-modal a {
    color: #00d5ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ap-cookie-banner__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.ap-cookie-btn {
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.ap-cookie-btn:hover,
.ap-cookie-btn:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(0, 213, 255, .74);
    background: rgba(255, 255, 255, .15);
    outline: none;
}

.ap-cookie-btn--primary {
    border-color: #00d5ff;
    background: #00d5ff;
    color: #003b59;
}

.ap-cookie-btn--primary:hover,
.ap-cookie-btn--primary:focus-visible {
    background: #42e2ff;
}

.ap-cookie-btn--dark {
    border-color: rgba(255, 255, 255, .2);
    background: #061824;
}

.ap-cookie-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: none;
    background: rgba(0, 16, 26, .62);
    backdrop-filter: blur(6px);
}

.ap-cookie-backdrop.is-visible,
.ap-cookie-modal.is-visible {
    display: block;
}

.ap-cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    overflow-y: auto;
    padding: 28px 18px;
    color: #102535;
}

.ap-cookie-modal__dialog {
    width: min(760px, 100%);
    margin: 4vh auto;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
}

.ap-cookie-modal__header {
    position: relative;
    padding: 26px 30px 22px;
    background:
        linear-gradient(135deg, rgba(0, 93, 143, .98), rgba(0, 174, 212, .9)),
        #006ca6;
    color: #ffffff;
}

.ap-cookie-modal__header p {
    margin: 0;
    max-width: 600px;
    color: rgba(255, 255, 255, .84);
    font-size: 14px;
    line-height: 1.7;
}

.ap-cookie-modal__title {
    margin: 0 44px 8px 0;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: 0;
}

.ap-cookie-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.ap-cookie-modal__body {
    padding: 26px 30px 8px;
}

.ap-cookie-choice {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #e5edf2;
}

.ap-cookie-choice:last-child {
    border-bottom: 0;
}

.ap-cookie-choice h3 {
    margin: 0 0 5px;
    color: #072333;
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: 0;
}

.ap-cookie-choice p {
    margin: 0;
    color: #516574;
    font-size: 14px;
    line-height: 1.65;
}

.ap-cookie-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 58px;
    height: 32px;
}

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

.ap-cookie-toggle span {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #c6d2da;
    cursor: pointer;
    transition: background-color .2s ease;
}

.ap-cookie-toggle span::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    top: 4px;
    left: 4px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .24);
    transition: transform .2s ease;
}

.ap-cookie-toggle input:checked + span {
    background: #00a9ce;
}

.ap-cookie-toggle input:checked + span::before {
    transform: translateX(26px);
}

.ap-cookie-toggle input:disabled + span {
    background: #072333;
    cursor: not-allowed;
}

.ap-cookie-modal__footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding: 22px 30px 30px;
}

.ap-cookie-modal__footer .ap-cookie-btn {
    border-color: #bfd4df;
    background: #ffffff;
    color: #06324a;
}

.ap-cookie-modal__footer .ap-cookie-btn:hover,
.ap-cookie-modal__footer .ap-cookie-btn:focus-visible {
    background: #eef8fb;
}

.ap-cookie-modal__footer .ap-cookie-btn--dark {
    border-color: #061824;
    background: #061824;
    color: #ffffff;
}

.ap-cookie-modal__footer .ap-cookie-btn--dark:hover,
.ap-cookie-modal__footer .ap-cookie-btn--dark:focus-visible {
    background: #0b293d;
}

.ap-cookie-modal__footer .ap-cookie-btn--primary {
    border-color: #00d5ff;
    background: #00d5ff;
    color: #003b59;
}

.airplus-cookie-settings {
    cursor: pointer;
}

.airplus-legal-section {
    background: #f6f9fb;
}

.airplus-legal-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 10px 0;
}

.airplus-legal-document {
    padding: 34px;
    border: 1px solid #dfeaf0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 48px rgba(0, 41, 66, .08);
}

.airplus-legal-document h2[id] {
    scroll-margin-top: 120px;
}

.airplus-legal-toc {
    display: block;
    height: auto !important;
    min-height: 0;
    margin: 30px 0 42px;
    padding: 24px;
    border: 1px solid #cfe5ee;
    border-radius: 8px;
    background: #f4fbfe;
}

.airplus-legal-toc h2 {
    margin: 0 0 16px;
    color: #062a3d;
    font-size: 22px;
    line-height: 1.3;
}

.airplus-legal-toc ol {
    counter-reset: privacy-toc;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.airplus-legal-toc--compact ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.airplus-legal-toc li {
    margin: 0;
}

.airplus-legal-toc a {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    align-items: flex-start;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 169, 206, .18);
    border-radius: 8px;
    background: #ffffff;
    color: #143245;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
}

.airplus-legal-toc a::before {
    counter-increment: privacy-toc;
    content: counter(privacy-toc);
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #00d5ff;
    color: #043348;
    font-size: 13px;
    font-weight: 800;
}

.airplus-legal-toc a:hover,
.airplus-legal-toc a:focus-visible {
    border-color: #00a9ce;
    box-shadow: 0 8px 24px rgba(0, 86, 130, .12);
    outline: none;
}

.airplus-legal-document h2 {
    margin: 34px 0 12px;
    color: #062a3d;
    font-size: 26px;
    line-height: 1.3;
    letter-spacing: 0;
}

.airplus-legal-document h2:first-child {
    margin-top: 0;
}

.airplus-legal-document h3 {
    margin: 24px 0 8px;
    color: #064d70;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 0;
}

.airplus-legal-document p,
.airplus-legal-document li {
    color: #354c5b;
    font-size: 15px;
    line-height: 1.8;
}

.airplus-legal-document p {
    margin: 0 0 12px;
}

.airplus-legal-document ul {
    margin: 0 0 18px;
    padding-left: 22px;
}

.airplus-legal-list {
    display: grid;
    gap: 8px;
    padding-left: 20px;
}

.airplus-legal-list li {
    margin: 0;
}

.airplus-legal-keyfacts {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 10px 18px;
    margin: 16px 0 22px;
    padding: 18px 20px;
    border: 1px solid #d6eaf2;
    border-radius: 8px;
    background: #f6fbfd;
}

.airplus-legal-keyfacts dt {
    color: #062a3d;
    font-weight: 800;
}

.airplus-legal-keyfacts dd {
    margin: 0;
    color: #354c5b;
}

.airplus-legal-table-wrap {
    margin: 18px 0 26px;
    overflow-x: auto;
    border: 1px solid #d6eaf2;
    border-radius: 8px;
    background: #ffffff;
}

.airplus-legal-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.airplus-legal-table th,
.airplus-legal-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e3eef3;
    color: #354c5b;
    font-size: 14px;
    line-height: 1.55;
    vertical-align: top;
}

.airplus-legal-table th {
    background: #f3fbfe;
    color: #062a3d;
    font-weight: 800;
    text-align: left;
}

.airplus-legal-table tr:last-child td {
    border-bottom: 0;
}

.airplus-legal-address {
    margin: 14px 0 16px;
    padding: 18px 20px;
    border-left: 4px solid #00d5ff;
    border-radius: 8px;
    background: #f4fbfe;
    color: #354c5b;
    font-style: normal;
    line-height: 1.8;
}

.airplus-legal-address strong {
    color: #062a3d;
}

.airplus-legal-contact-list {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.airplus-legal-contact-list li {
    margin: 0 0 8px;
}

.airplus-legal-updated {
    display: inline-block;
    margin: 0 0 18px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 169, 206, .12);
    color: #035b82;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 991px) {
    .ap-cookie-banner__inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ap-cookie-banner__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 575px) {
    .ap-cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .ap-cookie-banner__inner {
        padding: 18px;
    }

    .ap-cookie-banner h2 {
        font-size: 19px;
    }

    .ap-cookie-banner__actions,
    .ap-cookie-modal__footer {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .ap-cookie-btn {
        width: 100%;
    }

    .ap-cookie-modal {
        padding: 12px;
    }

    .ap-cookie-modal__header,
    .ap-cookie-modal__body,
    .ap-cookie-modal__footer,
    .airplus-legal-document {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ap-cookie-choice {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .airplus-legal-toc ol {
        grid-template-columns: 1fr;
    }

    .airplus-legal-keyfacts {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
