/* =========================================================
   HA LONG XANH - BANG MAU & FONT CHUNG
   Bang mau "xanh bien ruc ro" - tuoi sang, bat mat, khong
   toi/nang ne: xanh duong-cyan song dong lam chu dao, cam
   san ho lam diem nhan CTA. Font Be Vietnam Pro cho chu dep,
   ro net, ho tro day du dau tieng Viet.
   ========================================================= */
:root {
  --navy-deep: #0c4a6e;   /* xanh bien dam (chi dung it: footer, chu nhan manh) */
  --navy: #0284c7;        /* xanh duong song dong - navbar, nut vien, lien ket */
  --navy-light: #0ea5e9;  /* xanh duong sang hon */
  --teal: #22d3ee;        /* xanh cyan ruc ro - icon, diem nhan */
  --sky: #bae6fd;         /* xanh troi rat nhat - nen phu, badge */
  --gold: #fb923c;        /* cam san ho - nut CTA chinh, noi bat */
  --gold-dark: #ea580c;   /* cam dam hon - hover CTA */
  --bg-soft: #f0f9ff;
  --text-muted: #4f6b7a;
}

* { font-family: 'Be Vietnam Pro', 'Segoe UI', Arial, sans-serif; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-soft);
  color: #16323f;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy);
  transition: color 0.15s ease;
}

/* =========================================================
   TYPOGRAPHY - chu dep va nhat quan tren toan site
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: 0.2px;
}
h1 { letter-spacing: 0.1px; }
p { line-height: 1.7; }

.card-title {
  font-weight: 700;
  color: var(--navy-deep);
}
.card-body h6 {
  font-weight: 700;
}
label.form-label, .form-label {
  font-weight: 600;
  color: #2a4a5c;
  font-size: 0.92rem;
}
.btn {
  font-weight: 600;
  border-radius: 0.5rem;
  letter-spacing: 0.1px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.15s ease;
}
.btn-primary:hover, .btn-outline-primary:hover {
  transform: translateY(-1px);
}
.btn-lg { border-radius: 0.6rem; }
.text-muted { color: var(--text-muted) !important; }
::selection { background: var(--teal); color: #fff; }

/* ghi de mau chu dao Bootstrap cho dong bo toan trang (nut, badge, vien...) */
.btn-primary {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  font-weight: 600;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: var(--gold-dark) !important;
  border-color: var(--gold-dark) !important;
  color: #1a2536 !important;
}
.btn-outline-primary {
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-primary:hover {
  background-color: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.btn-outline-secondary:hover { color: #fff; }
.text-primary { color: var(--navy) !important; }
.bg-primary { background-color: var(--navy) !important; }
.badge.bg-info-subtle { background-color: #e4f1f6 !important; color: var(--navy) !important; }
.nav-pills .nav-link.active { background-color: var(--navy) !important; }
.page-link { color: var(--navy); }
.page-item.active .page-link { background-color: var(--navy); border-color: var(--navy); }

.card {
  border: none;
  border-radius: 0.6rem;
}
.card-img-top {
  border-top-left-radius: calc(0.6rem - 1px);
  border-top-right-radius: calc(0.6rem - 1px);
}

/* =========================================================
   THANH TIEN ICH TREN CUNG
   ========================================================= */
.topbar {
  background-color: var(--navy);
  color: #eaf7ff;
  font-size: 0.8rem;
  padding: 0.35rem 0;
}
.topbar a { color: #eaf7ff; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .divider { opacity: 0.4; margin: 0 0.6rem; }

/* =========================================================
   THANH DIEU HUONG CHINH
   ========================================================= */
.navbar-main {
  background: linear-gradient(95deg, var(--navy) 0%, var(--navy-light) 60%, var(--teal) 100%);
  border-bottom: 3px solid var(--gold);
}
.navbar-main .nav-link {
  color: #eaf3fa !important;
  font-weight: 500;
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
  color: var(--gold) !important;
}

.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--gold) 0%, var(--gold-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.brand-text-main {
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: 0.4px;
  line-height: 1.15;
  background: linear-gradient(180deg, #ffffff 0%, #d8f1fb 60%, var(--sky) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-text-sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.95;
}

/* =========================================================
   HERO TRANG CHU
   ========================================================= */
.hero-pro {
  position: relative;
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-light) 55%, var(--teal) 100%);
  padding: 3.2rem 1rem 5.5rem;
  overflow: hidden;
  border-radius: 0.75rem;
}
.hero-pro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 15%, rgba(251, 146, 60, 0.22), transparent 45%),
                     radial-gradient(circle at 10% 85%, rgba(255, 255, 255, 0.08), transparent 40%),
                     repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0px, rgba(255,255,255,0.035) 2px, transparent 2px, transparent 46px);
  pointer-events: none;
}
.hero-pro .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy-deep);
  background: var(--gold);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 0.72rem;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 30px;
  margin-bottom: 1rem;
}
.hero-pro h1 {
  color: #ffffff;
  font-weight: 800;
  font-size: 2.15rem;
  letter-spacing: 0.2px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  margin-bottom: 0.9rem;
}
.hero-pro p.lead-text {
  color: #dcebf4;
  font-size: 1.08rem;
  max-width: 580px;
  margin-bottom: 1.75rem;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
.hero-cta-row .btn {
  padding: 0.75rem 1.6rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0.5rem;
}
.hero-cta-row .btn-primary {
  box-shadow: 0 8px 22px rgba(251, 146, 60, 0.4);
}
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.hero-trust-row .trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #eaf3fa;
  font-size: 0.88rem;
  font-weight: 500;
}
.hero-trust-row .trust-item i {
  color: var(--gold);
  font-size: 1.1rem;
}
@media (min-width: 768px) {
  .hero-pro h1 { font-size: 2.9rem; }
}

