/* Tra cứu booking (/search_booking) - user_2019/search_booking.php
   Tách khỏi <style> inline trong PHP 2026-07-28 theo CLAUDE.md. Toàn bộ class dùng
   tiền tố .tsb- và chỉ xuất hiện ở trang này nên không đụng cascade của trang khác. */

.tsb-page { background: #f7f8fa; min-height: 70vh; padding: 24px 0 50px; }
.tsb-wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.tsb-bc { font-size: 13px; color: #666; margin-bottom: 14px; }
.tsb-bc a { color: #666; text-decoration: none; }
.tsb-bc a:hover { color: #ed007f; }
.tsb-bc .cur { color: #ed007f; font-weight: 600; }
.tsb-title { font-size: 28px; font-weight: 700; color: #ed007f; margin: 0 0 6px; }
.tsb-sub { color: #666; font-size: 14px; margin-bottom: 24px; }
.tsb-card { background: #fff; border: 1px solid #ececec; border-radius: 10px; padding: 22px 24px; box-shadow: 0 2px 8px rgba(0,0,0,.04); margin-bottom: 18px; }
.tsb-tabs { display: flex; gap: 4px; margin: 0 0 20px; border-bottom: 2px solid #fdf0f6; }
.tsb-tab { background: none; border: none; padding: 12px 22px; font-size: 14px; font-weight: 600; color: #666; cursor: pointer; position: relative; transition: color .15s; font-family: inherit; border-radius: 10px 10px 0 0; text-decoration: none; display: inline-block; }
.tsb-tab:hover { color: #ed007f; background: #fdf0f6; }
.tsb-tab.is-active { color: #ed007f; }
.tsb-tab.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: #ed007f; }
.tsb-form-grid { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
@media (max-width: 720px) { .tsb-form-grid { grid-template-columns: 1fr; } }
.tsb-field label { display: block; font-size: 13px; font-weight: 600; color: #333; margin-bottom: 6px; }
.tsb-field input { width: 100%; height: 44px; border: 1.5px solid #e0e0e0; border-radius: 10px; padding: 0 14px; font-size: 14px; font-family: inherit; background: #fff; color: #000; transition: border-color .15s; box-sizing: border-box; }
.tsb-field input:focus { outline: none; border-color: #ed007f; box-shadow: 0 0 0 3px rgba(214,36,140,.1); }
.tsb-submit { height: 44px; padding: 0 28px; background: #ed007f; color: #fff; border: 0; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .15s; white-space: nowrap; }
.tsb-submit:hover { background: #b81e76; }
.tsb-hint { font-size: 13px; color: #888; margin-top: 12px; line-height: 1.5; }
.tsb-error { background: #fef2f2; border: 1px solid #fca5a5; border-radius: 10px; padding: 12px 16px; color: #991b1b; font-size: 14px; margin-bottom: 18px; display: flex; align-items: flex-start; gap: 10px; }
/* Thông báo KHÔNG phải lỗi (vd "mã này thuộc dịch vụ khác, đã chuyển tab") - cùng khung
   .tsb-error nhưng tông xanh dương để khách không tưởng là tra thất bại. */
.tsb-error.tsb-note { background: #eff6ff; border-color: #93c5fd; color: #1e40af; }

/* Booking detail (hotel) */
.tsb-detail { display: grid; grid-template-columns: 1fr 320px; gap: 18px; align-items: start; }
/* Con của grid mặc định min-width:auto → cột 1fr KHÔNG co được, bị bảng hành khách
   (min-width 560px) kéo giãn quá bề ngang máy thay vì để bảng tự cuộn ngang. */
.tsb-detail > * { min-width: 0; }
/* Kết quả không có cột phải (vé máy bay) → dùng trọn bề ngang, không chừa track 320px trống. */
.tsb-detail-full { grid-template-columns: 1fr; }
@media (max-width: 860px) { .tsb-detail { grid-template-columns: 1fr; } }
.tsb-sec { background: #fff; border: 1px solid #ececec; border-radius: 10px; overflow: hidden; }
.tsb-sec-head { padding: 14px 20px; background: #fdf0f6; border-bottom: 1px solid #f4b8d8; font-size: 14px; font-weight: 700; color: #ed007f; }
.tsb-sec-body { padding: 16px 20px; }
.tsb-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; font-size: 14px; }
.tsb-info-grid .row { display: flex; flex-direction: column; gap: 2px; }
.tsb-info-grid .lbl { font-size: 12px; color: #888; }
.tsb-info-grid .val { color: #222; font-weight: 600; }
.tsb-info-grid .val.code { font-family: monospace; color: #ed007f; }
.tsb-status-badge { display: inline-block; padding: 4px 12px; border-radius: 10px; font-size: 12px; font-weight: 700; color: #fff; }
/* Đồng hồ thanh toán + trạng thái GIỮ CHỖ vé máy bay (flight-hold-countdown.js). .warn = 3 phút cuối của đồng hồ thanh
   toán (hoặc hạn giữ chỗ còn dưới 30 phút), .expired = hết thời gian thanh toán / hết hạn giữ chỗ, .is-paynow = đơn
   thanh toán ngay (chưa giữ chỗ), .is-nodeadline = hãng không cho hạn giữ chỗ. */
.tsb-hold { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.tsb-hold [hidden] { display: none; }
.tsb-hold .tsb-status-badge { background: #16a34a; }
.tsb-hold.is-paynow .tsb-status-badge, .tsb-hold.is-nodeadline .tsb-status-badge { background: #f59e0b; }
.tsb-hold.warn .tsb-status-badge { background: #dc2626; }
.tsb-hold.expired .tsb-status-badge { background: #6b7280; }
.tsb-hold-time { font-size: 15px; font-weight: 800; color: #15803d; font-variant-numeric: tabular-nums; }
.tsb-hold.warn .tsb-hold-time { color: #dc2626; }
.tsb-hold-until { font-size: 13px; color: #555; }
.tsb-hold-note { flex-basis: 100%; font-size: 12.5px; color: #555; }
.tsb-hold-note .bp-hold-note-line { display: block; }
/* Trạng thái từng vé cạnh số vé */
.tsb-tk-status { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 10px; background: #e5e7eb; color: #374151; font-family: var(--dlv-font-sans); font-size: 11px; font-weight: 700; }
.tsb-tk-status.tsb-tk-open { background: #dcfce7; color: #15803d; }
.tsb-tk-status.tsb-tk-used { background: #dbeafe; color: #1e40af; }
.tsb-tk-status.tsb-tk-voided, .tsb-tk-status.tsb-tk-refunded { background: #f3f4f6; color: #6b7280; }
.tsb-tk-status.tsb-tk-refund_pending, .tsb-tk-status.tsb-tk-exchanged { background: #fef3c7; color: #92400e; }

.tsb-policy-item { padding: 10px 0; border-bottom: 1px solid #f3f4f6; font-size: 14px; line-height: 1.55; color: #444; }
.tsb-policy-item:last-child { border-bottom: 0; }
.tsb-policy-item b { color: #222; }
.tsb-policy-warn { color: #92400e; }
.tsb-policy-ok { color: #166534; }

/* Cancel sidebar */
.tsb-cancel-card { background: #fff; border: 2px solid #ed007f; border-radius: 10px; padding: 20px; }
.tsb-cancel-title { font-size: 15px; font-weight: 700; color: #ed007f; margin: 0 0 10px; }
.tsb-cancel-desc { font-size: 13px; color: #555; line-height: 1.55; margin-bottom: 14px; }
.tsb-cancel-btn { width: 100%; height: 46px; background: #ed007f; color: #fff; border: 0; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .15s; }
.tsb-cancel-btn:hover { background: #b81e76; }
.tsb-cancel-btn:disabled { background: #ccc; cursor: not-allowed; }
.tsb-cancel-blocked { background: #fef3c7; border: 1px solid #fde68a; border-radius: 10px; padding: 12px 14px; font-size: 13px; color: #92400e; line-height: 1.5; }

/* Modal */
.tsb-modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 16px; }
.tsb-modal.is-open { display: flex; }
.tsb-modal-box { background: #fff; border-radius: 12px; max-width: 480px; width: 100%; padding: 28px 26px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.tsb-modal-icon { font-size: 40px; color: #ed007f; text-align: center; margin-bottom: 8px; }
.tsb-modal-title { font-size: 18px; font-weight: 700; color: #222; text-align: center; margin: 0 0 8px; }
.tsb-modal-msg { font-size: 14px; color: #555; line-height: 1.6; text-align: center; margin: 0 0 20px; }
.tsb-modal-actions { display: flex; gap: 10px; }
.tsb-modal-btn { flex: 1; height: 44px; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .15s, border-color .15s; }
.tsb-modal-btn-secondary { background: #fff; border: 1.5px solid #e0e0e0; color: #444; }
.tsb-modal-btn-secondary:hover { border-color: #ed007f; color: #ed007f; }
.tsb-modal-btn-primary { background: #ed007f; color: #fff; border: 0; }
.tsb-modal-btn-primary:hover { background: #b81e76; }

/* Tour result item (simplified) */
.tsb-item { background: #fff; border: 1px solid #ececec; border-radius: 10px; overflow: hidden; display: grid; grid-template-columns: 200px 1fr; gap: 18px; }
@media (max-width: 720px) { .tsb-item { grid-template-columns: 1fr; } }
.tsb-item-img { min-height: 150px; background: #f5f5f5 center/cover no-repeat; }
.tsb-item-body { padding: 16px 20px 18px 0; display: flex; flex-direction: column; gap: 10px; }
.tsb-item-title { font-size: 16px; font-weight: 700; color: #222; }
.tsb-item-title a { color: inherit; text-decoration: none; }

.tsb-item-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 14px; font-size: 13px; color: #555; }
.tsb-item-meta .lbl { color: #888; }
.tsb-item-meta b { color: #222; font-weight: 600; }
.tsb-item-price { font-size: 16px; font-weight: 800; color: #ed007f; padding-top: 8px; border-top: 1px dashed #eee; }
.tsb-empty { background: #fff; border: 1px solid #ececec; border-radius: 10px; padding: 36px 24px; text-align: center; color: #666; }
.tsb-empty-ico { font-size: 36px; color: #ddd; margin-bottom: 10px; }
.tsb-empty-title { font-size: 16px; font-weight: 700; color: #333; margin-bottom: 6px; }

/* ── Kết quả vé máy bay: dựng theo mặt vé PDF gửi khách ──────────────────
   (user_2019/pdf_flight_itinerary.php - mục 2/3/4). Chỉ dùng ở /search_booking. */
.tsb-muted { font-size: 13px; color: #666; line-height: 1.6; }
.tsb-mt10 { margin-top: 10px; }
.tsb-hotline { color: #ed007f; font-weight: 700; }
.tsb-mono { font-family: ui-monospace, Menlo, Consolas, monospace; }

/* Một chiều bay */
.tsb-leg-next { margin-top: 14px; padding-top: 16px; border-top: 1px dashed #e5e7eb; }
.tsb-leg-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tsb-leg-tag { background: #fdf0f6; color: #ed007f; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.tsb-leg-date { font-size: 13px; font-weight: 700; color: #222; }
.tsb-leg-fn { font-size: 12px; font-weight: 700; color: #444; background: #f3f4f6; padding: 3px 9px; border-radius: 6px; }

/* Giờ đi - thời gian bay - giờ đến */
.tsb-leg-route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.tsb-leg-end-r { text-align: right; }
.tsb-leg-time { font-size: 22px; font-weight: 800; color: #222; line-height: 1.2; }
.tsb-leg-code { font-size: 13px; font-weight: 700; color: #ed007f; }
.tsb-leg-city { font-size: 12px; color: #777; }
.tsb-leg-mid { min-width: 96px; text-align: center; }
.tsb-leg-dur { font-size: 12px; color: #666; margin-bottom: 3px; }
/* Đường nối 2 đầu chặng: chấm - gạch - mũi tên, thuần CSS nên không cần ảnh. */
.tsb-leg-line { height: 1px; background: #d9d9d9; position: relative; }
.tsb-leg-line::before,
.tsb-leg-line::after { content: ''; position: absolute; top: -2.5px; width: 6px; height: 6px; border-radius: 50%; background: #ed007f; }
.tsb-leg-line::before { left: 0; }
.tsb-leg-line::after { right: 0; }
.tsb-leg-stops { font-size: 11px; color: #999; margin-top: 3px; }

/* Hãng / hạng / hành lý */
.tsb-leg-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #f3f4f6; font-size: 13px; color: #555; }
.tsb-leg-facts b { color: #222; font-weight: 600; }

/* Bảng hành khách - bảng hẹp hơn màn thì tự cuộn NGANG trong khung, không đẩy cả trang */
.tsb-table-scroll { overflow-x: auto; }
.tsb-pax { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
.tsb-pax th { text-align: left; font-size: 12px; font-weight: 600; color: #888; padding: 0 10px 8px 0; border-bottom: 1px solid #eee; white-space: nowrap; }
.tsb-pax td { padding: 10px 10px 10px 0; border-bottom: 1px solid #f5f5f5; color: #333; vertical-align: top; }
.tsb-pax tr:last-child td { border-bottom: 0; }

/* Bảng giá */
.tsb-price { width: 100%; border-collapse: collapse; font-size: 14px; }
.tsb-price td { padding: 9px 0; border-bottom: 1px solid #f5f5f5; color: #444; }
.tsb-price-v { text-align: right; font-weight: 600; color: #222; white-space: nowrap; }
.tsb-price-total td { border-bottom: 0; padding-top: 12px; font-weight: 800; color: #222; }
.tsb-price-total .tsb-price-v { color: #ed007f; font-size: 18px; font-weight: 800; }

/* Nút tải mặt vé */
.tsb-sec-cta .tsb-sec-body { padding: 18px 20px; }
.tsb-pdf-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; background: #ed007f; color: #fff; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .15s; }
.tsb-pdf-btn:hover { background: #b81e76; color: #fff; }

@media (max-width: 575px) {
    .tsb-leg-time { font-size: 19px; }
    .tsb-leg-mid { min-width: 68px; }
    .tsb-leg-facts { gap: 6px 14px; }
}

/* Client 2026-07-29: tiêu đề tour KHÔNG đổi màu hồng khi hover (rule cũ ở đây đã gỡ).
   Card vẫn có phản hồi hover khác: nhấc lên + đổ bóng, và lớp phủ tên đầy đủ trên ảnh. */

/* ══════════════════════════════════════════════════════════════════════════
   Yêu cầu thay đổi booking (tsb-cr-*) — nút + popup 2 bước (nhập → xem lại)
   Dùng lại .tsb-modal / .tsb-modal-box của modal hủy phòng, chỉ mở rộng
   khung vì form dài hơn hẳn thông báo xác nhận.
   ══════════════════════════════════════════════════════════════════════════ */

/* Khối CTA đặt cuối mỗi kết quả tra cứu */
.tsb-cr-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tsb-cr-open { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; background: #fff; border: 1.5px solid #ed007f; color: #ed007f; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .15s, color .15s; }
.tsb-cr-open:hover { background: #ed007f; color: #fff; }
.tsb-cr-open[disabled] { opacity: .55; cursor: not-allowed; border-color: #d0d0d0; color: #888; background: #fafafa; }
.tsb-cr-cta-hint { font-size: 12.5px; color: #777; line-height: 1.5; flex: 1 1 240px; }

/* Khung modal rộng hơn + cuộn dọc khi màn thấp */
.tsb-cr-box { max-width: 620px; max-height: calc(100vh - 32px); overflow-y: auto; text-align: left; padding: 24px 26px 22px; }
.tsb-cr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.tsb-cr-title { font-size: 18px; font-weight: 800; color: #222; margin: 0; }
.tsb-cr-close { background: none; border: 0; font-size: 24px; line-height: 1; color: #999; cursor: pointer; padding: 0 4px; font-family: inherit; }
.tsb-cr-close:hover { color: #ed007f; }
.tsb-cr-sub { font-size: 13px; color: #666; line-height: 1.55; margin: 0 0 16px; }
.tsb-cr-sub b { color: #333; }

/* Form */
.tsb-cr-field { margin-bottom: 14px; }
.tsb-cr-field > label { display: block; font-size: 13px; font-weight: 600; color: #333; margin-bottom: 6px; }
.tsb-cr-field .req { color: #ed007f; }
.tsb-cr-field select,
.tsb-cr-field input,
.tsb-cr-field textarea { width: 100%; border: 1.5px solid #e3e3e3; border-radius: 9px; padding: 10px 12px; font-size: 14px; color: #222; font-family: inherit; background: #fff; transition: border-color .15s; }
.tsb-cr-field select:focus,
.tsb-cr-field input:focus,
.tsb-cr-field textarea:focus { outline: 0; border-color: #ed007f; }
.tsb-cr-field textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.tsb-cr-help { font-size: 12px; color: #888; margin-top: 5px; line-height: 1.5; }
.tsb-cr-count { float: right; font-size: 12px; color: #aaa; }

/* Nhóm liên hệ tuỳ chọn - gộp lại cho khỏi loãng form */
.tsb-cr-optional { border: 1px dashed #e0e0e0; border-radius: 10px; padding: 14px 14px 2px; margin: 4px 0 16px; background: #fcfcfc; }
.tsb-cr-optional-head { font-size: 13px; font-weight: 700; color: #444; margin-bottom: 4px; }
.tsb-cr-optional-note { font-size: 12px; color: #888; margin-bottom: 12px; line-height: 1.5; }
.tsb-cr-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }

/* Bước xem lại trước khi gửi */
.tsb-cr-review-list { border: 1px solid #eee; border-radius: 10px; overflow: hidden; margin-bottom: 16px; }
.tsb-cr-review-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 11px 14px; border-bottom: 1px solid #f3f3f3; font-size: 13.5px; }
.tsb-cr-review-row:last-child { border-bottom: 0; }
.tsb-cr-review-row .k { color: #888; }
.tsb-cr-review-row .v { color: #222; font-weight: 600; word-break: break-word; white-space: pre-wrap; }

/* Thông báo trong modal */
.tsb-cr-msg { border-radius: 9px; padding: 11px 13px; font-size: 13.5px; line-height: 1.55; margin-bottom: 14px; display: none; }
.tsb-cr-msg.is-on { display: block; }
.tsb-cr-msg-err { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }

/* Màn thành công */
.tsb-cr-done { text-align: center; padding: 12px 0 4px; }
.tsb-cr-done-ico { font-size: 44px; color: #16a34a; margin-bottom: 10px; }
.tsb-cr-done-title { font-size: 18px; font-weight: 800; color: #222; margin: 0 0 8px; }
.tsb-cr-done-msg { font-size: 14px; color: #555; line-height: 1.6; margin: 0 0 6px; }
.tsb-cr-code { display: inline-block; margin: 8px 0 16px; padding: 8px 16px; background: #fdf2f8; border: 1px solid #fbcfe8; border-radius: 8px; font-size: 16px; font-weight: 800; color: #ed007f; letter-spacing: .5px; }

.tsb-cr-actions { display: flex; gap: 10px; margin-top: 4px; }
.tsb-cr-actions .tsb-modal-btn-primary[disabled] { opacity: .6; cursor: wait; }

@media (max-width: 575px) {
    .tsb-cr-box { padding: 20px 18px 18px; }
    .tsb-cr-grid2 { grid-template-columns: 1fr; }
    .tsb-cr-review-row { grid-template-columns: 1fr; gap: 2px; }
    .tsb-cr-actions { flex-direction: column-reverse; }
}

/* Khoá cuộn nền khi popup mở — tránh cuộn trang phía sau trên mobile */
body.tsb-cr-lock { overflow: hidden; }
.tsb-mt14 { margin-top: 14px; }
.tsb-mb14 { margin-bottom: 14px; }

/* ── Lịch chọn "Ngày mong muốn" trong popup yêu cầu thay đổi ───────────────
   Tự dựng thay cho <input type="date"> để đồng bộ màu/bo góc với site và
   để lịch nằm TRONG modal (không phải popup absolute chọi z-index). */
.tsb-cr-datewrap { position: relative; }
/* Đủ đè `.tsb-cr-field input` (0,0,1,1) bằng specificity (0,0,2,0), không cần !important */
.tsb-cr-field .tsb-cr-dateinput { cursor: pointer; padding-right: 40px; /* chừa chỗ cho icon lịch */ }
.tsb-cr-dateinput::placeholder { color: #9aa0a6; }
.tsb-cr-dateico { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #9aa0a6; pointer-events: auto; cursor: pointer; font-size: 15px; }
.tsb-cr-datewrap:hover .tsb-cr-dateico { color: #ed007f; }

.tsb-cr-cal { position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; width: 300px; max-width: 100%; background: #fff; border: 1px solid #e6e6e6; border-radius: 12px; box-shadow: 0 12px 34px rgba(0,0,0,.14); padding: 12px 12px 8px; }
.tsb-cr-cal[hidden] { display: none; }

.tsb-cr-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.tsb-cr-cal-title { font-size: 14px; font-weight: 700; color: #222; }
.tsb-cr-cal-nav { width: 30px; height: 30px; border: 1px solid #e6e6e6; background: #fff; border-radius: 8px; font-size: 18px; line-height: 1; color: #555; cursor: pointer; font-family: inherit; transition: border-color .15s, color .15s; }
.tsb-cr-cal-nav:hover:not([disabled]) { border-color: #ed007f; color: #ed007f; }
.tsb-cr-cal-nav[disabled] { opacity: .35; cursor: not-allowed; }

.tsb-cr-cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 4px; }
.tsb-cr-cal-dow span { text-align: center; font-size: 11px; font-weight: 600; color: #9aa0a6; padding: 4px 0; }

.tsb-cr-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.tsb-cr-cal-day { height: 36px; border: 0; background: none; border-radius: 8px; font-size: 13.5px; color: #333; cursor: pointer; font-family: inherit; transition: background .12s, color .12s; }
.tsb-cr-cal-day:hover:not([disabled]) { background: #fdf2f8; color: #ed007f; }
.tsb-cr-cal-day[disabled] { color: #d4d4d4; cursor: not-allowed; }
.tsb-cr-cal-day.is-empty { visibility: hidden; }
.tsb-cr-cal-day.is-today { box-shadow: inset 0 0 0 1.5px #f3c3dd; font-weight: 700; }
.tsb-cr-cal-day.is-sel { background: #ed007f; color: #fff; font-weight: 700; }
.tsb-cr-cal-day.is-sel:hover { background: #b81e76; color: #fff; }

.tsb-cr-cal-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 8px; border-top: 1px solid #f1f1f1; }
.tsb-cr-cal-link { border: 0; background: none; padding: 4px 6px; font-size: 13px; color: #777; cursor: pointer; font-family: inherit; border-radius: 6px; }
.tsb-cr-cal-link:hover { color: #ed007f; }
.tsb-cr-cal-link.is-primary { color: #ed007f; font-weight: 700; }

@media (max-width: 575px) {
    /* Trên máy nhỏ cho lịch rộng bằng ô nhập để không tràn ra ngoài modal */
    .tsb-cr-cal { width: 100%; }
    .tsb-cr-cal-day { height: 40px; }
}
