.zn-core-consent[hidden],
.zn-core-consent-settings[hidden] {
    display: none !important;
}

.zn-core-consent {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 99999;
    max-width: 880px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(15, 45, 88, .18);
    box-shadow: 0 14px 40px rgba(15, 45, 88, .16);
}

.zn-core-consent__inner {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
}

.zn-core-consent__copy {
    min-width: 0;
}

.zn-core-consent__title {
    margin: 0 0 5px;
    font-weight: 700;
    color: #0f2d58;
}

.zn-core-consent p {
    margin: 0;
    line-height: 1.5;
}

.zn-core-consent__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    align-items: center;
}

.zn-core-consent__button,
.zn-core-consent-settings {
    appearance: none;
    border: 1px solid #1d4f91;
    background: #fff;
    color: #15365f;
    font: inherit;
    cursor: pointer;
}

.zn-core-consent__button {
    padding: 10px 14px;
}

.zn-core-consent__button--primary {
    background: #1d4f91;
    color: #fff;
}

.zn-core-consent__button:hover,
.zn-core-consent__button:focus-visible,
.zn-core-consent-settings:hover,
.zn-core-consent-settings:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.zn-core-consent-settings {
    position: fixed;
    left: 14px;
    bottom: 14px;
    z-index: 99998;
    padding: 6px 9px;
    font-size: 13px;
    background: rgba(255, 255, 255, .96);
}

@media (max-width: 720px) {
    .zn-core-consent {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }

    .zn-core-consent__inner {
        display: block;
        padding: 16px;
    }

    .zn-core-consent__actions {
        margin-top: 14px;
        flex-wrap: wrap;
    }

    .zn-core-consent__button {
        flex: 1 1 180px;
    }
}
