.cookie-notification-wrapper {
    --base-color: #f5e846;
}

.cookie-notification-wrapper {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 160;
    opacity: 0;
    visibility: hidden;
}

.cookie-notification-wrapper.blocked {
    top: 0;
    background-color: rgba(0, 0, 0, 0.75);
}

.cookie-notification-wrapper.blocked .cookie-notification {
    position: absolute;
    bottom: 0;
}

.cookie-notification-wrapper.visible {
    opacity: 1;
    visibility: visible;
}

.cookie-notification-transition {
    transition: all 0.3s ease;
}

.cookie-notification-transition-start {
    transform: scale(0.8);
}

.cookie-notification__form-control {
    padding: 16px 20px;
    border: 1px solid #e4e4e4;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-notification__checkbox {
    display: flex;
}

.cookie-notification__checkbox-label {
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
    border-radius: 1px;
    background-color: #fff;
}

.cookie-notification__checkbox-label:before {
    position: relative;
    left: 0;
    top: 0;
    display: block;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    content: "";
    user-select: none;
    transition: box-shadow 0.2s, border 0.2s;
    border: 1px solid #e4e4e4;
    border-radius: 1px;
    background-color: #fbfbfb;
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-size: contain;
    background-color: #fff;
    flex: 0 0 auto;
}

.cookie-notification__checkbox input:checked + .cookie-notification__checkbox-label:before {
    background-color: var(--base-color);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' stroke='%23ffffff'%3E%3Cg id='SVGRepo_bgCarrier' stroke-width='0'%3E%3C/g%3E%3Cg id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'%3E%3C/g%3E%3Cg id='SVGRepo_iconCarrier'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:none;stroke:%23ffffff;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3E%3C/title%3E%3Cg id='checkmark'%3E%3Cline class='cls-1' x1='3' x2='12' y1='16' y2='25'%3E%3C/line%3E%3Cline class='cls-1' x1='12' x2='29' y1='25' y2='7'%3E%3C/line%3E%3C/g%3E%3C/g%3E%3C/svg%3E");    background-size: auto;
    background-position: center;
    border-color: var(--base-color);
}

.cookie-notification__checkbox input:checked:disabled + .cookie-notification__checkbox-label:before {
    background-color: rgba(224, 224, 224, 0.7);
    background-size: auto;
    background-position: center;
    border-color: rgba(224, 224, 224, 0.7);
}

.cookie-notification__checkbox input {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
    width: 2px;
    height: 2px;
}

.cookie-notification__settings {
    margin-left: auto;
    border-bottom: 1px solid #000;
}

.cookie-notification__settings.hidden {
    display: none;
}

.cookie-notification__settings:hover {
    border-color: transparent;
    cursor: pointer;
}

.cookie-notification__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-notification__footer {
    display: flex;
    gap: 18px;
    align-items: center;
}

.cookie-notification__footer .btn--wide {
    width: auto;
}

.cookie-notification__left {
    margin-left: auto;
}

