.mg-cookie-consent[hidden]{
    display:none;
}

.mg-cookie-consent{
    position:fixed;
    z-index:99998;
    width:min(400px,calc(100vw - 32px));
    opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:opacity .22s ease, transform .22s ease, visibility .22s ease;
    font-family:inherit;
}

.mg-cookie-consent.is-visible{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.mg-cookie-consent--bottom-left{
    left:20px;
    bottom:20px;
}

.mg-cookie-consent--bottom-right{
    right:20px;
    bottom:20px;
}

.mg-cookie-consent--bottom-center{
    left:50%;
    bottom:20px;
    transform:translate(-50%,10px);
}

.mg-cookie-consent--bottom-center.is-visible{
    transform:translate(-50%,0);
}

.mg-cookie-consent__inner{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:18px;
    align-items:end;
    padding:20px 20px 18px;
    border-radius:6px;
    box-shadow:0 18px 50px rgba(15,23,42,.18);
}

.mg-cookie-consent--dark .mg-cookie-consent__inner{
    color:#d7dde7;
    background:#242a33;
    border:1px solid rgba(255,255,255,.04);
}

.mg-cookie-consent--light .mg-cookie-consent__inner{
    color:#344054;
    background:#fff;
    border:1px solid rgba(16,24,40,.06);
}

.mg-cookie-consent p{
    margin:0;
    font-size:13px;
    line-height:1.45;
    font-weight:500;
}

.mg-cookie-consent a{
    color:#d89a00;
    text-decoration:none;
    font-weight:800;
    white-space:nowrap;
}

.mg-cookie-consent--light a{
    color:#3b82f6;
}

.mg-cookie-consent__muted{
    color:inherit;
    opacity:.75;
    font-weight:700;
}

.mg-cookie-consent__accept{
    min-width:88px;
    padding:0;
    border:0;
    background:transparent;
    color:#f6b21a;
    cursor:pointer;
    font:inherit;
    font-size:13px;
    font-weight:800;
    line-height:1.2;
    text-align:right;
    white-space:nowrap;
}

.mg-cookie-consent--light .mg-cookie-consent__accept{
    color:#3b82f6;
}

.mg-cookie-consent__accept:hover,
.mg-cookie-consent__accept:focus{
    text-decoration:underline;
    outline:none;
}

@media (max-width: 640px){
    .mg-cookie-consent{
        right:12px;
        bottom:12px;
        left:12px;
        width:auto;
    }

    .mg-cookie-consent--bottom-center{
        left:12px;
        transform:translateY(10px);
    }

    .mg-cookie-consent--bottom-center.is-visible{
        transform:translateY(0);
    }

    .mg-cookie-consent__inner{
        grid-template-columns:1fr;
        gap:14px;
    }

    .mg-cookie-consent__accept{
        text-align:left;
    }
}
