#tra-cuu-don-hang {
    background: #F8F3EF;
}

#tra-cuu-don-hang .container {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    padding-bottom: 30px;
}

#tra-cuu-don-hang .box-search-order {
    width: 50%;
}

#tra-cuu-don-hang .box-search-order h2 {
    padding-bottom: 20px;
}

#tra-cuu-don-hang .box-search-order p {
    font-size: 16px;
}

#tra-cuu-don-hang .box-search-order .div-search {
    display: flex;
    margin-top: 30px;
}

#tra-cuu-don-hang .box-search-order .div-search .icon-search-phone {
    background: transparent;
    width: 11%;
    border: 1px solid #846958;
    border-right: none;
}

#tra-cuu-don-hang .box-search-order .div-search .icon-search-phone img {
    width: 25px;
    height: 25px;
}

#tra-cuu-don-hang .box-search-order .div-search #search_phone_order {
    height: 52px;
    width: 100%;
    background: transparent;
    border: 1px solid #846958;
    border-left: none;
    font-size: 16px;
}

#tra-cuu-don-hang .box-search-order .div-otp {
    display: flex;
    align-items: center;
    border: 1px solid #846958;
    border-radius: 5px;
    padding: 10px;
}

#tra-cuu-don-hang .box-search-order .div-otp #otp_code {
    height: 30px;
    width: 100%;
    background: transparent;
    border: 1px solid #846958;
    padding: 10px 10px;
    font-size: 16px;
}

#tra-cuu-don-hang .box-search-order .div-otp .send-otp {
    margin-left: 10px;
    cursor: pointer;
    color: #B48C72;
    font-size: 16px;
    white-space: nowrap;
    border: none;
    background-color: transparent;
}


#tra-cuu-don-hang .box-search-order .box-button-submit-order {
    display: flex;
    margin: 30px 0;
}

#tra-cuu-don-hang .box-search-order .box-button-submit-order .button-submit {
    background: #B48C72;
    color: #ffffff;
    border: none;
    height: 39px;
    font-size: 16px;
    font-weight: 400;
    line-height: 18.54px;
    padding: 10px 25px 10px 25px;
    cursor: pointer;
}

#tra-cuu-don-hang .image-right-search-order {
    width: 40%;
    display: flex;
    justify-content: center;
}

.image-right-search-order img {
    width: 192px;
    height: 224px;
}

/* Page lich su gio hang */
.history-order-page .woocommerce-order-custom {
    display: block;
    margin-top: 30px;
}

.error-message {
    margin-top: 5px;
    display: none;
    /* Ẩn mặc định */
    color: red;
    font-size: 16px;
}


#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Nền đen mờ */
    z-index: 9999;
    /* Đảm bảo overlay luôn nằm trên cùng */
    display: flex;
    align-items: center;
    justify-content: center;
}

#loading-icon img {
    width: 50px;
    height: 50px;
    animation: rotate 1.5s linear infinite;
    /* Thêm hiệu ứng xoay nếu muốn */
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.popup-not-order {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.popup-not-order .popup-content {
    background-color: white;
    margin: 15% auto;
    padding: 30px;
    /* border: 1px solid #888; */
    width: 80%;
    max-width: 412px;
    max-height: 368px;
    text-align: center;
    box-shadow: 4px 4px 10px 0px #00000026;
    border-radius: 5px;
}

.popup-not-order .popup-content .popup-content_header {
    border-bottom: 1px solid #D9D9D9
}

.popup-not-order .popup-content .popup-content_header img {
    max-width: 50px;
    max-height: 62px;
}

.popup-not-order .popup-content .popup-content_header h3 {
    font-size: 30px;
    font-weight: 300;
    line-height: 30px;
    text-align: center;
    text-decoration-skip-ink: none;
    color: #3F3A36;
    margin: 15px 0;
    line-height: 1.2;
}

.popup-not-order .popup-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 19.78px;
    text-align: center;
    text-decoration-skip-ink: none;
    line-height: 1.4;
    margin-top: 15px;
    color: #3F3A36;
}

.popup-not-order .popup-content button {
    background: #B48C72;
    color: #ffffff;
    border: none;
    height: 39px;
    font-size: 16px;
    font-weight: 400;
    line-height: 18.54px;
    padding: 10px 25px 10px 25px;
    cursor: pointer;
    margin-top: 20px;
    width: 205px;
}

.otp-status p {
    color: #B48C72;
    font-size: 16px;
}

@media screen and (min-width: 0px) and (max-width: 992px) {
    #tra-cuu-don-hang .box-search-order {
        width: 100%;
    }

    #tra-cuu-don-hang .image-right-search-order {
        display: none;
    }
}