/**
 * anytour — bảng màu + chỉnh lẻ cho TRANG CÔNG KHAI dùng khung cũ (danh sách/chi tiết dịch vụ, liên hệ, tài khoản…).
 *
 * Theme nhân từ AnzGo (← HotelHub ← MustGo): main.css/custom.css vẫn là bản MustGo. File này nạp SAU custom.css
 * (Layout/app.blade.php + user.blade.php) và đổi MÀU theo thiết kế anytour (04/12/2026):
 *   xanh #0A3D91 (đậm #072B69, chân trang #061D47) · cam #FF6A00 · nền #F5F6F8 · chữ mực #1A1A1A.
 * Giao diện MỚI (đầu trang, chân trang, khối trang chủ, thẻ sản phẩm, gian hàng NCC…) ở anytour-ui.css.
 * Đổi màu thương hiệu: chỉ sửa khối 1. Biến --anz-* giữ tên cũ (các khối 3–5 bên dưới đang dùng) nhưng trỏ sang màu anytour.
 */

/* =========================================================
   1. BIẾN MÀU
   ========================================================= */
:root {
    --at-blue: #0A3D91;
    --at-blue-dark: #072B69;
    --at-blue-deep: #061D47;
    --at-blue-400: #2C5BB0;
    --at-tint: #E8F3FF;
    --at-orange: #FF6A00;
    --at-orange-dark: #E05D00;
    --at-orange-50: #FFF1E6;
    --at-canvas: #F5F6F8;
    --at-ink: #1A1A1A;
    --at-ink-2: #525A65;
    --at-muted: #767E8A;
    --at-line: #E5E8EE;
    --at-line-2: #DCE2EB;
    --at-radius: 16px;
    --at-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    --at-shadow-lg: 0 18px 40px -18px rgba(6, 29, 71, .35);

    /* tên cũ của AnzGo — giữ cho các khối bên dưới, trỏ sang màu anytour */
    --anz-navy: var(--at-blue);
    --anz-navy-400: var(--at-blue-400);
    --anz-navy-700: var(--at-blue-dark);
    --anz-navy-900: var(--at-blue-deep);
    --anz-navy-50: var(--at-tint);
    --anz-navy-100: #D3E4FA;
    --anz-orange: var(--at-orange);
    --anz-orange-600: var(--at-orange-dark);
    --anz-orange-50: var(--at-orange-50);
    --anz-text: var(--at-ink);

    /* biến của main.css (MustGo) */
    --primary-color: var(--at-blue);
    --secondary-color: var(--at-orange);
    /* .button_style mặc định (Tìm, Đặt ngay, Nhận báo giá…) → cam; .button_gradient_2 → xanh */
    --primary-gradient: linear-gradient(90deg, #FF7A1A 0%, var(--at-orange) 60%, var(--at-orange-dark) 100%);
    --primary-gradient-2: linear-gradient(90deg, var(--at-blue-400) 0%, var(--at-blue) 100%);
    --bg: var(--at-canvas);
}

::selection {
    background: #FFD9BD;
    color: var(--at-blue-deep);
}

/* =========================================================
   2. CHỖ main.css GHI CỨNG XANH DƯƠNG
   ========================================================= */
.boxRegister,
.abouts-images .about-link_profile a {
    background: linear-gradient(90deg, var(--anz-navy-400) 0%, var(--anz-navy) 60%);
}

.button_visa,
.hotel-register .form-position button.btn.btn-send,
.about-total-item .about-total-left {
    background: var(--primary-gradient) !important;
}

.about-total-item .about-total-right p strong,
.aboutNumber p strong {
    background: linear-gradient(90deg, var(--at-orange) 0%, var(--anz-navy) 70%);
    -webkit-background-clip: text;
    background-clip: text;
}

.vne-reviews .review-list .review-item .review-item-head .media,
.why-choose,
.review-item .review-service {
    border-color: var(--anz-navy-100);
}

.review-item .review-author img {
    border-color: var(--anz-navy-100);
}

.fc-ac-loading i,
.surrounding-toggle,
.surrounding-toggle:hover,
button#btnReadMoreAttribute,
.room-terms-toggle {
    color: var(--anz-navy);
}

/* Menu trượt điện thoại: thẻ hồ sơ đã đăng nhập (custom.css: xanh → xanh trời) */
.vne-mnav-profile {
    background: linear-gradient(135deg, var(--anz-navy) 0%, var(--anz-navy-400) 100%);
}

/* =========================================================
   3. TRANG ĐĂNG KÝ ĐẠI LÝ / CTV (khối agent_lp_* — public/module/agent-partner/css/agent-landing.css)
   File đó nạp SAU file này nên luật phải kèm `body` để thắng. Xanh dương/chàm → tím than + cam.
   ========================================================= */
body .aglp {
    --aglp-blue: var(--anz-navy);
    --aglp-blue-dark: var(--anz-navy-900);
    --aglp-indigo: var(--at-orange);
    --aglp-grad: linear-gradient(90deg, var(--anz-navy) 0%, var(--at-orange) 100%);
}

body .aglp .aglp-pill,
body .aglp .aglp-mock__avatar,
body .aglp .aglp-plan__benefits li .aglp-svg,
body .aglp .aglp-testi__avatar {
    background-color: var(--anz-navy-100);
}

body .aglp .aglp-hero__badge,
body .aglp .aglp-tag,
body .aglp .aglp-chip,
body .aglp .aglp-tab__ico,
body .aglp .aglp-plan__spec-row + .aglp-plan__spec-row strong,
body .aglp .aglp-pick.is-checked,
body .aglp .aglp-service.is-checked {
    background-color: var(--anz-navy-50);
}

body .aglp .aglp-tag,
body .aglp .aglp-chip,
body .aglp .aglp-help,
body .aglp .aglp-mock__hotel {
    border-color: var(--anz-navy-100);
}

body .aglp .aglp-c-blue { --aglp-ic: var(--anz-navy); --aglp-ic-bg: var(--anz-navy-50); }
body .aglp .aglp-c-indigo { --aglp-ic: var(--at-orange); --aglp-ic-bg: var(--at-orange-50); }

body .aglp .aglp-btn--primary:focus,
body .aglp .aglp-tab.is-active,
body .aglp .aglp-choice:focus {
    box-shadow: 0 12px 24px -12px rgba(10, 61, 145, .55);
}

body .aglp .aglp-plan.is-featured {
    box-shadow: 0 28px 56px -30px rgba(10, 61, 145, .45);
}

/* =========================================================
   4. CHI TIẾT TOUR — các ô quản trị trước đây không hiện (Tour/Views/frontend/layouts/details/):
      Điểm nổi bật (tour-highlight), Mô tả (tour-header), Video (tour-video),
      Câu hỏi thường gặp (tour-faqs), Khu vực xung quanh (tour-surrounding), Những thông tin cần lưu ý (tour-notes),
      Thủ tục xin Visa (tour-visa).
   Giãn dòng danh sách bằng gap: main.css ép `ul, li { margin-bottom: 0 !important }`.
   ========================================================= */
.tour-highlight-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.tour-highlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--anz-text);
}

