.cookies-action-wrapper {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    margin-top: 1rem;
    gap: 1rem;
    flex-shrink: 0;
}

.cookies_popup p {
    text-align: left;
}

.cookies-container {
    flex-direction: column;
}

.cookies-modal {
    position: relative;
    z-index: 999999999999;
    background-color: #fff;
    padding: 32px;
    width: 100%;
    height: 700px;
    max-width: 500px;
}

.cookies-modal-list-item {
    width: 100%;
    position: relative;
    column-gap: 20px;
}

.cookies-toggle-heading {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5em;
}

.cookies-modal-list-item-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookies-toggle-checkbox {
    display: none;
}

.cookies-toggle-label {
    flex-shrink: 0;
    width: 60px;
    height: 34px;
    background-color: #ccc;
    border-radius: 34px;
    display: block;
    cursor: pointer;
    position: relative;
    transition: background-color 0.4s;
}

.cookies-toggle-checkbox:disabled ~ .cookies-toggle-label {
    cursor: not-allowed;
}

.cookies-toggle-checkbox:checked ~ .cookies-toggle-label {
    background-color: #ca0b0f;
}

.cookies-toggle-label::before {
    border-radius: 50%;
    content: "";
    position: absolute;
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: transform 0.4s;
}

.cookies-toggle-checkbox:checked ~ .cookies-toggle-label::before {
    transform: translateX(26px);
}

.cookies-toggle-text {
    display: block;
}

.cookies-banner-close {
    transition: transform 500ms ease-in-out;
    transform: translateY(100%);
}

.cookies-configuration-modal {
    transition: opacity 500ms ease-in-out;
    display: none;
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    top: 0;
    left: 0;
    z-index: 9999999999;
}

.cookies-modal-animate-open {
    transition: opacity 500ms ease-in-out;
    opacity: 1;
}

.cookies-modal-animate-close {
    transition: opacity 500ms ease-in-out;
    opacity: 0;
}

@media (min-width: 1024px) {
    .cookies-action-wrapper {
        flex-direction: row;
        align-items: center;
    }

    .cookies-container {
        align-items: center;
        flex-direction: row;
    }
}

@media (min-width: 640px) {
    .cookies_popup .cookies-modal {
        width: 70%;
    }
}

.cookies_popup button {
    border-radius: 20px;
}
