#modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100vw;
    height: 100vh;
    background-color: rgba(80, 80, 80, 0.8);
}
.modal {
	display: none;
    max-width: 860px;
    width: 100%;
    height: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 99;
    padding: 18px;
    background-color: #E6E6E6;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.2) 4px 8px 10px;
}
.modal_header {
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.modal_header-img {
    height: 100%;
    width: 40%;
}
.modal_header-img img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}
.modal_header-detail {
    width: 60%;
    padding: 0 18px;
    text-align: justify;
}
.modal_header-detail h4 {
    width: 90%;
    font-size: 24px;
    color: #84246B;
}
.modal_header-detail h4 img {
    display: none;
}
.modal_header-detail h5 {
    font-size: 18px;
    color: #84246B;
    margin-bottom: 12px;
}
.modal_header-detail p {
    font-size: 16px;
    color: #333333;
}
.modal_header-detail .food-info {
    display: flex;
    flex-direction: row;
    max-height: 60px;
    margin-top: 30px;
}
.modal_header-detail .food-info_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 12px;
}
.modal_header-detail .food-info_box img {
    max-height: 30px;
    margin-bottom: 6px;
}
.modal_header-detail .food-info_box p {
    font-size: 14px;
    color: #84246B;
}

.modal_buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 16px;
}
.modal_buttons button {
    padding: 8px 16px;
    font-size: 16px;
    background-color: #84246B;
    color: #F2F2F2;
    border-radius: 4px;
    transition: 0.2s;
    cursor: pointer;
}
.modal_buttons button:hover {
    background-color: #a02c81;
}
.order-done-btn {
    position: relative;
    background-color: #999 !important;
    cursor: default !important;
}
.order-done-btn .tooltiptext {
    visibility: hidden;
    width: 160px;
    background-color: #333333;
    color: #E6E6E6;
    font-size: 14px;
    line-height: 26px;
    text-align: center;
    border-radius: 6px;
    position: absolute;
    top: -30px;
    left: -40px;
    z-index: 1;
}
.order-done-btn:hover .tooltiptext {
    visibility: visible;
}

/* MODAL CLOSE BUTTONS */
.modal .close {
    position: absolute;
    right: 16px;
    top: 12px;
    font-size: 18px;
    font-weight: bold;
    color: #84246B;
    cursor: pointer;
}
.modal .close-modal {
    font-size: 16px;
    color: #84246B;
    border: 1px solid #84246B;
    background-color: transparent;
    cursor: pointer;
}
.modal .close-modal:hover {
    color: #E6E6E6;
    background-color: #a02c81;
}

@media screen and (max-width: 960px) {
    .modal {
        max-width: 960px;
        width: 96%;
        height: 80%;
        top: 0;
        left: 50%;
        transform: translate(-50%, 30px);
        padding: 12px;
    }
    .modal_header {
        flex-direction: column;
        align-items: flex-start;
    }
    .modal_header-img {
        height: 200px;
        margin: 0 auto;
    }
    .modal_header-detail {
        width: 100%;
        padding: 0 12px;
    }
    .modal_header-detail h4, .modal_header-detail h5 {
        width: 100%;
        text-align: center;
    }

    .modal_buttons {
        position: absolute;
        bottom: 12px;
        right: 12px;
        gap: 12px;
    }
    .modal_buttons button {
        padding: 8px 18px;
        font-size: 14px;
    }
    .order-done-btn .tooltiptext {
        left: -65px;
    }

    /* MODAL CLOSE BUTTONS */
    .modal .close-modal {
        font-size: 14px;
    }
}