/* Lớp nền mờ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    align-items: flex-start; /* Đẩy modal lên trên thay vì căn giữa */
    padding-top: 50px; /* Tạo khoảng cách từ trên xuống */
}

/* Hiển thị modal khi có class 'active' */
.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* Nội dung popup */
.modal-content {
    background: white;
    border-radius: 10px;
    width: 320px;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

/* Tiêu đề */
.modal-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

/* Nội dung */
.modal-message {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}

/* Đường kẻ ngang */
.modal-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 10px 0;
}

/* Nút xác nhận */
.modal-close {
    background: #7B7B7B;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.modal-button {
    background: #1b2d5a;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.modal-button:hover {
    background: #142248;
}

/* product detail  */
.change-month:disabled{
    color: var(--bl_gray);
}
.weekday-labels div{
    color: var(--bl_gray);
}
.text-blue{
    color: #5390DC !important;
}
.text-white{
    color: var(--white) !important;
}
.text-red{
    color: var(--red) !important;
}
.day.active {
    background: var(--green);
    color: var(--main_color) !important;
    border-radius: 99px;
    margin: 0 auto;
    width: fit-content;
}
.ticket-item .ticketBtn:disabled{
    color: var(--line_g);
    /* user-select: none;
    pointer-events: none; */
}

/* toss payment */
.payWay{
    margin-bottom: 0;
}

/* search order */
.tableArea input[type="checkbox"]:disabled{
    background-color: #41454c;
    border-color: #41454c;
}

/* ticket qr */
.btn-ticket-qr {
    min-width: 52px;
    padding: 0.4rem 0.8rem;
    border: 1px solid #1b2d5a;
    border-radius: 4px;
    background: #fff;
    color: #1b2d5a;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.2;
}
.btn-ticket-qr:hover:not(:disabled) {
    background: #1b2d5a;
    color: #fff;
}
.btn-ticket-qr:disabled,
.btn-ticket-qr[disabled] {
    background-color: #f0f2f5 !important;
    border-color: #d5dae0 !important;
    color: #a8b0ba !important;
    opacity: 0.55;
    font-weight: 500;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(1);
    box-shadow: none;
}
.mb-ticket-qr-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mb-ticket-qr-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}