/* Chi tiet tour - giao dien moi (2026-11-06), theo mau travelvietnam.com.vn, mau thuong hieu Du Lich Online */
#tour-detail {
    --red: #F26B0F; --red-d: #D2560A; --red-bg: #FFF1E6; --red-line: #F9C9A6;
    --navy: #0B3F73; --sky: #EEF5FC; --line: #E0E7F4; --line-2: #CBD7EC;
    --muted: #5A6682; --text: #38435E; --gold: #FFD66B;
}

/* Gia goc gach ngang trong khung dat tour */
#r_bking .tv-gia-old { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; line-height: 1.2; }
#r_bking .tv-gia-old s { color: rgba(255, 255, 255, .8); font-size: 15px; }
#r_bking .tv-gia-disc { padding: 2px 8px; border-radius: 6px; background: var(--gold); color: #7A2E00; font-weight: 700; font-size: 12.5px; }

/* Ngay khoi hanh dang o noi bat (dau trang) */
.tv-dep-dates { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 6px 0 4px; }
.tv-dep-dates .lbl { margin-right: 2px; color: var(--text); }
.tv-dep-dates .lbl .fa { color: var(--red); }
.tv-dep-dates .dt { display: inline-flex; align-items: center; min-height: 30px; padding: 0 11px; border: 1px solid var(--red-line); border-radius: 8px; background: var(--red-bg); color: var(--red); font-weight: 600; font-size: 14.5px; }
.tv-dep-dates .dt.first { border-color: var(--red); background: var(--red); color: #fff; }

/* Lich trinh: the ngay dong/mo */
#days.tv-dys { display: grid; gap: 12px; margin: 6px 0 22px; padding: 0; border: 0; }
#days.tv-dys::before, #days.tv-dys::after { display: none !important; }
.tv-dys-tools { display: flex; justify-content: flex-end; margin: -4px 0 0; }
.tv-dy-all { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--navy); font-weight: 600; font-size: 13.5px; cursor: pointer; transition: border-color .2s, color .2s; }
.tv-dy-all:hover, .tv-dy-all.on { border-color: var(--red); color: var(--red); }
.tv-dy-all svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tv-dy { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .25s; }
.tv-dy:hover { border-color: #B9CBEE; }
.tv-dy.open { border-color: #C9D6F0; box-shadow: 0 6px 18px -10px rgba(11, 63, 115, .25); }
.tv-dy-h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; width: 100%; padding: 16px 18px; border: 0; background: transparent; text-align: left; color: inherit; cursor: pointer; font: inherit; }
.tv-dy-h:focus { outline: none; }
.tv-dy-h:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.tv-dy.open .tv-dy-h { background: var(--sky); border-bottom: 1px dashed var(--red-line); }
.tv-dy-n { width: 58px; height: 62px; border-radius: 13px; background: var(--red-bg); color: var(--red); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; transition: background .2s, color .2s; }
.tv-dy.open .tv-dy-n { background: var(--red); color: #fff; box-shadow: 0 10px 18px -10px rgba(242, 107, 15, .9); }
.tv-dy-n small { font-weight: 700; font-size: 10.5px; letter-spacing: .12em; margin-bottom: 4px; }
.tv-dy-n b { font-weight: 700; font-size: 24px; }
.tv-dy-t { min-width: 0; }
.tv-dy-t .ttl { display: block; font-weight: 700; font-size: 17px; line-height: 1.4; color: var(--navy); text-transform: uppercase; }
.tv-dy-t .sub { display: -webkit-box; margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--muted); -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tv-dy.open .tv-dy-t .sub { display: none; }
.tv-dy-c { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.tv-dy-c > span { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 11px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 12.5px; line-height: 1.4; color: var(--text); }
.tv-dy-c .fa { color: var(--red); }
.tv-dy-x { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--red-bg); color: var(--red); display: grid; place-items: center; transition: background .2s, color .2s; }
.tv-dy-x svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.tv-dy.open .tv-dy-x { background: var(--red); color: #fff; }
.tv-dy.open .tv-dy-x svg { transform: rotate(180deg); }
.tv-dy-b { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .32s ease, visibility .32s; }
.tv-dy.open .tv-dy-b { grid-template-rows: 1fr; visibility: visible; }
.tv-dy-b > div { min-height: 0; overflow: hidden; }
#days .tv-dy-in { padding: 18px 22px 20px; margin: 0; }
#days .tv-dy-in img { max-width: 100%; height: auto; }

/* Bang lich khoi hanh */
#lichkhoihanh .btn-danger { border-color: var(--red); background: var(--red); color: #fff; }
#lichkhoihanh .btn-danger:hover { border-color: var(--red-d); background: var(--red-d); }
#lichkhoihanh .btn-success { border: 1px solid var(--red); background: #fff; color: var(--red); }
#lichkhoihanh .btn-success:hover, #lichkhoihanh .btn-success:focus { background: var(--red-bg); color: var(--red); }
#lichkhoihanh tbody > tr.tv-dep-hide { display: none !important; }
.tv-dep-more { margin: 4px 0 8px; text-align: center; }
.tv-dep-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 1.5px solid var(--navy); border-radius: 999px; background: #fff; color: var(--navy); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background .2s, color .2s; }
.tv-dep-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.tv-dep-btn.open svg { transform: rotate(180deg); }
.tv-dep-btn:hover { background: var(--navy); color: #fff; }

@media (max-width: 767px) {
    .tv-dy-h { gap: 12px; padding: 13px 12px; }
    .tv-dy-n { width: 48px; height: 52px; border-radius: 11px; }
    .tv-dy-n b { font-size: 20px; }
    .tv-dy-t .ttl { font-size: 15.5px; }
    .tv-dy-x { width: 30px; height: 30px; }
    #days .tv-dy-in { padding: 14px 14px 16px; }
    .tv-dep-btn { width: 100%; justify-content: center; }
    #lichkhoihanh .mda-price-item > td { display: block; max-width: calc(100vw - 30px); padding: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