.cookie-notification__flex {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.cookie-notification__mini {
    color: #969696;
}

.cookie-notification__header.hidden {
    display: none;
}

.cookie-notification__body {
    display: none;
    max-height: 85vh;
    overflow: auto;
}

.cookie-notification__body.visible {
    display: block;
}

@media print {
    .cookie-notification {
        display: none;
    }
}

@media (max-width: 1099px) {
    .cookie-notification {
        padding: 20px 18px;
    }

    .cookie-notification__checkbox {
        padding: 14px;
    }
}

@media (max-width: 575px) {
    .cookie-notification__flex {
        gap: 10px;
        margin-top: 16px;
    }

    .cookie-notification__inner {
        gap: 14px;
    }

    .cookie-notification__footer {
        gap: 15px;
    }

    .cookie-notification .btn {
        font-size: 12px;
    }

    .cookie-notification .btn:not(.btn--border) {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cookie-notification__checkboxinput:checked ~ label:before {
        background-image: url("data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.08325 3.125L2.64698 5.47059C3.02559 6.03851 3.84933 6.06861 4.26838 5.52983L7.49992 1.375' stroke='%23FAFAFB' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E%0A");
    }
}

@media (hover: hover) {
    .cookie-notification__control:hover {
        cursor: pointer;
        opacity: 0.7;
    }
}


.cookie-notification-wrapper {
    pointer-events: none;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 160;
}

@media (max-width: 1199px) {
    .cookie-notification-wrapper {
        bottom: 0
    }
}

.cookie-notification-transition {
    transition: all .3s ease;
}

.cookie-notification-transition-start {
    transform: scale(0.8);
}

.cookie-notification {
    pointer-events: all;
    padding: 3.2rem;
    background-color: white;
    box-shadow: 0px 0px 28px 0px rgba(0, 0, 0, 0.2);
    max-width: 57.5rem;
    position: relative;
}

@media (min-width: 2000px) {
    .cookie-notification {
        position: fixed;
        left: 0;
        bottom: 0;
    }
}

.cookie-notification .cookie-close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    background-color: #000;
}

.cookie-notification .cookie-close .icon {
    transition: transform ease 0.3s;
    fill: #fff;
    min-height: 28px;
    min-width: 28px;
}

@media (min-width: 768px) {
    .cookie-notification .cookie-close {
        cursor: pointer;
    }

    .cookie-notification .cookie-close:hover {
        background-color: #f5e846;
    }

    .cookie-notification .cookie-close:hover .icon {
        transform: rotate(180deg);
        fill: #000;
    }
}

@media (max-width: 1199px) {
    .cookie-notification {
        padding: 32px;
        max-width: 360px;
    }
}

@media (max-width: 575px) {
    .cookie-notification {
        padding: 40px 16px 24px 16px;
    }
}

.cookie-notification__inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (max-width: 1199px) {
    .cookie-notification__inner {
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .cookie-notification__inner {
        gap: 12px;
    }
}

.cookie-notification__title a {
    text-decoration: underline;
}

.cookie-notification__title a:hover {
    color: rgba(0, 0, 0, 0.5);
}

.cookie-notification__footer {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
}

.cookie-notification__footer .btn {
    height: 4rem;
    font-weight: 400;
}

@media (max-width: 1199px) {
    .cookie-notification__footer .btn {
        height: 40px;
    }
}

@media (max-width: 1199px) {
    .cookie-notification__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
}

.cookie-notification__left {
    margin-left: auto;
}

@media (max-width: 1199px) {
    .cookie-notification__flex {
        max-height: 400px;
        overflow: auto;
    }

    .cookie-notification__flex::-webkit-scrollbar {
        width: 13px;
        height: 13px;
    }

    .cookie-notification__flex::-webkit-scrollbar-thumb {
        background-image: -webkit-linear-gradient(right, transparent, transparent 8px, #000000 8px, #000000 10px, transparent 10px);
        background-image: linear-gradient(to right, transparent, transparent 8px, #000000 8px, #000000 10px, transparent 10px);
    }

    .cookie-notification__flex::-webkit-scrollbar-thumb:hover {
        background-image: -webkit-linear-gradient(right, transparent, transparent 4px, #000 10px, #000 10px, transparent 10px);
        background-image: linear-gradient(to right, transparent, transparent 6px, #000 8px, #000 10px, transparent 10px);
    }

    .cookie-notification__flex::-webkit-scrollbar-thumb:horizontal {
        background-image: -webkit-linear-gradient(bottom, transparent, transparent 8px, #000000 8px, #000000 10px, transparent 10px);
        background-image: linear-gradient(to bottom, transparent, transparent 8px, #000000 8px, #000000 10px, transparent 10px);
    }

    .cookie-notification__flex::-webkit-scrollbar-thumb:horizontal:hover {
        background-image: -webkit-linear-gradient(bottom, transparent, transparent 4px, #000 10px, #000 10px, transparent 10px);
        background-image: linear-gradient(to bottom, transparent, transparent 6px, #000 8px, #000 10px, transparent 10px);
    }
}

.cookie-notification__checkbox {
    padding: 16px 20px;
    border: 1px solid #E4E4E4;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 767px) {
    .cookie-notification__checkbox {
        padding: 14px;
    }
}

.cookie-notification__flex {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

@media (max-width: 575px) {
    .cookie-notification__flex {
        gap: 10px;
        margin-top: 16px;
    }
}

.cookie-notification__mini {
    color: #969696;
}
