@media (min-height: 500px) {
    .checkout-error-modal .modal-dialog {
        display: flex;
        align-items: flex-start;
        margin-top: 33vh;
    }
}

.large-font {
    font-size: 14px;
}

.checkout-modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 150px;
    text-align: left;
    padding: 30px 15px;
}

.modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 150px;
}

.custom-bg {
    background-color: #f2f2f2;
}

.pkg-imgbx {
    position: relative;
}

.pkgimg {
    display: block;
}

.free-gift-img {
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 100px;
    height: auto;
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.25);
    }
    100% {
        transform: scale(1);
    }
}

.with-shadow {
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.5));
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.close-wrapper {
    width: 100%;
    text-align: right;
}

.close-wrapper img {
    width: 40px;
    height: 40px;
    margin-right: -40px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-wrapper.cvv-close img {
    width: 40px;
    height: 40px;
    margin-right: 20px;
    transition: transform 0.3s ease;
}

.close-wrapper img:hover {
    transform: rotate(90deg);
}

.close-wrapper.close-chat-popup-wrapper {
    margin-bottom: -40px;
}

.popup_image-shadow {
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 1.5));
}
