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

.icc-consent {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 100000;
    display: flex;
    align-items: center;
    max-width: 920px;
    margin: 0 auto;
    padding: 20px;
    color: #222;
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .2);
    font: 14px/1.5 Arial, sans-serif;
    gap: 24px;
}

.icc-consent__content {
    flex: 1 1 auto;
    min-width: 0;
}

.icc-consent__title {
    margin: 0 0 6px;
    color: #222;
    font: 600 18px/1.3 Arial, sans-serif;
    letter-spacing: 0;
}

.icc-consent__text,
.icc-consent__status {
    margin: 0;
}

.icc-consent__text a {
    color: #005ea8;
    text-decoration: underline !important;
}

.icc-consent__status {
    margin-top: 8px;
    color: #9b1c1c;
}

.icc-consent__actions {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.icc-consent__button {
    min-width: 128px;
    min-height: 44px;
    padding: 10px 18px;
    border: 2px solid #343434;
    border-radius: 4px;
    cursor: pointer;
    font: 600 14px/1.2 Arial, sans-serif;
    letter-spacing: 0;
}

.icc-consent__button--accept {
    color: #fff;
    background: #343434;
}

.icc-consent__button--reject {
    color: #343434;
    background: #fff;
}

.icc-consent__button:focus-visible,
.icc-consent__close:focus-visible,
.icc-consent-settings:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 2px;
}

.icc-consent__button:disabled {
    cursor: wait;
    opacity: .65;
}

.icc-consent__close {
    position: absolute;
    top: -30px;
    right: -10px;
    width: 28px;
    height: 28px;
    padding: 0;
    color: #222;
    background: #fff;
    border: 1px solid #aaa;
    border-radius: 50%;
    cursor: pointer;
    font: 22px/24px Arial, sans-serif;
}

.icc-consent-settings {
    padding: 0;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
}

.icc-consent-settings--fallback {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 99998;
    padding: 8px 10px;
    color: #222;
    background: #fff;
    border: 1px solid #bbb;
}

@media (max-width: 720px) {
    .icc-consent {
        right: 12px;
        bottom: 12px;
        left: 12px;
        display: block;
        padding: 16px;
    }

    .icc-consent__actions {
        margin-top: 14px;
    }

    .icc-consent__button {
        flex: 1 1 50%;
        min-width: 0;
    }
}
