.magic-cookie {
    display: block;
    width: 280px;
    padding: 14px 10px;
    background-color: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 200;
    color: #635f59;
    font-size: 12px;
}

.magic-cookie_left {
    left: 1.5rem;
    right: auto;
}

.magic-cookie__close {
    position: absolute;
    display: block;
    right: 10px;
    top: 10px;
    width: 12px;
    height: 10px;
    border-radius: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #017ABB;
}

.magic-cookie__close:before, .magic-cookie__close:after {
    content: '';
    display: block;
    width: 10px;
    height: 1px;
    background-color:  var(--magic-cookie-color);
    position: absolute;
    top: 50%;
    left: 50%;
}

.magic-cookie__close:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.magic-cookie__close:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.magic-cookie__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.magic-cookie__content a {
    color: var(--magic-cookie-color);
}

.magic-cookie button {
    border: none;
    outline: none;
    display: block;
    background-color: var(--magic-cookie-color);
    color: #ffffff;
    padding: 11px 12px 9px 12px;
    font-size: 12px;
    font-weight: bold;
    transition: all ease 0.3s;
    cursor: pointer;
}

.magic-cookie button:hover {
    color: #ffffff;
    background-color: var(--magic-cookie-color-hover);
}