.cookie-popup[hidden] {
    display: none !important;
}

.cookie-popup {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;

    display: flex;
    justify-content: center;

    padding: 24px;

    pointer-events: none;
}

.cookie-popup__overlay {
    display: none;
}

.cookie-popup__content {
    position: relative;
    width: 100%;
    max-width: 800px;
    padding: 28px 30px 30px;
    border-radius: 8px;
    background: #ffffff;

    box-shadow:
            0 0 0 1px rgba(19, 39, 87, 0.08),
            0 20px 60px rgba(10, 24, 64, 0.28),
            0 0 30px rgba(16, 37, 92, 0.25);

    pointer-events: auto;
}

.cookie-popup__text,
.cookie-popup__more {
    font-size: 17px;
    line-height: 1.2;
    color: #666666;
}

.cookie-popup__text {
    margin-bottom: 8px;
}

.cookie-popup__more {
    margin-bottom: 18px;
}

.cookie-popup__more a {
    color: #666666;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.cookie-popup__more a:hover {
    border-bottom-color: transparent;
}

.cookie-popup__button {
    width: 100%;
    min-height: 44px;
    padding: 10px 24px;
    border: 0;
    border-radius: 3px;
    background: #132456;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.cookie-popup__button:hover {
    background: #0d1b43;
}

.cookie-popup__button:active {
    opacity: 0.85;
}

@media (max-width: 767px) {
    .cookie-popup {
        padding: 16px;
    }

    .cookie-popup__content {
        padding: 22px 18px 18px;
    }

    .cookie-popup__text,
    .cookie-popup__more {
        font-size: 15px;
    }
}