.tour-highlight-list li i {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--anz-orange);
    background: var(--anz-orange-50);
}

/* Khung "Thông tin tour" cột phải: main.css đặt max-height 300px (chỉ để làm hiệu ứng thu gọn khi cột dính) ⇒ từ dòng thứ 7
   bị cắt mất (vd "Đặt trước"). Nới trần; khi dính `.is-stuck .tour_info_to_hide { max-height: 0 }` vẫn mạnh hơn. */
.tour_info_to_hide {
    max-height: 800px;
}

/* Lịch trình: chấm tròn đầu dòng bị bóp méo khi tiêu đề ngày dài (main.css thiếu flex-shrink) */
div#accordionCalendar .accordion-button:before {
    flex-shrink: 0;
}

/* Lịch trình: ngày chỉ có tiêu đề (không có gì để xổ) ⇒ bỏ mũi tên, không đổi con trỏ */
#accordionCalendar .accordion-button.tour-itinerary-nobody {
    cursor: default;
}

#accordionCalendar .accordion-button.tour-itinerary-nobody::after {
    display: none;
}

/* Mô tả dưới tên tour (26/11/2026: xám #555 → chữ xanh như phần còn lại, xem 5f) */
.tour-short-desc {
    flex: 0 0 100%;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--anz-text);
    white-space: pre-line;
}

