#cookiePopupMask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 9998;
    display: none;
}

#cookiePopupBox {
    position: fixed;
    left: 0;
    right: 0;
    width: 95%;
    max-width: 1300px;
    box-sizing: border-box;
    margin: 0 auto;
    bottom: 0;
    background: #fff;
    border: 1px solid #cfcfcf;
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
    border-radius: 0;
    padding: 24px 56px 24px 28px;
    z-index: 9999;
    display: none;
    color: #3e3e3e;
    font-size: 17px;
    line-height: 1.45;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

#cookiePopupBox.cookie-popup-enter {
    animation: cookiePopupSlideUp 0.7s ease-out;
}

@keyframes cookiePopupSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#cookiePopupBox .cookie-popup-close {
    position: absolute;
    top: 14px;
    right: 18px;
    border: 0;
    background: transparent;
    color: #555;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

#cookiePopupBox .cookie-popup-message {
    margin-bottom: 12px;
}

#cookiePopupBox .cookie-popup-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

#cookiePopupBox .cookie-popup-action {
    border: 0;
    background: #002e7e;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.15;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
    text-align: left;
    padding: 10px 24px;
    border-radius: 4px;
}

@media (max-width: 991px) {
    #cookiePopupBox {
        width: 97%;
        padding: 16px 46px 20px 16px;
        font-size: 15px;
    }

    #cookiePopupBox .cookie-popup-action {
        
    }
}

@media (max-width: 640px) {
    #cookiePopupBox {
        width: 98.5%;
        padding: 14px 40px 16px 14px;
        font-size: 14px;
    }

    #cookiePopupBox .cookie-popup-action {
        
    }
}