/* duong song mong chuyen tiep hero -> noi dung, kieu vector don gian, khong hoat hinh */
.hero-wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
}
.hero-wave-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

.search-card {
  position: relative;
  margin-top: -4.5rem;
  z-index: 2;
}
.search-card .card {
  border-radius: 0.75rem;
  box-shadow: 0 14px 34px rgba(7, 42, 69, 0.18);
}
.search-card label.form-label,
.search-card .form-label-sm {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

/* =========================================================
   KHOI GIOI THIEU BAN DO KHAM PHA (o trang chu)
   ========================================================= */
.explore-map-teaser {
  background: linear-gradient(100deg, var(--sky) 0%, #e0f4ff 100%);
  border-radius: 0.9rem;
  padding: 2rem;
  border: 1px solid #d7ecf7;
}

/* =========================================================
   TIEU DE KHOI NOI DUNG (kieu "Tin tuc / Xem tat ca")
   ========================================================= */
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #e1e8ee;
}
.section-heading h2 {
  font-weight: 800;
  color: var(--navy-deep);
  font-size: 1.35rem;
  margin: 0;
  padding-left: 0.75rem;
  border-left: 5px solid var(--gold);
}
.section-heading a {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}
.section-heading a:hover { color: var(--gold-dark); }

/* =========================================================
   THE BAN TIN (nha hang / tau du lich)
   ========================================================= */
.listing-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 3px 10px rgba(7, 42, 69, 0.08);
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(7, 42, 69, 0.16);
}
.listing-thumb {
  height: 190px;
  object-fit: cover;
  width: 100%;
}
.listing-thumb-placeholder {
  position: relative;
  overflow: hidden;
  height: 190px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: rgba(255, 255, 255, 0.9);
}
.listing-thumb-placeholder.placeholder-hero { height: 380px; border-radius: 0.5rem; }
.listing-thumb-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.16) 1.6px, transparent 1.6px);
  background-size: 20px 20px;
  opacity: 0.7;
}
.listing-thumb-placeholder::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -28%;
  width: 65%;
  padding-top: 65%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.placeholder-icon-circle {
  position: relative;
  z-index: 1;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2), inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}