/* Video: ảnh thu nhỏ + nút phát, bấm mới thay bằng iframe */
.tour-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.tour-video-frame iframe,
.tour-video-play {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.tour-video-play {
    display: block;
    padding: 0;
    background: #000;
    cursor: pointer;
}

.tour-video-play img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .88;
    transition: opacity .2s ease;
}

.tour-video-play:hover img,
.tour-video-play:focus-visible img {
    opacity: 1;
}

.tour-video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    background: var(--anz-orange);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}

.tour-video-icon i {
    margin-left: 4px;
}

/* Câu hỏi thường gặp: chép theo #accordionQuestion (khối "Những thông tin cần lưu ý") của main.css */
div#accordionTourFaq {
    background: #fff;
    box-shadow: 0px 4px 30px 0px #0A0A0A17;
    border-radius: 20px !important;
    overflow: hidden;
}

#accordionTourFaq .accordion-item {
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #E7E7E7;
}

#accordionTourFaq .accordion-item .accordion-body {
    padding-top: 0 !important;
}

#accordionTourFaq .accordion-button:not(.collapsed) {
    background: transparent !important;
    color: var(--primary-color) !important;
    box-shadow: unset !important;
}

#accordionTourFaq .accordion-item .show .accordion-body {
    border: 0 !important;
}

/* Khu vực xung quanh */
.tour-surrounding-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
}

@media (max-width: 767.98px) {
    .tour-surrounding-list {
        grid-template-columns: 1fr;
    }
}

.tour-surrounding-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.5;
}

.tour-surrounding-list li img {
    flex: 0 0 18px;
    width: 18px;
    margin-top: 2px;
}

.tour-surrounding-list strong {
    font-weight: 600;
    color: var(--anz-navy);
}

.tour-surrounding-distance {
    margin-left: 6px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--anz-orange);
}

.tour-surrounding-list p {
    margin: 2px 0 0;
    font-size: 14px;
    color: #666;
}

/* Những thông tin cần lưu ý (tour-notes.blade.php): khung trắng như khối "Chi phí & chính sách tour", luôn mở */
.tour-notes-list {
    list-style: none;
    margin: 0;
    padding: 20px 24px;
    display: grid;
    gap: 12px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0px 4px 30px 0px #0A0A0A17;
}

.tour-notes-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--anz-text);
}

.tour-notes-list li i {
    flex: 0 0 18px;
    margin-top: 3px;
    font-size: 18px;
    line-height: 1;
    color: var(--anz-navy);
}

@media (max-width: 767.98px) {
    .tour-notes-list {
        padding: 16px;
    }
}

/* Thủ tục xin Visa (tour-visa.blade.php): khung trắng như khối lưu ý, luôn mở, 1 cột. Nằm trong cột nội dung chính,
   ngay dưới "Chi phí & chính sách tour" (đổi 20/11/2026 — trước ở cuối trang, hết chiều ngang, chia 2 cột). */
.tour-visa-list {
    list-style: none;
    margin: 0;
    padding: 20px 24px;
    display: grid;
    gap: 12px 32px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0px 4px 30px 0px #0A0A0A17;
}

.tour-visa-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--anz-text);
}

.tour-visa-list li i {
    flex: 0 0 18px;
    margin-top: 3px;
    font-size: 18px;
    line-height: 1;
    color: var(--anz-orange, var(--at-orange));
}

