/*---------------------------
** Cookie alert css
---------------------------*/

.cookie-consent {
    position: fixed;
    background-color: #262938;
    bottom: 0px;
    width: 100%;
    padding: 15px 0px;
    z-index: 10000000000;
    color: #fff;
}

.cookie-consent.is-hidden,
.cookie-consent-manage.is-hidden {
    display: none !important;
}

.cookie-consent .container,
.cookie-consent .cookie-container {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

button.cookie-agree,
button.cookie-refuse {
    white-space: nowrap;
}

button.cookie-refuse {
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: transparent;
    color: #fff;
}

button.cookie-refuse:hover,
button.cookie-refuse:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.cookie-consent-manage {
    position: fixed;
    bottom: 16px;
    inset-inline-start: 16px;
    z-index: 10000000001;
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    background: #262938;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.cookie-consent-manage:hover,
.cookie-consent-manage:focus {
    background: #1b1f2c;
    color: #fff;
}

html[dir="rtl"] .cookie-consent .cookie-container {
    flex-direction: row;
}

html[dir="rtl"] .cookie-message {
    text-align: start;
}

@media only screen and (max-width: 991px) {
    .cookie-container {
        display: block;
        text-align: center;
    }

    .cookie-actions {
        justify-content: center;
        margin-top: 12px;
        width: 100%;
    }

    button.cookie-agree,
    button.cookie-refuse {
        margin-top: 0;
    }

    span.cookie-message {
        line-height: 20px;
        display: block;
    }
}
