body:has(.consent-customize) {
    overflow: hidden;
}

.consent-overlay {
    font-size: 14px;
    line-height: 1.4;
    position: fixed;
    width: 100%;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 9999 !important;
}

.consent-overlay:has(.consent-customize) {
    background: rgba(0, 0, 0, 0.4);
    top: 0;
    height: 100%;
}

.consent-container,
.consent-customize {
    position: fixed;
    z-index: 9999 !important;
    right: 0;
    left: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    overflow-y: auto;
}

.consent-customize {
    width: 50%;
    top: 10%;
    background: #fff;
    border-radius: 5px;
}

.consent-customize .modal-title {
    width: 100%;
    margin: 0;
    padding: 0 15px;
}

.consent-customize .consent-customize-close {
    position: absolute;
    right: 15px;
    top: 15px;
    transition: all .3s ease;
    cursor: pointer;
}

.consent-container {
    bottom: 0;
    color: #fff;
    background: #222222;
    border-top: 1px solid #222222;
}

.consent-container .container {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .consent-container .container {
        flex-direction: column;
    }

    .consent-container .consent-controls {
        margin-top: 10px;
    }

    .consent-customize {
        top: 5%;
        max-height: 90%;
        width: 80%;
    }
}

@media screen and (min-width: 769px) and (max-width: 991px) {
    .consent-container,
    .consent-customize {
        width: 60%;
    }
}

.consent-content {
    display: flex;
    flex-direction: column;
}

.consent-overlay .consent-controls {
    display: flex;
}

.consent-overlay .consent-controls button {
    margin: 0 5px;
}

/*Manage consents*/
.consent-overlay .consent-sections {
    width: 100%;
}

.consent-overlay .consent-section {
    background: #F3F3F4;
    margin: 20px 0;
    padding: 0 15px;
}

.consent-overlay .consent-section .consent-section-head {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.consent-overlay .consent-section .consent-section-head .consent-switcher {
    color: #2E6DA4;
}

.consent-overlay .consent-section .consent-section-head h5 {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.6;
    cursor: pointer;
}

.consent-overlay .consent-section .consent-section-content {
    padding-bottom: 10px;
}

/*Widget*/
.consent-widget {
    position: fixed;
    bottom: 5px;
    cursor: pointer;
    z-index: 9999;
    left: 10px;
    border: 2px solid #555555;
    border-radius: 50%;
    background: #FFFFFF;
    padding: 10px;
}