@media (max-width: 767.98px) {
    .tour-visa-list {
        padding: 16px;
    }
}

/* =========================================================
   5. FONT + MÀU CHỮ (anytour: chữ mực #1A1A1A thay chữ xanh navy của AnzGo)
   ========================================================= */

/* 5a. Font: dùng BeVietnamPro có sẵn của main.css (quy ước không thêm font; bản AnzGo từng dùng Montserrat). */
:root {
    --dark-color: var(--anz-text);
    --txt: var(--anz-text);
}

/* 5b. Màu chữ xanh navy. Tiêu đề h1–h6 KHÔNG đặt màu riêng: chúng kế thừa body, đặt riêng sẽ đè chữ trắng
   trên các khung nền tối vốn kế thừa màu từ khung cha. Chữ xám phụ (#757575, #666…), chữ trắng, cam, tím than giữ nguyên. */
body {
    color: var(--anz-text);
}

/* Các chỗ main.css/custom.css ghi cứng đen (#000, #0F1013, #00072b, #222, #333) mà màu CUỐI CÙNG sau cascade vẫn là đen
   (lọc bằng script: bỏ selector bị rule sau đổi sang màu khác; bỏ `.post_large .post-content .post-title a` vì
   ≤990px main.css đổi sang màu chính). Selector giữ nguyên ⇒ cùng độ ưu tiên, thắng nhờ nạp sau. */
.vne_wrap .vne_header .content .vne-menu ul li.active .menu-dropdown li a,
.vne_wrap .vne_form .form-content label,
select#select-flight,
.vne_wrap .vne_form .form-content .dropdown .form-control option,
.service-item p,
.tour_item .tour-content .tour-title a,
.hotel_item .hotel-content .hotel-title a,
.hotel_item .hotel-content .hotel-price p,
.hotel_item .hotel-content .hotel-review .review-text,
.province h4,
.tab-vne ul li a,
.post-item .post-content .post-title a,
.vne_filter .g-filter-item .item-content ul li,
.topbar-search .category-order a,
.vne-pagination ul li a,
.vne-pagination ul li span,
.vne-reviews .title-review,
.vne-reviews .review-box,
.vne-reviews .review-box .review-box-score .review-score-base span,
.vne-reviews .review-box .review-sumary .item .label,
.vne-reviews .review-list .review-item .review-item-head .media .media-body .media-heading,
.hotel-room .room-info .room-title a,
.hotel-room .room-info .room-review .review-text,
.hotel-room .room-content p i,
.comment-item .comment-body .comment-text,
.comment-item .comment-body .comment-action a,
.hotel_rooms_form .hotel_room_book_status .total-room-price span,
.cart-form .form-checkout,
.cart-form .textarea-checkout,
.cart-form .cart_left p,
.cart-form .cart_left .label,
.cart_item .cart_name,
.gateway-info .gateway-bank .name,
.bank_info .name,
.gateway-info table tr td .name,
div#accordionCalendar .accordion-button,
.text-blue h3,
div#accordionEntry .accordion-button,
.tour_tab ul li a,
.calendar-table tr td ins,
.cart_flight-address .cart_flight_to label,
.cart_flight-address .cart_flight_to strong,
.event-box .event-price,
.event-box p strong,
.post-widget .post-widget-content .post-widget-title a,
.post-related h3,
.post_grid .post-content .post-title a,
.visa-box form.form-visa label,
.visa-note h3,
.vision-item p,
.prize-title,
.prize-item p,
.contact-info .contact-body p a,
.coupon-left h3,
.ticket-box .btn-circle,
.ticket-box span.flatpickr-weekday,
.tour_redirect_scroll ul li a,
.about-tour .about-tour-body p,
.why-choose h4,
.render,
.nights-badge,
.header-post-single h1,
.abouts-images .about-quote,
.about_slide_item .about_slide_content .about_slide_right p.heading-1,
.aboutNumber p,
.timeline-item .timeline-content p.heading-2,
.info-item .info-header-text h4,
.info-item .info-header-text p,
.about__item .about__item-content p.heading-1,
.map_review .map_review-box .review-point-right,
.mgo_menu_list ul li a,
.tour-calendar .pagination .page-link {
    color: var(--anz-text);
}