.listing-thumb-placeholder.placeholder-hero .placeholder-icon-circle {
  width: 100px;
  height: 100px;
  font-size: 2.8rem;
}
.placeholder-label {
  position: absolute;
  z-index: 1;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
/* Bang mau rieng cho tung loai hinh - dong bo voi bang do kham pha */
.placeholder-nha-hang { background: linear-gradient(135deg, #0ea5e9 0%, #0c4a6e 100%); }
.placeholder-khach-san { background: linear-gradient(135deg, #c084fc 0%, #7e22ce 100%); }
.placeholder-tau { background: linear-gradient(135deg, #22d3ee 0%, #0e7490 100%); }
.placeholder-diem { background: linear-gradient(135deg, #fb923c 0%, #c2410c 100%); }
.listing-type-ribbon {
  position: absolute;
  top: 0.75rem;
  left: 0;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.4px;
  padding: 0.28rem 0.75rem 0.28rem 0.6rem;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   KHU VUC "NOI BAT" (quang cao len top trang chu)
   ========================================================= */
.featured-section {
  padding: 1.75rem 1.5rem 2rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 60%, #fde9c8 100%);
  border: 1px solid #fbd98a;
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.12);
}
.featured-heading {
  border-bottom: 1px solid #f3d385;
}
.featured-heading h2 {
  border-left-color: #f59e0b;
  color: #92400e;
}
.featured-heading h2 i {
  color: #f59e0b;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}
.featured-card {
  position: relative;
  border: 2px solid #f7cd6b;
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.22);
}
.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(245, 158, 11, 0.32);
}
.featured-ribbon {
  position: absolute;
  z-index: 2;
  top: -0.6rem;
  right: 0.85rem;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #78350f;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.45);
}
.listing-card .card-title {
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 1.02rem;
}
.listing-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.listing-meta i { color: var(--teal); width: 1.1em; }

/* =========================================================
   KHOI "VI SAO CHON HA LONG XANH" - THUYET PHUC DANG KY
   ========================================================= */
.feature-section {
  padding: 3rem 0 1rem;
}
.feature-card {
  height: 100%;
  padding: 1.75rem 1.5rem;
  border-radius: 0.75rem;
  background: #ffffff;
  box-shadow: 0 3px 14px rgba(7, 42, 69, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(7, 42, 69, 0.14);
}
.feature-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(150deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(13, 72, 112, 0.3);
}
.feature-card h5 {
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* =========================================================
   BANNER KEU GOI DANG KY (CTA cuoi trang)
   ========================================================= */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 0.9rem;
  padding: 2.75rem 2rem;
  margin: 3rem 0 1rem;
  background: linear-gradient(120deg, var(--gold) 0%, #ffd166 100%);
  text-align: center;
  box-shadow: 0 16px 34px rgba(234, 88, 12, 0.28);
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.35), transparent 40%),
                     radial-gradient(circle at 90% 80%, rgba(7,42,69,0.08), transparent 45%);
  pointer-events: none;
}
.cta-banner h2 {
  position: relative;
  color: var(--navy-deep);
  font-weight: 800;
  font-size: 1.75rem;
  margin-bottom: 0.6rem;
}
.cta-banner p {
  position: relative;
  color: rgba(2, 48, 71, 0.8);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}
.cta-banner .btn {
  position: relative;
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #fff;
  font-weight: 700;
  padding: 0.8rem 2.2rem;
  border-radius: 0.5rem;
  font-size: 1.02rem;
}
.cta-banner .btn:hover {
  background: #051f34;
  border-color: #051f34;
}
@media (min-width: 768px) {
  .cta-banner h2 { font-size: 2.1rem; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer-pro {
  background: var(--navy-deep);
  color: #b9cbd8;
}
.footer-pro h6 {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.footer-pro a { color: #b9cbd8; text-decoration: none; }
.footer-pro a:hover { color: #ffffff; }
.footer-pro .footer-bottom {
  background: #051f34;
  font-size: 0.8rem;
  padding: 0.75rem 0;
  color: #8fa5b5;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.footer-brand .brand-badge { width: 36px; height: 36px; font-size: 1.05rem; }
.footer-brand span {
  font-weight: 800;
  color: #ffffff;
  font-size: 1.05rem;
}

footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* =========================================================
   THANH CTA CO DINH TREN DIEN THOAI (mobile)
   Luon hien khi cuon trang de khuyen khich khach goi dien
   hoac dang ky ngay - toi uu cho ngon tay bam, khong che
   noi dung phia duoi nho co dem padding o body.
   ========================================================= */
.mobile-cta-bar {
  display: none;
}
@media (max-width: 767.98px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    background: #ffffff;
    box-shadow: 0 -6px 18px rgba(2, 48, 71, 0.18);
    padding: 0.55rem 0.7rem;
    padding-bottom: calc(0.55rem + env(safe-area-inset-bottom));
    gap: 0.6rem;
  }
  .mobile-cta-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.72rem 0.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
  }
  .mobile-cta-bar .mcta-call {
    background: var(--bg-soft);
    color: var(--navy);
    border: 1.5px solid var(--navy-light);
  }
  .mobile-cta-bar .mcta-register {
    background: linear-gradient(120deg, var(--gold), var(--gold-dark));
    color: var(--navy-deep);
    box-shadow: 0 4px 12px rgba(251, 146, 60, 0.45);
  }
  body { padding-bottom: 68px; }
}

/* =========================================================
   TOI UU DIEN THOAI: chong iOS tu dong zoom khi bam vao o
   nhap, khoang cach thoang hon, nut du to de bam
   ========================================================= */
@media (max-width: 767.98px) {
  input.form-control,
  select.form-select,
  textarea.form-control {
    font-size: 16px;
  }
  .btn {
    min-height: 44px;
  }
  .hero-pro { padding: 2.2rem 1rem 4.5rem; }
  .hero-pro h1 { font-size: 1.6rem; }
  .hero-pro p.lead-text { font-size: 0.96rem; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; }
  .search-card { margin-top: -3.4rem; }
  .search-card .card { padding: 1.25rem !important; }
  .section-heading h2 { font-size: 1.12rem; }
  .cta-banner { padding: 2rem 1.25rem; }
  .cta-banner h2 { font-size: 1.35rem; }
  .topbar { display: none !important; }
}

/* luoi the tren tablet: 2 cot cho vua man hinh, desktop 3-4 cot */
@media (min-width: 576px) and (max-width: 991.98px) {
  .listing-card .card-title { font-size: 0.98rem; }
}

/* the dat cho tren trang chi tiet: dinh khi cuon o man hinh lon,
   tro ve binh thuong tren dien thoai/may tinh bang de tranh
   che noi dung khi cuon */
.booking-sticky {
  position: sticky;
  top: 90px;
}
@media (max-width: 991.98px) {
  .booking-sticky {
    position: static;
    top: auto;
  }
}

/* =========================================================
   NUT ZALO NOI - luon hien de khach lien he tu van nhanh
   ========================================================= */
.zalo-float {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 1040;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(160deg, #0091ff 0%, #0068ff 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 104, 255, 0.45);
  animation: zalo-pulse 2.4s ease-in-out infinite;
  overflow: hidden;
}
.zalo-float:hover {
  color: #fff;
  transform: scale(1.06);
}
.zalo-float-label {
  position: absolute;
  right: 68px;
  bottom: 16px;
  background: var(--navy-deep);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.zalo-float:hover .zalo-float-label {
  opacity: 1;
}
@keyframes zalo-pulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(0, 104, 255, 0.45), 0 0 0 0 rgba(0, 104, 255, 0.4); }
  50% { box-shadow: 0 8px 20px rgba(0, 104, 255, 0.45), 0 0 0 10px rgba(0, 104, 255, 0); }
}
@media (max-width: 767.98px) {
  .zalo-float {
    bottom: 82px;
    right: 14px;
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }
  .zalo-float-label { display: none; }
}

/* =========================================================
   BAN DO KHAM PHA (Leaflet)
   ========================================================= */
.explore-map-canvas {
  height: 62vh;
  min-height: 380px;
  border-radius: 0.9rem;
  overflow: hidden;
  z-index: 1;
}
.explore-map-empty {
  background: #fff;
  border-radius: 0.9rem;
}
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.map-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}
.map-legend-item input { cursor: pointer; }
.map-legend .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-nha-hang { background: #0284c7; }
.dot-khach-san { background: #a855f7; }
.dot-tau { background: #22d3ee; }
.dot-diem { background: #fb923c; }

.map-pin {
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
  border: 2px solid #fff;
}
.map-pin i {
  transform: rotate(45deg);
  color: #fff;
  font-size: 1rem;
}
.map-popup { min-width: 180px; }
.map-popup-badge {
  display: inline-block;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 20px;
  margin-bottom: 0.35rem;
}
.map-popup h6 {
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.25rem;
}
.map-popup p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
