.awc-cookie,
.awc-cookie * {
    box-sizing: border-box;
}

.awc-cookie__banner {
    position: fixed;

    left: 18px;
    right: 18px;
    bottom: 18px;

    z-index: 2147483000;

    width: calc(100% - 36px);
    max-width: 1040px;

    margin: 0 auto;
    padding: 18px 54px 18px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 22px;

    overflow: hidden;

    border:
        1px solid rgba(20,28,38,.08);

    border-radius: 16px;

    background:
        rgba(255,255,255,.97);

    box-shadow:
        0 18px 55px rgba(20,28,38,.20);

    color: #222832;

    font:
        14px/1.5
        Arial,
        sans-serif;

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);
}

.awc-cookie__banner::before {
    content: "";

    position: absolute;

    left: 0;
    top: 12px;
    bottom: 12px;

    width: 4px;

    border-radius:
        0 4px 4px 0;

    background:
        linear-gradient(
            180deg,
            #ff9e4d,
            #f58220
        );
}

.awc-cookie__content {
    min-width: 0;
    max-width: 650px;
}

.awc-cookie__title {
    display: block;

    margin-bottom: 5px;

    color: #222832;

    font-size: 16px;
    font-weight: 800;

    line-height: 1.3;
}

.awc-cookie__text {
    color: #66717d;

    font-size: 13px;
}

.awc-cookie__policy {
    display: inline-block;

    margin-left: 4px;

    color: #e27010;

    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;
}

.awc-cookie__policy:hover {
    text-decoration: underline;
}

.awc-cookie__actions {
    display: flex;

    flex: 0 0 auto;

    gap: 8px;
    flex-wrap: wrap;
}

.awc-cookie__button {
    appearance: none;
    -webkit-appearance: none;

    min-height: 38px;

    padding: 9px 14px;

    border:
        1px solid rgba(245,130,32,.55);

    border-radius: 9px;

    background: #fff;
    color: #dd6c0c;

    cursor: pointer;

    font-size: 12px;
    font-weight: 800;

    line-height: 1.2;

    transition:
        transform .16s ease,
        box-shadow .16s ease,
        background .16s ease;
}

.awc-cookie__button:hover {
    transform:
        translateY(-1px);

    box-shadow:
        0 5px 12px rgba(245,130,32,.13);
}

.awc-cookie__button--primary {
    border-color: #f58220;

    background:
        linear-gradient(
            135deg,
            #ff963b,
            #f58220
        );

    color: #fff;

    box-shadow:
        0 6px 15px rgba(245,130,32,.22);
}

.awc-cookie__button--link {
    border-color:
        transparent;

    color: #717c87;

    background:
        #f5f7f9;
}

.awc-cookie__close {
    position: absolute;

    right: 11px;
    top: 10px;

    width: 32px;
    height: 32px;

    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background:
        #f4f6f8;

    color: #838d97;

    cursor: pointer;

    font-size: 21px;
    font-weight: 400;

    line-height: 1;

    transition:
        background .16s ease,
        color .16s ease;
}

.awc-cookie__close:hover {
    background:
        #eceff2;

    color:
        #333a42;
}

.awc-cookie__settings {
    position: fixed;
    inset: 0;

    z-index: 2147483100;

    padding: 20px;

    overflow: auto;

    background:
        rgba(22,28,35,.58);

    backdrop-filter:
        blur(5px);

    -webkit-backdrop-filter:
        blur(5px);
}

.awc-cookie__settings-box {
    position: relative;

    width:
        min(580px,100%);

    margin:
        5vh auto;

    padding:
        27px;

    overflow: hidden;

    border:
        1px solid rgba(255,255,255,.75);

    border-radius:
        18px;

    background: #fff;

    box-shadow:
        0 24px 70px rgba(0,0,0,.28);

    color: #222832;

    font:
        14px/1.5
        Arial,
        sans-serif;
}

.awc-cookie__settings-box::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            #ff9b43,
            #f58220
        );
}

.awc-cookie__settings-title {
    display: block;

    padding-right: 40px;
    margin-bottom: 18px;

    color: #222832;

    font-size: 21px;
    font-weight: 800;
}

.awc-cookie__category {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 18px;

    margin: 0;
    padding: 15px 0;

    border-top:
        1px solid #edf0f3;

    cursor: pointer;
}

.awc-cookie__category span,
.awc-cookie__category b,
.awc-cookie__category small {
    display: block;
}

.awc-cookie__category b {
    margin-bottom: 3px;

    color: #2f3740;

    font-size: 13px;
}

.awc-cookie__category small {
    color: #88939e;

    font-size: 11px;
    line-height: 1.4;
}

.awc-cookie__category input {
    position: relative;

    flex: 0 0 auto;

    width: 42px;
    height: 23px;

    appearance: none;
    -webkit-appearance: none;

    border: 0;
    border-radius: 999px;

    background: #cfd6dd;

    cursor: pointer;

    transition:
        background .18s ease;
}

.awc-cookie__category input::before {
    content: "";

    position: absolute;

    left: 3px;
    top: 3px;

    width: 17px;
    height: 17px;

    border-radius: 50%;

    background: #fff;

    box-shadow:
        0 2px 5px rgba(0,0,0,.20);

    transition:
        transform .18s ease;
}

.awc-cookie__category input:checked {
    background: #f58220;
}

.awc-cookie__category input:checked::before {
    transform:
        translateX(19px);
}

.awc-cookie__category input:disabled {
    opacity: .48;
    cursor: default;
}

.awc-cookie__save {
    width: 100%;

    margin-top: 16px;
}

.awc-cookie-reopen {
    position: fixed;

    left: 14px;
    bottom: 14px;

    z-index: 2147482000;

    padding: 8px 11px;

    border:
        1px solid rgba(20,28,38,.10);

    border-radius: 8px;

    background:
        rgba(255,255,255,.95);

    color: #75808b;

    box-shadow:
        0 5px 16px rgba(20,28,38,.12);

    cursor: pointer;

    font-size: 10px;
    font-weight: 700;

    backdrop-filter:
        blur(8px);
}

.awc-cookie-reopen:hover {
    color: #dd6c0c;
}

@media (max-width:760px) {

    .awc-cookie__banner {
        left: 8px;
        right: 8px;
        bottom: 8px;

        width:
            calc(100% - 16px);

        display: block;

        padding:
            46px 16px 16px;

        border-radius: 17px;
    }

    .awc-cookie__banner::before {
        top: 0;
        left: 16px;
        right: 16px;

        width: auto;
        height: 3px;

        border-radius:
            0 0 3px 3px;
    }

    .awc-cookie__actions {
        display: grid;

        grid-template-columns:
            1fr 1fr;

        margin-top: 15px;
    }

    .awc-cookie__button {
        width: 100%;
    }

    .awc-cookie__button--primary {
        grid-column:
            1 / -1;
    }

    .awc-cookie__settings {
        padding: 10px;
    }

    .awc-cookie__settings-box {
        margin:
            4vh auto;

        padding:
            23px 18px;
    }
}
