.sn-cookie-consent[hidden] {
    display: none !important;
}

.sn-cookie-embed[hidden] {
    display: none !important;
}

.sn-cookie-embed-placeholder {
    width: 100%;
    min-height: 260px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 28px;
    text-align: center;
    color: #071a3a;
    background: linear-gradient(145deg, #f7fcfd, #edf9fb);
    border: 1px solid rgba(16, 185, 199, .22);
    border-radius: inherit;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.sn-cookie-embed-placeholder svg {
    width: 34px;
    height: 34px;
    color: #0795a5;
}

.sn-cookie-embed-placeholder strong {
    font-size: 17px;
    line-height: 1.25;
}

.sn-cookie-embed-placeholder span {
    max-width: 420px;
    color: #63768c;
    font-size: 13px;
    line-height: 1.45;
}

.sn-cookie-embed-placeholder button {
    min-height: 42px;
    margin-top: 3px;
    padding: 0 17px;
    color: #fff;
    background: linear-gradient(135deg, #16c5d1, #0795a5);
    border: 0;
    border-radius: 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 760;
    cursor: pointer;
}

.sn-cookie-consent {
    --sn-cookie-navy: #071a3a;
    --sn-cookie-turquoise: #10b9c7;
    --sn-cookie-turquoise-dark: #078c9c;
    position: fixed;
    z-index: 2147483000;
    left: 50%;
    bottom: 22px;
    width: min(1160px, calc(100% - 40px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 22px 24px;
    overflow: hidden;
    color: var(--sn-cookie-navy);
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(16, 185, 199, .23);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(7, 26, 58, .18), 0 8px 24px rgba(7, 26, 58, .08);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
    backdrop-filter: blur(20px) saturate(145%);
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    animation: snCookieEnter .36s cubic-bezier(.22, 1, .36, 1) both;
}

.sn-cookie-consent *,
.sn-cookie-consent *::before,
.sn-cookie-consent *::after {
    box-sizing: border-box;
}

.sn-cookie-consent__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 2% 10%, rgba(16, 185, 199, .14), transparent 31%),
        radial-gradient(circle at 98% 100%, rgba(23, 120, 255, .08), transparent 32%);
}

.sn-cookie-consent__content,
.sn-cookie-consent__actions {
    position: relative;
    z-index: 1;
}

.sn-cookie-consent__content {
    display: flex;
    align-items: center;
    gap: 17px;
    min-width: 0;
    max-width: 715px;
}

.sn-cookie-consent__icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 17px;
    background: linear-gradient(145deg, #17cad5, #078c9c);
    box-shadow: 0 12px 26px rgba(16, 185, 199, .25);
}

.sn-cookie-consent__icon svg {
    width: 27px;
    height: 27px;
}

.sn-cookie-consent__eyebrow {
    display: block;
    margin: 0 0 3px;
    color: var(--sn-cookie-turquoise-dark);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .12em;
}

.sn-cookie-consent h2 {
    margin: 0 0 5px;
    color: var(--sn-cookie-navy);
    font-size: clamp(19px, 1.6vw, 24px);
    font-weight: 780;
    line-height: 1.18;
    letter-spacing: -.025em;
}

.sn-cookie-consent p {
    margin: 0;
    color: #5f7189;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
}

.sn-cookie-consent p a {
    display: inline-block;
    margin-left: 5px;
    color: var(--sn-cookie-turquoise-dark);
    font-weight: 750;
    text-decoration: underline;
    text-decoration-color: rgba(7, 140, 156, .35);
    text-underline-offset: 3px;
}

.sn-cookie-consent__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
}

.sn-cookie-consent__button {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    font: inherit;
    font-size: 14px;
    font-weight: 760;
    line-height: 1;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.sn-cookie-consent__button:hover {
    transform: translateY(-1px);
}

.sn-cookie-consent__button:focus-visible,
[data-sn-cookie-settings]:focus-visible {
    outline: 3px solid rgba(16, 185, 199, .28);
    outline-offset: 3px;
}

.sn-cookie-consent__button--necessary {
    color: var(--sn-cookie-navy);
    background: #fff;
    border: 1px solid #d9e5ed;
}

.sn-cookie-consent__button--necessary:hover {
    border-color: rgba(16, 185, 199, .55);
    background: #f7fcfd;
}

.sn-cookie-consent__button--accept {
    min-width: 166px;
    color: #fff;
    background: linear-gradient(135deg, #16c5d1, #0795a5);
    border: 1px solid transparent;
    box-shadow: 0 12px 24px rgba(16, 185, 199, .23);
}

.sn-cookie-consent__button--accept:hover {
    box-shadow: 0 15px 28px rgba(16, 185, 199, .29);
}

[data-sn-cookie-settings] {
    cursor: pointer;
    font-family: inherit;
}

@keyframes snCookieEnter {
    from { opacity: 0; transform: translate(-50%, 18px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 900px) {
    .sn-cookie-consent {
        align-items: stretch;
        gap: 18px;
        padding: 20px;
    }

    .sn-cookie-consent__content {
        align-items: flex-start;
    }

    .sn-cookie-consent__actions {
        flex-direction: column-reverse;
        width: 190px;
    }

    .sn-cookie-consent__button {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .sn-cookie-consent {
        left: 10px;
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        width: auto;
        transform: none;
        flex-direction: column;
        gap: 16px;
        padding: 18px;
        border-radius: 22px;
        animation-name: snCookieEnterMobile;
    }

    .sn-cookie-consent__content {
        gap: 13px;
    }

    .sn-cookie-consent__icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 15px;
    }

    .sn-cookie-consent__icon svg {
        width: 23px;
        height: 23px;
    }

    .sn-cookie-consent__eyebrow {
        font-size: 10px;
    }

    .sn-cookie-consent h2 {
        font-size: 19px;
    }

    .sn-cookie-consent p {
        font-size: 13px;
        line-height: 1.5;
    }

    .sn-cookie-consent__actions {
        width: 100%;
        flex-direction: column-reverse;
        gap: 9px;
    }

    .sn-cookie-consent__button {
        min-height: 48px;
        width: 100%;
    }
}

@keyframes snCookieEnterMobile {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .sn-cookie-consent {
        animation: none;
    }

    .sn-cookie-consent__button {
        transition: none;
    }
}