section.single-breadcrumb ul li a,
section.single-breadcrumb ul li span,
section.single-breadcrumb ul li,
.vne-reviews .review-form .title-form,
.hotel_rooms_form .form-search-rooms .form-search-row > div .form-group .render,
.color-dark .text-primary,
.banner-header-body .form-content .render,
.article-new .breadcrumb ul li,
.article-new .breadcrumb ul li a,
.article-new .breadcrumb ul li span,
.vne_wrap .vne_header .bc-menu-mobile.vne-mnav .vne-mnav-menu .main-menu.menu-generated > li.depth-0 > a,
.vne-mnav-hotline a {
    color: var(--anz-text) !important;
}

/* Tiêu đề "Tour liên quan" (view core Tour::frontend.detail ghi cứng style="color:#000;") */
.tour-single .single-title h3[style*="color:#000"] {
    color: var(--anz-text) !important;
}

/* 5e. Dấu đầu dòng chấm tròn cho mọi danh sách ở chi tiết tour (20/11/2026 user muốn đồng bộ): trước đây mỗi khối một
   icon — Bao gồm ✓, Không bao gồm ✗, Điều kiện hoàn hủy ⓘ (tour-include-exclude), Lưu ý ⓘ (tour-notes),
   Visa 📄 (tour-visa), Điểm nổi bật ✓ trong vòng cam (tour-highlight). Chỉ CSS: giữ thẻ <i> icofont trong blade, bỏ hình
   ::before, vẽ chấm 6px. Dòng cao 24px (15–16px × 1.6) ⇒ lùi 9px cho chấm nằm giữa dòng đầu.
   Khối Chi phí & chính sách: .item vốn là block (dòng 2 chạy lùi dưới dấu) ⇒ flex để thụt đều theo chữ. */
#tourPolicy .include-price .item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

#tourPolicy .include-price .item > i,
.tour-highlight-list li > i,
.tour-notes-list li > i,
.tour-visa-list li > i {
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    margin-top: 9px;
    border-radius: 50%;
    background: var(--anz-navy);
    font-size: 0;
    line-height: 0;
}

#tourPolicy .include-price .item > i::before,
.tour-highlight-list li > i::before,
.tour-notes-list li > i::before,
.tour-visa-list li > i::before {
    content: none;
}

/* 5f. Lịch trình tour + Nội dung (mô tả) tour: đồng bộ chữ #1201A9 (26/11/2026). Đoạn văn <p> vốn đã ăn màu body (5b);
   còn lệch: dòng danh sách ul/ol (main.css ghi cứng xám #737373 cho .tour-single-content li và lịch trình
   div#accordionCalendar .accordion-body li), dòng tiêu đề bảng nội dung (#1f2937 — style bảng dùng chung của core
   Core::frontend.partials.content-tables, nạp SAU file này ⇒ thêm id cho mạnh hơn), nút "Xem thêm" (nút trình duyệt
   mặc định chữ đen). Mô tả ngắn dưới tên tour ở .tour-short-desc (mục 4). Lịch trình ở trang đặt tour
   (booking/partials/itinerary) cũng dùng #accordionCalendar nên đổi theo. */
div#accordionCalendar .accordion-body ul li,
div#accordionCalendar .accordion-body ol li,
.tour-single-content ul li,
.tour-single-content ol li,
#tourContent .bc-ct-wrap table.bc-ct > thead > tr > *,
#tourContent .bc-ct-wrap table.bc-ct > tbody:first-child > tr:first-child > *,
#accordionCalendar .bc-ct-wrap table.bc-ct > thead > tr > *,
#accordionCalendar .bc-ct-wrap table.bc-ct > tbody:first-child > tr:first-child > *,
#tourContent button.btn-read-more {
    color: var(--anz-text);
}
