.cz-cookie-consent,
.cz-cookie-consent * {
    box-sizing: border-box;
}

.cz-cookie-consent {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: auto;
    z-index: 999999;
    width: min(355px, calc(100vw - 28px));
    padding: 20px 18px 17px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: var(--cz-cookie-primary, #00353f);
    box-shadow: 0 18px 46px rgba(0, 29, 35, 0.28);
    color: #fff;
    font-family: inherit;
    animation: czCookieIn 180ms ease-out;
}

.cz-cookie-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 9px;
}

.cz-cookie-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
}

.cz-cookie-icon {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    overflow: hidden;
    border-radius: 50%;
    background: #fff;
    color: transparent;
}

.cz-cookie-icon::before,
.cz-cookie-icon::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: var(--cz-cookie-primary, #00353f);
}

.cz-cookie-icon::before {
    top: 3px;
    right: -2px;
    width: 9px;
    height: 9px;
}

.cz-cookie-icon::after {
    left: 6px;
    bottom: 5px;
    width: 3px;
    height: 3px;
    box-shadow:
        6px 1px 0 var(--cz-cookie-primary, #00353f),
        2px -6px 0 var(--cz-cookie-primary, #00353f);
}

.cz-cookie-consent p {
    margin: 0;
    color: #fff;
    font-size: 13.5px;
    line-height: 1.52;
}

.cz-cookie-consent a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cz-cookie-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 15px;
}

.cz-cookie-actions button {
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    font: inherit;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color 150ms ease,
        color 150ms ease,
        border-color 150ms ease,
        transform 150ms ease;
}

.cz-cookie-actions button:hover {
    transform: translateY(-1px);
}

.cz-cookie-accept {
    flex: 1 1 auto;
    border: 1.5px solid #fff;
    background: #fff;
    color: var(--cz-cookie-primary, #00353f);
}

.cz-cookie-accept:hover {
    background: transparent;
    color: #fff;
}

.cz-cookie-reject {
    flex: 0 0 auto;
    border: 1.5px solid rgba(255, 255, 255, 0.62);
    background: transparent;
    color: #fff;
}

.cz-cookie-reject:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.cz-cookie-actions button:focus-visible,
.cz-cookie-consent a:focus-visible,
.cz-cookie-settings-link:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

.cz-cookie-settings-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

@keyframes czCookieIn {
    from {
        opacity: 0;
        transform: translateY(9px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 520px) {
    .cz-cookie-consent {
        right: 10px;
        bottom: 10px;
        width: calc(100vw - 20px);
        padding: 18px 16px 15px;
        border-radius: 13px;
    }

    .cz-cookie-heading h2 {
        font-size: 19px;
    }

    .cz-cookie-consent p {
        font-size: 13px;
    }

    .cz-cookie-actions {
        gap: 8px;
    }

    .cz-cookie-actions button {
        min-height: 37px;
        padding: 8px 11px;
        font-size: 11px;
    }
}

@media (max-width: 385px) {
    .cz-cookie-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cz-cookie-actions button {
        width: 100%;
    }
}

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

    .cz-cookie-actions button {
        transition: none;
    }
}
