:root {
  --nen: #f8fafc;
  --chu: #0f172a;
  --chu-phu: #64748b;
  --xanh: #8b5cf6;
  --xanh-dam: #7c3aed;
  --vang: #f3b562;
  --trang: #ffffff;
  --vien: #e2e8f0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  color: var(--chu);
  background: var(--nen);
  font-family: "Segoe UI", Tahoma, sans-serif;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select {
  font: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button:active,
.nut-dat-phong:active,
.nut-xem-chi-tiet:active,
.nut-vi-tri:active,
.nut-tim:active,
.nut-xac-nhan:active {
  transform: scale(0.97);
  transition: transform 0.08s ease;
}

.thanh-dau {
  background: rgba(18, 11, 36, 0.94);
  border-bottom: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow: 0 8px 30px rgba(18, 7, 34, 0.35);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
}

.khung-dau {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.logo-kara img {
  width: 118px;
  border-radius: 12px;
}
.khung-dau > .logo-kara {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
}
.khung-dau > .logo-kara img {
  width: 76px;
  height: 42px;
  object-fit: cover;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(24, 11, 42, 0.2);
}
.ten-thuong-hieu {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.015em;
  white-space: nowrap;
}
.menu-ngang {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: auto;
  list-style: none;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

.menu-ngang > li {
  position: relative;
}

.menu-con {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  display: none;
  min-width: 210px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 35px rgba(24, 11, 42, 0.2);
}

.co-menu-con:hover .menu-con,
.co-menu-con:focus-within .menu-con {
  display: block;
}

.menu-ngang .menu-con a {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  padding: 9px 11px;
  color: #1e293b;
  font-size: 0.86rem;
  white-space: nowrap;
  border-radius: 7px;
}

.menu-ngang .menu-con a:hover,
.menu-ngang .menu-con a:focus-visible {
  color: #7c3aed;
  background: #f3e8ff;
}

.menu-ngang a {
  padding: 10px 14px;
  color: #e2e8f0;
  font-size: 0.92rem;
  font-weight: 650;
  border-radius: 9px;
  transition: all 0.2s ease;
}
.menu-ngang a:hover,
.menu-ngang .dang-chon {
  color: #ffffff;
  background: rgba(168, 85, 247, 0.22);
}

.menu-ngang .menu-cha {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: #e2e8f0 !important;
  font-size: 0.92rem;
  font-weight: 650;
  border-radius: 9px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.menu-ngang .co-menu-con:hover > .menu-cha,
.menu-ngang .co-menu-con:focus-within > .menu-cha,
.menu-ngang .co-menu-con.dang-mo > .menu-cha {
  color: #ffffff !important;
  background: rgba(168, 85, 247, 0.25) !important;
  border-color: rgba(168, 85, 247, 0.5) !important;
}
.tai-khoan {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 700;
}
.tai-khoan a {
  color: #e2e8f0;
}
.tai-khoan a:hover {
  color: #ffffff;
}
.tai-khoan[hidden] {
  display: none;
}
.menu-tai-khoan {
  position: relative;
}
.nut-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 9px;
  place-items: center;
  color: var(--xanh-dam);
  background: #e8f5f5;
  border: 1px solid var(--vien);
  border-radius: 50%;
  cursor: pointer;
}
.nut-avatar svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}
.menu-tai-khoan-noi-dung {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  display: none;
  width: 210px;
  padding: 7px;
  background: #fff;
  border: 1px solid var(--vien);
  border-radius: 12px;
  box-shadow: 0 14px 34px #102a3a24;
}
.menu-tai-khoan:hover .menu-tai-khoan-noi-dung,
.menu-tai-khoan:focus-within .menu-tai-khoan-noi-dung,
.menu-tai-khoan.dang-mo .menu-tai-khoan-noi-dung {
  display: grid;
}
.menu-tai-khoan-noi-dung a,
.nut-menu-dang-xuat,
.nut-menu-thong-bao {
  padding: 11px 12px;
  color: #263746;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.menu-tai-khoan-noi-dung a:hover,
.nut-menu-dang-xuat:hover,
.nut-menu-thong-bao:hover {
  background: #eef7f8;
}
.nut-menu-dang-xuat {
  color: #b42318;
}
.nut-dang-nhap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  color: #ffffff !important;
  background: rgba(168, 85, 247, 0.18) !important;
  border: 1px solid rgba(168, 85, 247, 0.45) !important;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.25s ease;
}
.nut-dang-nhap:hover {
  color: #ffffff !important;
  background: rgba(168, 85, 247, 0.35) !important;
  border-color: #c084fc !important;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.4);
}
.nut-dang-ky {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  color: #fff !important;
  background: linear-gradient(135deg, #a855f7, #7c3aed) !important;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.4);
  transition: all 0.25s ease;
}
.nut-dang-ky:hover {
  background: linear-gradient(135deg, #9333ea, #6d28d9) !important;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.55);
}

/* Khung thông báo trong menu tài khoản */
.menu-tai-khoan-noi-dung {
  box-sizing: border-box;
  grid-template-columns: minmax(0, 1fr);
  width: min(330px, calc(100vw - 32px));
  padding: 8px;
}
.nut-menu-thong-bao {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 11px 13px;
  color: #173c50;
  background: #edf6f7;
  font-size: 0.96rem;
}
.nut-menu-thong-bao:hover {
  background: #e2f0f1;
}
.danh-sach-thong-bao {
  box-sizing: border-box;
  width: 100%;
  max-height: min(360px, 60vh);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 2px 12px;
  color: #344054;
  border: 1px solid #e4edf0;
  border-radius: 0 0 11px 11px;
  background: #fff;
  font-size: 0.9rem;
  line-height: 1.45;
}
.muc-thong-bao {
  padding: 12px 3px;
  overflow-wrap: anywhere;
  border-bottom: 1px solid #e9eff2;
}
.muc-thong-bao:last-child {
  border-bottom: 0;
}
.muc-thong-bao.chua-doc {
  margin: 0 -8px;
  padding-right: 11px;
  padding-left: 11px;
  color: #075985;
  background: #f0f8fa;
  font-weight: 650;
}
.thoi-gian-thong-bao {
  margin-top: 5px;
  color: #718096;
  font-size: 0.76rem;
  font-weight: 400;
}

.khu-vuc-tim-kiem {
  padding: 76px max(20px, calc((100% - 1180px) / 2)) 38px;
  background: linear-gradient(125deg, #dff4f1 0%, #f4f8fa 58%, #fff1d9 100%);
}

.loi-gioi-thieu {
  max-width: 670px;
}
.nhan-nho {
  margin: 0 0 11px;
  color: var(--xanh);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.loi-gioi-thieu h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}
.loi-gioi-thieu > p:last-child {
  max-width: 540px;
  margin: 20px 0 0;
  color: var(--chu-phu);
  line-height: 1.7;
}

.bo-loc {
  max-width: 1180px;
  margin: 38px auto 0;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 220px minmax(190px, auto) auto;
  gap: 15px;
  align-items: end;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(41, 84, 91, 0.1);
}
.truong-tim-kiem {
  display: grid;
  gap: 8px;
}
.truong-tim-kiem label {
  color: var(--chu-phu);
  font-size: 0.78rem;
  font-weight: 750;
}
.o-tim-kiem {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--vien);
  border-radius: 8px;
  background: var(--trang);
}
.o-tim-kiem span {
  color: var(--xanh);
  font-size: 1.4rem;
}
.o-tim-kiem input,
.truong-khu-vuc select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--vien);
  border-radius: 8px;
  outline: 0;
  color: var(--chu);
  background: var(--trang);
  padding: 0 13px;
}
.o-tim-kiem input {
  min-height: auto;
  padding: 0;
  border: 0;
}
.o-tim-kiem:focus-within,
.truong-khu-vuc select:focus {
  border-color: var(--xanh);
  box-shadow: 0 0 0 3px rgba(8, 126, 139, 0.12);
}
.nut-tim {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 24px;
  color: #fff;
  background: var(--xanh-dam);
  font-weight: 750;
  cursor: pointer;
}
.nut-tim:hover {
  background: var(--xanh);
}
/* Banner thong bao xin quyen vi tri to ro rang */
.hop-thong-bao-vi-tri {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 24px;
  padding: 16px 22px;
  background: linear-gradient(135deg, #f0fdfa 0%, #e6fffa 100%);
  border: 1.5px solid #2dd4bf;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.12);
  transition: all 0.25s ease;
}

.hop-thong-bao-vi-tri[hidden] {
  display: none !important;
}

.noi-dung-thong-bao-vi-tri {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.bieu-tuong-vi-tri-banner {
  font-size: 1.85rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ccfbf1;
  border: 1.5px solid #99f6e4;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.15);
}

.chu-thong-bao-vi-tri {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tieu-de-thong-bao-vi-tri {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f766e;
  line-height: 1.35;
}

.mo-ta-thong-bao-vi-tri {
  margin: 0;
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.45;
}

.cac-nut-thong-bao-vi-tri {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nut-xac-nhan-vi-tri {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f766e, #0d9488);
  color: #ffffff;
  font-weight: 750;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(13, 148, 136, 0.28);
  transition: all 0.18s ease;
  touch-action: manipulation;
}

.nut-xac-nhan-vi-tri:hover {
  background: #0f766e;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(13, 148, 136, 0.35);
}

.nut-xac-nhan-vi-tri:active {
  transform: scale(0.97);
}

.nut-dong-thong-bao-vi-tri {
  padding: 9px 15px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: #64748b;
  font-weight: 650;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.18s ease;
  touch-action: manipulation;
}

.nut-dong-thong-bao-vi-tri:hover {
  background: #f1f5f9;
  color: #1e293b;
}

@media (max-width: 768px) {
  .hop-thong-bao-vi-tri {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 14px;
    margin-bottom: 18px;
  }
  .noi-dung-thong-bao-vi-tri {
    gap: 12px;
  }
  .bieu-tuong-vi-tri-banner {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  .tieu-de-thong-bao-vi-tri {
    font-size: 0.98rem;
  }
  .mo-ta-thong-bao-vi-tri {
    font-size: 0.82rem;
  }
  .cac-nut-thong-bao-vi-tri {
    width: 100%;
  }
  .nut-xac-nhan-vi-tri {
    flex: 1;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.86rem;
  }
  .nut-dong-thong-bao-vi-tri {
    padding: 10px 14px;
    font-size: 0.84rem;
  }
}

.chon-vi-tri {
  display: flex;
  align-self: end;
}
.nut-vi-tri {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--xanh-dam);
  border-radius: 8px;
  color: var(--xanh-dam);
  background: #e9f7f3;
  font: inherit;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}
.nut-vi-tri:hover,
.nut-vi-tri[aria-pressed="true"] {
  color: #fff;
  background: var(--xanh-dam);
}
.nut-vi-tri:disabled {
  cursor: wait;
  opacity: 0.75;
}
.nut-vi-tri span {
  margin-right: 5px;
  font-size: 1.15rem;
}
.trang-thai-vi-tri {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.danh-sach-khu-vuc {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 16px 80px;
  box-sizing: border-box;
}
.dau-danh-sach {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.dau-danh-sach .nhan-nho {
  margin-bottom: 7px;
}
.dau-danh-sach h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0;
}
.so-luong {
  margin: 0 0 5px;
  color: var(--chu-phu);
  font-size: 0.9rem;
}
.luoi-quan {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.the-quan {
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 14px;
  background: var(--trang);
  border: 1px solid var(--vien);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(27, 58, 68, 0.05);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.phan-tren-the-quan {
  display: flex;
  flex-direction: column;
}
.khung-anh-quan {
  position: relative;
  width: 100%;
  min-height: 220px;
  max-height: 220px;
  margin: 0 0 12px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #287b7d, #d88a52);
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}
.khung-anh-quan img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.the-quan:hover .khung-anh-quan img {
  transform: scale(1.035);
}
.noi-dung-anh-quan {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  background: linear-gradient(180deg, transparent 48%, rgba(8, 24, 31, 0.64));
}
.nhan-tren-anh {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.nhan-tren-anh .chi-tiet-quan {
  margin: 0;
  padding: 0;
  border: 0;
}
.nhan-tren-anh .chi-tiet-quan > div {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 6px 8px;
  color: #263c3c;
  background: #f8d77a;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  white-space: nowrap;
}
.nhan-tren-anh .chi-tiet-quan span {
  font-size: 0.62rem;
  font-weight: 700;
}
.nhan-tren-anh .chi-tiet-quan strong {
  display: inline;
  margin: 0;
  color: #183434;
  font-size: 0.88rem;
}
.thong-tin-anh-quan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.thong-tin-anh-quan > h3,
.thong-tin-anh-quan > .hang-danh-gia,
.thong-tin-anh-quan > .dia-chi {
  width: fit-content;
  max-width: 100%;
  padding: 7px 9px;
  background: rgba(10, 30, 40, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 7px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(5px);
}
.the-quan .thong-tin-anh-quan h3 {
  margin: 0;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.2;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
}
.thong-tin-anh-quan .hang-danh-gia {
  margin: 0;
}
.thong-tin-anh-quan .so-luot-danh-gia {
  color: rgba(255, 255, 255, 0.88);
}
.thong-tin-anh-quan .dia-chi {
  min-height: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
}
.thong-tin-anh-quan .chi-tiet-quan {
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
}
.thong-tin-anh-quan .chi-tiet-quan strong {
  color: #fff;
}
.huy-hieu-noi-bat-ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  user-select: none;
}
.tieu-de-the-quan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 6px 0 10px;
}

.ten-quan-card {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.huy-hieu-noi-bat-inline {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  background: #fef3c7;
  color: #b45309;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: 999px;
  border: 1px solid #fde68a;
  white-space: nowrap;
  flex-shrink: 0;
}

.hang-trang-thai-quan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.hang-trang-thai-quan .nhan-trang-thai {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.hang-trang-thai-quan .nhan-trang-thai.nhan-hoat-dong {
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
.hang-trang-thai-quan .nhan-trang-thai.nhan-tam-ngung {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.hang-trang-thai-quan .cham-trang-thai {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: chamNhayLive 2s infinite ease-in-out;
}
.hang-trang-thai-quan .nhan-tam-ngung .cham-trang-thai {
  background: #ef4444;
  animation: none;
}
@keyframes chamNhayLive {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Huy hiệu giảm giá phân cấp bậc thành viên: Bậc càng cao càng đẹp */
.huy-hieu-giam-bac {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  line-height: 1.3;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  user-select: none;
  cursor: default;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.huy-hieu-giam-bac:hover {
  transform: translateY(-1px) scale(1.02);
}
.huy-hieu-giam-bac .icon-bac {
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}
.huy-hieu-giam-bac .ten-bac {
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 0.76rem;
}
.huy-hieu-giam-bac .chu-giam {
  font-weight: 600;
  font-size: 0.74rem;
  opacity: 0.9;
}
.huy-hieu-giam-bac .so-giam {
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: -0.2px;
}

/* Bậc 1: Normal - Thanh lịch, bạc titan tối giản */
.huy-hieu-bac-normal {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #334155;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 4px rgba(100, 116, 139, 0.12);
}
.huy-hieu-bac-normal .ten-bac {
  color: #1e293b;
}
.huy-hieu-bac-normal .so-giam {
  color: #0f172a;
}

/* Bậc 2: VIP - Hoàng kim rực rỡ, viền vàng ánh kim */
.huy-hieu-bac-vip {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 40%, #fde68a 100%);
  color: #78350f;
  border: 1px solid #f59e0b;
  box-shadow:
    0 3px 10px rgba(245, 158, 11, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.huy-hieu-bac-vip .icon-bac {
  animation: vipFloat 2.6s ease-in-out infinite alternate;
}
.huy-hieu-bac-vip .ten-bac {
  color: #b45309;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.huy-hieu-bac-vip .so-giam {
  color: #92400e;
}
@keyframes vipFloat {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-1.5px);
  }
}

/* Bậc 3: SVIP - Đẳng cấp kim cương hoàng gia tím vàng + hiệu ứng vệt sáng lấp lánh (Shimmer) */
.huy-hieu-bac-svip {
  background: linear-gradient(
    135deg,
    #2e0854 0%,
    #581c87 40%,
    #7e22ce 70%,
    #d97706 100%
  );
  color: #ffffff;
  border: 1px solid rgba(251, 191, 36, 0.65);
  box-shadow:
    0 4px 14px rgba(126, 34, 206, 0.38),
    0 0 12px rgba(251, 191, 36, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.45);
}
.huy-hieu-bac-svip .icon-bac {
  animation: svipDiamondSpin 3s ease-in-out infinite alternate;
}
.huy-hieu-bac-svip .ten-bac {
  color: #fbbf24;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.5px;
}
.huy-hieu-bac-svip .chu-giam {
  color: #f3e8ff;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.huy-hieu-bac-svip .so-giam {
  color: #fef08a;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  font-weight: 900;
}
.huy-hieu-bac-svip::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-22deg);
  animation: svipShimmer 3.2s infinite ease-in-out;
}
@keyframes svipShimmer {
  0%,
  35% {
    left: -120%;
  }
  75%,
  100% {
    left: 170%;
  }
}
@keyframes svipDiamondSpin {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  50% {
    transform: translateY(-1.5px) scale(1.1) rotate(4deg);
  }
  100% {
    transform: translateY(0) scale(1) rotate(-4deg);
  }
}

.nut-mo-danh-gia {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 4px 9px;
  border-radius: 999px;
  cursor: pointer;
  width: fit-content;
  font-family: inherit;
  transition: all 0.2s ease;
  text-align: left;
}
.nut-mo-danh-gia:hover {
  background: #fef3c7;
  border-color: #f59e0b;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(245, 158, 11, 0.2);
}
.nut-mo-danh-gia .sao-danh-gia {
  color: #d97706;
  font-weight: 800;
  font-size: 0.84rem;
}
.nut-mo-danh-gia .so-luot-danh-gia {
  color: #92400e;
  font-size: 0.76rem;
  font-weight: 600;
}
.nut-mo-danh-gia .icon-bam-xem {
  color: #b45309;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.16);
  padding: 1px 6px;
  border-radius: 6px;
  margin-left: 1px;
}
.thong-tin-the-quan {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.hang-danh-gia-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dia-chi-quan-dong {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.45;
  color: #475569;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px;
}

.dia-chi-quan-dong .icon-pin {
  font-size: 0.85rem;
  margin-right: 2px;
}

.dia-chi-quan-dong .chu-dia-chi {
  font-weight: 500;
  color: #334155;
}

.dia-chi-quan-dong .khoang-cach-km {
  font-weight: 700;
  color: #0f766e;
}

/* Dải ưu đãi thành viên dạng Banner mượt mà */
.dai-uu-dai-deal {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  margin: 4px 0 12px;
  font-size: 0.8rem;
  line-height: 1.4;
  transition: transform 0.2s ease;
}
.dai-uu-dai-deal:hover {
  transform: translateY(-1px);
}
.dai-uu-dai-deal .icon-bac {
  font-size: 1.1rem;
  flex-shrink: 0;
}
.dai-uu-dai-deal .noi-dung-deal {
  flex: 1;
}

/* Tông màu deal theo bậc thành viên */
.dai-deal-normal {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
}
.dai-deal-normal strong {
  color: #0f172a;
}

.dai-deal-vip {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  color: #92400e;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.12);
}
.dai-deal-vip strong {
  color: #b45309;
}

.dai-deal-svip {
  background: linear-gradient(135deg, #2e0854 0%, #4c1d95 60%, #b45309 100%);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(76, 29, 149, 0.25);
}
.dai-deal-svip strong {
  color: #fde047;
}

/* Cảnh báo quán tạm ngưng nhận khách */
.banner-tam-ngung {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 9px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 4px 0 12px;
}
.banner-tam-ngung .cham-tam-ngung {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
}

.hanh-dong-the-quan {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.hanh-dong-the-quan .nut-xem-chi-tiet,
.hanh-dong-the-quan .nut-dat-phong {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  margin: 0;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}
.hanh-dong-the-quan .nut-xem-chi-tiet {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
}
.hanh-dong-the-quan .nut-xem-chi-tiet:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}
.hanh-dong-the-quan .nut-dat-phong {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.28);
}
.hanh-dong-the-quan .nut-dat-phong:hover:not(:disabled) {
  background: linear-gradient(135deg, #9333ea 0%, #6d28d9 100%);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.42);
  transform: translateY(-1px);
}
.hanh-dong-the-quan .nut-dat-phong:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #94a3b8;
  box-shadow: none;
}
.the-quan:hover {
  transform: translateY(-4px);
  box-shadow: 0 17px 32px rgba(27, 58, 68, 0.13);
}
.dau-the-quan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.nhan-trang-thai {
  align-self: flex-start;
  padding: 6px 9px;
  color: #23704c;
  background: #e4f5e9;
  border-radius: 5px;
  font-size: 0.69rem;
  font-weight: 800;
}
.the-quan h3 {
  margin: 20px 0 10px;
  font-size: 1.22rem;
}
.dia-chi {
  min-height: 44px;
  margin: 0;
  color: var(--chu-phu);
  font-size: 0.9rem;
  line-height: 1.55;
}
.hang-khoang-cach-maps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.khoang-cach-quan {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin: 0;
  padding: 4px 10px;
  background: #e6f7f5;
  color: #0f766e;
  border: 1px solid #bbf0ea;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 750;
}
.nut-chi-duong-maps {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 7px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: none;
  transition: all 0.15s ease;
  touch-action: manipulation;
}
.nut-chi-duong-maps:hover {
  background: #dbeafe;
  color: #1e40af;
  border-color: #93c5fd;
  transform: translateY(-1px);
}
.nut-chi-duong-maps:active {
  transform: scale(0.97);
}
.chi-tiet-quan {
  display: flex;
  gap: 16px;
  margin: auto 0 20px;
  padding-top: 18px;
  border-top: 1px solid #edf2f3;
  color: var(--chu-phu);
  font-size: 0.82rem;
}

.danh-sach-phong {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.muc-phong {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 2px 8px;
  align-items: center;
}

.muc-phong .anh-phong {
  grid-row: span 2;
  width: 52px;
  height: 42px;
  overflow: hidden;
  border-radius: 7px;
  color: #82909a;
  background: #eef4f5;
  font-size: 0.62rem;
  text-align: center;
}

.muc-phong .anh-phong img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.muc-phong span {
  color: var(--chu-phu);
  font-size: 0.76rem;
}

.muc-phong strong {
  color: var(--xanh-dam);
  font-size: 0.82rem;
}
.chi-tiet-quan strong {
  display: block;
  margin-top: 3px;
  color: var(--chu);
  font-size: 0.92rem;
}
.nut-dat-phong {
  display: block;
  width: 100%;
  border: 0;
  padding: 11px;
  color: var(--xanh-dam);
  background: #edf8f7;
  border-radius: 7px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 750;
  cursor: pointer;
}
.nut-xem-chi-tiet {
  display: block;
  width: 100%;
  margin: 2px 0 8px;
  padding: 10px;
  color: var(--xanh-dam);
  background: #fff;
  border: 1px solid #cfe3e4;
  border-radius: 7px;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.nut-xem-chi-tiet:hover {
  background: #f1f8f7;
  border-color: var(--xanh);
}
.nut-dat-phong:hover {
  color: #fff;
  background: var(--xanh);
}
.nut-dat-phong:disabled {
  color: var(--chu-phu);
  background: #edf1f2;
  cursor: not-allowed;
}
.khong-co-ket-qua {
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(8px);
}
.khung-tim-kiem-trong {
  max-width: 500px;
  margin: 0 auto;
}
.khung-tim-kiem-trong span {
  color: var(--xanh);
  font-size: 2.2rem;
}
.khung-tim-kiem-trong h3 {
  margin: 12px 0 6px;
  color: #1e293b;
  font-size: 1.25rem;
}
.khung-tim-kiem-trong p {
  margin: 0 0 20px;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Giao diện trạng thái: Quận đang khảo sát mở rộng */
.khung-khao-sat-khu-vuc {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.icon-khao-sat-lon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.nhan-huy-hieu-khao-sat {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0284c7;
  background: #e0f2fe;
  border-radius: 999px;
  margin-bottom: 12px;
}
.tieu-de-khao-sat {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px;
  line-height: 1.35;
}
.tieu-de-khao-sat span {
  color: #0284c7;
  text-decoration: underline;
  text-decoration-color: #bae6fd;
  text-underline-offset: 4px;
}
.mo-ta-khao-sat {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 24px;
}
.mo-ta-khao-sat strong {
  color: #1e293b;
}
.hop-hanh-dong-khao-sat {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.nut-hanh-dong-khao-sat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.nut-ve-tat-ca-quan {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}
.nut-ve-tat-ca-quan:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
}
.nut-chu-quan-lien-he {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.nut-chu-quan-lien-he:hover {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
  transform: translateY(-1px);
}

/* Thẻ Đối Tác (ShopeeFood / Grab style) đặt ở cuối danh sách quán */
.the-quan-doi-tac {
  background: linear-gradient(180deg, #ffffff 0%, #fffdfa 100%);
  border: 1.5px dashed #f59e0b;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.the-quan-doi-tac:hover {
  border-color: #d97706;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.16);
  transform: translateY(-2px);
}
.the-quan-doi-tac .ten-quan-card {
  white-space: normal !important;
  line-height: 1.35 !important;
  font-size: 1.05rem !important;
}
.khung-anh-doi-tac {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  padding: 6px 4px !important;
  overflow: hidden;
}
.noi-dung-anh-doi-tac {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
}
.icon-doi-tac-lon {
  font-size: 2.2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}
.nhan-doi-tac-badge {
  display: inline-block;
  padding: 2px 6px;
  background: rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #fbbf24;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  max-width: 90%;
}
.nhan-mien-phi-ket-noi {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #d97706;
  background: #fef3c7;
  padding: 4px 10px;
  border-radius: 6px;
}
.dai-deal-doi-tac {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  margin-top: 8px;
}
.the-quan-doi-tac .hanh-dong-the-quan {
  display: block !important;
  grid-template-columns: none !important;
  width: 100% !important;
}
.nut-dang-ky-doi-tac {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100% !important;
  grid-column: 1 / -1;
  padding: 11px 18px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.94rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.nut-dang-ky-doi-tac:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
  transform: translateY(-1px);
}

/* Banner hiển thị khi quận có ít quán đối tác */
.banner-it-quan-khao-sat {
  margin-top: 28px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0284c7;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.banner-it-quan-khao-sat[hidden] {
  display: none;
}
.icon-it-quan {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.noi-dung-it-quan strong {
  display: block;
  font-size: 0.96rem;
  color: #0f172a;
  margin-bottom: 4px;
}
.noi-dung-it-quan p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #475569;
}
.noi-dung-it-quan a {
  color: #0284c7;
  font-weight: 700;
  text-decoration: underline;
}
.noi-dung-it-quan a:hover {
  color: #0369a1;
}

.nut-xoa-loc {
  border: 0;
  padding: 10px 18px;
  color: var(--xanh-dam);
  background: #dff2ef;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.nut-xoa-loc:hover {
  background: #c9ede8;
}
.khoa-cuon {
  overflow: hidden;
}
.lop-phu {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(11, 36, 43, 0.62);
  overflow-y: auto;
}
.lop-phu[hidden] {
  display: none;
}
.lop-phu-anh-phong {
  z-index: 30;
}
.hop-xem-anh-phong {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(1000px, 100%);
  max-height: 92vh;
  padding: 18px;
  overflow: auto;
  color: #fff;
  background: #102a32;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}
.hop-xem-anh-phong h2 {
  margin: 0;
  padding-right: 42px;
  font-size: 1rem;
}
.anh-phong-phong-to {
  display: block;
  width: 100%;
  max-height: calc(92vh - 92px);
  object-fit: contain;
  border-radius: 7px;
  background: #07171c;
}
.hop-dat-phong {
  position: relative;
  width: min(570px, 100%);
  padding: 34px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 25px 80px rgba(4, 31, 37, 0.28);
}
.hop-dat-phong .nhan-nho {
  margin-bottom: 8px;
}
.hop-dat-phong h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0;
}
.hop-dat-phong h2 span {
  color: var(--xanh);
}
.gia-quan-chon {
  display: none !important;
}

.ghi-chu-loai-phong {
  display: block;
  margin-top: -7px;
  color: var(--chu-phu);
  font-size: 0.76rem;
  line-height: 1.45;
}

.chi-tiet-phong {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 24px;
  padding: 16px 0;
  border-top: 1px solid #edf2f3;
  border-bottom: 1px solid #edf2f3;
}

.tuy-chon-phong {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 10px;
  border: 1px solid #d7e8e8;
  border-radius: 9px;
  color: var(--chu);
  background: #fbfefe;
  text-align: left;
}

.tuy-chon-phong:hover {
  border-color: var(--xanh);
  background: #edf9f7;
}

.nut-xem-anh-phong {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: zoom-in;
}
.nut-xem-anh-phong:focus-visible,
.nhan-chon-phong:focus-visible {
  outline: 3px solid rgba(8, 126, 139, 0.35);
  outline-offset: 2px;
}
.tuy-chon-phong .anh-phong {
  display: grid;
  width: 100%;
  height: 118px;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  color: var(--chu-phu);
  background: #eef4f5;
  font-size: 0.68rem;
}

.tuy-chon-phong .anh-phong img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.tuy-chon-phong .anh-phong.anh-logo-wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.tuy-chon-phong .anh-phong.anh-logo-wrap img {
  object-fit: contain;
  padding: 14px;
}

.nut-xem-anh-phong:hover .anh-phong img {
  transform: scale(1.045);
}

.ten-loai-phong {
  color: var(--chu);
  font-weight: 750;
}

.tuy-chon-phong strong {
  color: var(--xanh-dam);
  font-size: 0.85rem;
}

.chu-gia-lien-he {
  color: #087e8b !important;
  font-weight: 700;
  font-size: 0.84rem;
  background: rgba(8, 126, 139, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
}

.nhan-chon-phong {
  width: fit-content;
  min-height: 0;
  padding: 0;
  color: var(--chu-phu);
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 0.75rem;
  text-align: left;
  cursor: pointer;
}
.nhan-chon-phong:hover {
  color: var(--xanh-dam);
}
.mo-ta-bieu-mau {
  margin: 10px 0 25px;
  color: var(--chu-phu);
  font-size: 0.9rem;
}
.nut-dong {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: var(--chu-phu);
  background: #edf4f4;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.bieu-mau-dat-phong {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.bieu-mau-dat-phong[hidden],
.gia-quan-chon[hidden] {
  display: none;
}
.nhom-truong-form {
  display: grid;
  align-content: start;
  gap: 7px;
}
.nhom-rong,
.nut-xac-nhan {
  grid-column: 1 / -1;
}
.nhom-truong-form label {
  color: var(--chu-phu);
  font-size: 0.78rem;
  font-weight: 750;
}
.nhom-truong-form input,
.nhom-truong-form select {
  width: 100%;
  height: 45px;
  min-height: 45px;
  padding: 0 12px;
  border: 1px solid var(--vien);
  border-radius: 7px;
  outline: 0;
  color: var(--chu);
  background: #fff;
}
.nhom-truong-form input:focus,
.nhom-truong-form select:focus,
.nhom-truong-form textarea:focus {
  border-color: var(--xanh);
  box-shadow: 0 0 0 3px rgba(8, 126, 139, 0.12);
}
.nhom-truong-form textarea {
  width: 100%;
  min-height: 68px;
  padding: 10px 12px;
  border: 1px solid var(--vien);
  border-radius: 7px;
  outline: 0;
  color: var(--chu);
  background: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  resize: vertical;
  box-sizing: border-box;
}
.nut-xac-nhan {
  min-height: 47px;
  margin-top: 5px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--xanh-dam);
  font-weight: 750;
  cursor: pointer;
}
.nut-xac-nhan:hover {
  background: var(--xanh);
}
.nut-phan-hoi-de-xuat {
  min-height: 42px;
  margin: 8px 6px 0 0;
  padding: 0 15px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.2s;
}
.nut-phan-hoi-de-xuat:hover {
  transform: translateY(-1px);
}
.nut-phan-hoi-de-xuat:nth-of-type(1) {
  background: #64748b;
}
.nut-phan-hoi-de-xuat:nth-of-type(1):hover {
  background: #475569;
}
.nut-phan-hoi-de-xuat:nth-of-type(2) {
  background: #16804a;
}
.nut-phan-hoi-de-xuat:nth-of-type(2):hover {
  background: #11643a;
}
.nut-phan-hoi-de-xuat:nth-of-type(3) {
  background: #c2413b;
}
.nut-phan-hoi-de-xuat:nth-of-type(3):hover {
  background: #9f302b;
}
.nut-phan-hoi-de-xuat:disabled {
  opacity: 0.6;
  cursor: wait;
}
.lop-phu.cho-phan-hoi-de-xuat {
  z-index: 1000;
  background: rgba(11, 36, 43, 0.82);
}
.cho-phan-hoi-de-xuat .hop-dat-phong {
  width: min(560px, 100%);
  border: 2px solid #087e8b;
  box-shadow: 0 28px 90px rgba(4, 31, 37, 0.45);
}
.cho-phan-hoi-de-xuat .hop-dat-phong h2 {
  padding-right: 20px;
  color: #087e68;
  font-family: inherit;
  font-size: 1.55rem;
  font-weight: 800;
}
.cho-phan-hoi-de-xuat .mo-ta-bieu-mau {
  margin: 16px 0 12px;
  font-size: 1rem;
  line-height: 1.6;
}
.cho-phan-hoi-de-xuat .phan-hoi-de-xuat {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.cho-phan-hoi-de-xuat .nut-phan-hoi-de-xuat {
  min-height: 48px;
  margin: 0;
  font-size: 1rem;
}
.thong-bao-dat-phong {
  min-height: 18px;
  margin: 14px 0 0;
  color: #23704c;
  font-size: 0.84rem;
  text-align: center;
}

.thong-bao-dat-phong.thong-bao-loi {
  color: #b42318;
  font-weight: 700;
}
.chan-trang {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px max(20px, calc((100% - 1180px) / 2));
  color: #dbe9eb;
  background: #12343b;
  font-size: 0.82rem;
}
.chan-trang p {
  margin: 0;
}
.chan-trang a {
  color: #a9e4df;
}

@media (max-width: 1050px) {
  .khung-dau {
    width: calc(100% - 28px);
    flex-wrap: wrap;
    gap: 13px 20px;
    padding: 12px 0;
  }
  .menu-ngang {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow: auto;
  }
  .khung-dau > .logo-kara img {
    width: 66px;
  }
  .khung-dau > .logo-kara .ten-thuong-hieu {
    font-size: 0.94rem;
  }
  .menu-ngang a {
    padding: 8px 9px;
    white-space: nowrap;
  }
  .tai-khoan {
    margin-left: auto;
  }
  .khu-vuc-tim-kiem {
    padding-top: 50px;
  }
  .bo-loc {
    grid-template-columns: 1fr;
  }
  .luoi-quan {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .khung-dau {
    width: calc(100% - 20px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 8px;
    padding: 6px 0;
  }
  .khung-dau > .logo-kara {
    gap: 6px;
    flex: 0 0 auto;
  }
  .khung-dau > .logo-kara img {
    width: 32px;
    height: auto;
    border-radius: 6px;
  }
  .khung-dau > .logo-kara .ten-thuong-hieu {
    font-size: 0.88rem;
    font-weight: 800;
  }
  .tai-khoan {
    margin-left: auto;
    display: flex;
    gap: 6px;
    align-items: center;
  }
  .tai-khoan a {
    padding: 6px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
    border-radius: 999px;
  }
  .menu-ngang {
    order: 3;
    width: 100%;
    display: flex;
    gap: 6px;
    overflow: visible;
    padding: 4px 2px;
    justify-content: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(168, 85, 247, 0.18);
  }
  .menu-ngang::-webkit-scrollbar {
    display: none;
  }
  .menu-ngang a,
  .menu-ngang .menu-cha {
    padding: 6px 12px;
    font-size: 0.82rem;
    white-space: nowrap;
    border-radius: 999px;
    color: #e2e8f0;
    background: rgba(168, 85, 247, 0.18);
    border: 1px solid rgba(168, 85, 247, 0.3);
    transition: all 0.2s ease;
  }
  .menu-ngang a:hover,
  .menu-ngang a.dang-chon,
  .menu-ngang .dang-chon {
    color: #ffffff;
    background: rgba(168, 85, 247, 0.38);
    border-color: #a855f7;
  }

  /* === GIAO DIỆN KHU VỰC TÌM KIẾM CHO MOBILE === */
  .khu-vuc-tim-kiem {
    padding: 24px 12px 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .bo-loc {
    padding: 14px 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 18px;
  }

  /* === GIAO DIỆN THẺ QUÁN THÔNG MINH CHO MOBILE (APP-LIKE LIST CARDS) === */
  .danh-sach-khu-vuc {
    width: 100%;
    max-width: 100%;
    padding: 24px 12px 48px;
    box-sizing: border-box;
  }
  .dau-danh-sach {
    display: block;
    margin-bottom: 14px;
    width: 100%;
  }
  .dau-danh-sach h2 {
    font-size: 1.65rem;
    line-height: 1.2;
    margin: 0;
  }
  .so-luong {
    margin-top: 6px;
  }
  .luoi-quan {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .the-quan {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .the-quan:hover {
    transform: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  }
  .phan-tren-the-quan {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .khung-anh-quan {
    width: 88px;
    min-width: 88px;
    max-width: 88px;
    height: 88px;
    min-height: 88px;
    max-height: 88px;
    margin: 0;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
  }
  .khung-anh-quan img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .thong-tin-the-quan {
    flex: 1 1 0%;
    min-width: 0;
    width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 0;
    overflow: hidden;
  }
  .tieu-de-the-quan {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
    min-width: 0;
  }
  .ten-quan-card {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 0%;
    min-width: 0;
  }
  .huy-hieu-noi-bat-inline {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px 6px;
    background: #fef3c7;
    color: #b45309;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    border-radius: 999px;
    border: 1px solid #fde68a;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .hang-danh-gia-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin: 1px 0 0;
    width: 100%;
    min-width: 0;
  }
  .nut-mo-danh-gia {
    font-size: 0.72rem;
    padding: 2px 5px;
    gap: 2px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .nut-chi-duong-maps {
    font-size: 0.72rem;
    padding: 2px 5px;
    gap: 2px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .dia-chi-quan-dong {
    margin: 1px 0 0;
    font-size: 0.74rem;
    line-height: 1.35;
    color: #64748b;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
    min-width: 0;
  }
  .dai-uu-dai-deal {
    margin: 2px 0 0;
    padding: 3px 6px;
    font-size: 0.7rem;
    border-radius: 6px;
    gap: 4px;
    line-height: 1.3;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .dai-uu-dai-deal .icon-bac {
    font-size: 0.85rem;
  }
  .dai-uu-dai-deal .noi-dung-deal {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }
  .banner-tam-ngung {
    margin: 2px 0 0;
    padding: 3px 6px;
    font-size: 0.7rem;
    border-radius: 6px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .hanh-dong-the-quan {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .hanh-dong-the-quan .nut-xem-chi-tiet,
  .hanh-dong-the-quan .nut-dat-phong {
    min-height: 36px;
    height: 36px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 8px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 380px) {
  .khung-anh-quan {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
    height: 80px;
    min-height: 80px;
    max-height: 80px;
  }
  .ten-quan-card {
    font-size: 0.92rem;
  }
  .huy-hieu-noi-bat-inline {
    font-size: 0.62rem;
    padding: 1px 5px;
  }
  .hanh-dong-the-quan .nut-xem-chi-tiet,
  .hanh-dong-the-quan .nut-dat-phong {
    font-size: 0.74rem;
    min-height: 34px;
    height: 34px;
    padding: 0 2px;
  }
}

@media (max-width: 520px) {
  .chan-trang {
    display: block;
    padding: 20px 12px;
  }
  .chan-trang a {
    display: inline-block;
    margin-top: 10px;
  }
  .hop-dat-phong {
    padding: 24px 18px 20px;
    border-radius: 12px;
  }
  .hop-dat-phong h2 {
    font-size: 1.55rem;
  }
  .bieu-mau-dat-phong {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .nhom-truong-form input,
  .nhom-truong-form select {
    font-size: 16px;
    min-height: 48px;
  }
  .nut-xac-nhan {
    min-height: 50px;
    font-size: 1rem;
    grid-column: auto;
  }
  .chi-tiet-phong {
    grid-template-columns: 1fr;
  }
  .nhom-rong {
    grid-column: auto;
  }
}

/* === CSS ĐÁNH GIÁ SAO VÀ NHẬN XÉT QUÁN === */
.hang-danh-gia {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 10px;
}
.sao-danh-gia {
  color: #f59e0b;
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.so-luot-danh-gia {
  color: #657780;
  font-size: 0.82rem;
}
/* Modal chi tiết quán: Phòng & Đánh giá */
.hop-danh-gia-quan {
  width: min(720px, calc(100% - 32px));
  max-height: 88vh;
  overflow-y: auto;
  background: var(--trang);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.hop-danh-gia-quan h2 {
  margin: 6px 0 16px;
  color: var(--xanh-dam);
  font-size: 1.45rem;
}

/* Thanh chuyển tab trong modal chi tiết quán */
.thanh-chuyen-tab-modal {
  display: flex;
  gap: 8px;
  background: #f1f5f9;
  padding: 5px;
  border-radius: 12px;
  margin: 12px 0 20px;
  border: 1px solid #e2e8f0;
}
.nut-tab-modal {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.nut-tab-modal:hover:not(.active) {
  color: #1e293b;
  background: rgba(255, 255, 255, 0.6);
}
.nut-tab-modal.active {
  background: #ffffff;
  color: var(--xanh-dam);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.noi-dung-tab {
  animation: fadeInTab 0.22s ease-in-out;
}
.noi-dung-tab[hidden] {
  display: none !important;
}
@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.khung-thong-ke-danh-gia {
  display: grid;
  grid-template-columns: 140px 1fr 180px;
  gap: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 22px;
}
.cot-diem-to {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid #e2e8f0;
  padding-right: 16px;
}
.con-so-diem-to {
  font-size: 2.8rem;
  font-weight: 800;
  color: #d97706;
  line-height: 1;
}
.sao-lon {
  color: #f59e0b;
  font-size: 1.1rem;
  margin: 6px 0 4px;
}
.cot-phan-bo-sao {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.dong-phan-bo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #64748b;
}
.thanh-phan-bo-nen {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.thanh-phan-bo-chay {
  height: 100%;
  background: #f59e0b;
  border-radius: 999px;
}
.cot-tieu-chi-nho {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border-left: 1px solid #e2e8f0;
  padding-left: 16px;
  font-size: 0.82rem;
}
.dong-tieu-chi {
  display: flex;
  justify-content: space-between;
  color: #475569;
}
.dong-tieu-chi strong {
  color: #0f172a;
}

/* Khung viết đánh giá */
.khung-gui-danh-gia {
  background: #f4f8fa;
  border: 1px solid #dce8eb;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 24px;
}
.khung-gui-danh-gia h3 {
  margin: 0 0 12px;
  color: var(--xanh-dam);
  font-size: 1.05rem;
}
.hang-chon-sao {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.sao-chon-tuong-tac {
  display: flex;
  gap: 4px;
  font-size: 1.6rem;
  cursor: pointer;
  color: #cbd5e1;
}
.sao-chon-tuong-tac .sao-item {
  transition:
    transform 0.15s,
    color 0.15s;
}
.sao-chon-tuong-tac .sao-item.sang {
  color: #f59e0b;
}
.sao-chon-tuong-tac .sao-item:hover {
  transform: scale(1.15);
}
.nhom-tieu-chi-danh-gia {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  margin-bottom: 14px;
  font-size: 0.84rem;
}
.muc-tieu-chi-chon {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.muc-tieu-chi-chon select {
  padding: 4px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  font-size: 0.82rem;
}
.o-nhan-xet-danh-gia {
  width: 100%;
  min-height: 80px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  margin-bottom: 10px;
}
.o-nhan-xet-danh-gia:focus {
  outline: none;
  border-color: var(--xanh);
  box-shadow: 0 0 0 3px rgba(8, 126, 139, 0.15);
}
.hang-nut-danh-gia {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nhan-thuong-diem {
  font-size: 0.8rem;
  color: #059669;
  font-weight: 600;
}
.nut-gui-danh-gia {
  padding: 8px 18px;
  background: var(--xanh);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.nut-gui-danh-gia:hover {
  background: var(--xanh-dam);
}
.thong-bao-danh-gia {
  font-size: 0.85rem;
  margin-top: 8px;
  min-height: 1.2em;
}

/* Danh sách nhận xét */
.danh-sach-nhan-xet-quan {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.the-nhan-xet-item {
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: transform 0.15s ease;
}
.the-nhan-xet-item:hover {
  border-color: #cbd5e1;
}
.hang-dau-nhan-xet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.khach-nhan-xet {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar-chu-cai {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #087e8b, #075c69);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.ten-khach-danh-gia {
  font-weight: 700;
  color: #1e293b;
  font-size: 0.92rem;
}
.ngay-danh-gia {
  font-size: 0.76rem;
  color: #94a3b8;
}
.huy-hieu-dat-phong {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.72rem;
  font-weight: 700;
}
.sao-nhan-xet-khach {
  color: #f59e0b;
  font-size: 0.88rem;
  letter-spacing: 1px;
}
.noi-dung-nhan-xet-khach {
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 6px 0 0;
  white-space: pre-line;
}

@media (max-width: 640px) {
  .hop-danh-gia-quan {
    padding: 20px 14px;
    border-radius: 16px;
    width: calc(100% - 20px);
  }
  .hop-danh-gia-quan h2 {
    font-size: 1.25rem;
  }
  .thanh-chuyen-tab-modal {
    gap: 4px;
    padding: 4px;
  }
  .nut-tab-modal {
    padding: 8px 6px;
    font-size: 0.82rem;
    gap: 4px;
  }
  .khung-thong-ke-danh-gia {
    grid-template-columns: 1fr;
  }
  .cot-diem-to {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 0 12px;
  }
  .cot-tieu-chi-nho {
    border-left: none;
    border-top: 1px solid #e2e8f0;
    padding: 12px 0 0;
  }
  .nhom-tieu-chi-danh-gia {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MODAL POPUP KẾT QUẢ ĐẶT PHÒNG NỔI BẬT (THÀNH CÔNG & THẤT BẠI)
   ========================================================================== */
.lop-phu-ket-qua-dat-phong {
  z-index: 55;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.hop-ket-qua-dat-phong {
  position: relative;
  width: min(520px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 30px 22px;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.4);
  text-align: center;
  animation: popInKetQua 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

@keyframes popInKetQua {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.nut-dong-ket-qua {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  font-size: 1.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.nut-dong-ket-qua:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.bieu-tuong-ket-qua {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2.3rem;
  margin: 0 auto 14px;
}

.icon-thanh-cong {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.28);
}

.icon-that-bai {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.28);
}

.huy-hieu-ket-qua {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.badge-thanh-cong {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.badge-that-bai {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.tieu-de-ket-qua {
  margin: 0 0 8px;
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.mo-ta-ket-qua {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 18px;
}

/* Thẻ tóm tắt đơn thành công */
.the-tom-tat-don {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dong-thong-tin-don {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: #64748b;
}

.dong-thong-tin-don strong {
  color: #1e293b;
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}

.ma-don-noi-bat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0e7ff;
  color: #4338ca;
  padding: 3px 9px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 800;
}

.dong-ghi-chu-don {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 3px solid #f59e0b;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.84rem;
  color: #92400e;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.dong-ghi-chu-don em {
  font-style: normal;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

/* Hộp thông điệp hướng dẫn & lưu ý */
.hop-huong-dan-checkin {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #10b981;
  border-radius: 12px;
  padding: 13px 15px;
  text-align: left;
  margin-bottom: 20px;
}

.hop-huong-dan-checkin h4 {
  margin: 0 0 6px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #15803d;
}

.hop-huong-dan-checkin ul {
  margin: 0;
  padding-left: 18px;
  color: #166534;
  font-size: 0.84rem;
  line-height: 1.5;
}

.hop-huong-dan-checkin li + li {
  margin-top: 5px;
}

.hop-luu-y-cao-diem {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: 12px;
  padding: 13px 15px;
  text-align: left;
  margin-bottom: 20px;
}

.hop-luu-y-cao-diem h4 {
  margin: 0 0 6px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #b45309;
}

.hop-luu-y-cao-diem p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #92400e;
}

/* Nút bấm hành động trong modal */
.cac-nut-hanh-dong-ket-qua {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.nut-hanh-dong-chinh {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  touch-action: manipulation;
  text-decoration: none;
  box-sizing: border-box;
}

.nut-xanh-thanh-cong {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.nut-xanh-thanh-cong:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.45);
}

.nut-cam-noi-bat {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.35);
}

.nut-cam-noi-bat:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.45);
}

.nut-maps-phu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 11px;
  background: #f1f5f9;
  color: #0284c7;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.nut-maps-phu:hover {
  background: #e2e8f0;
  color: #0369a1;
}

.nut-hanh-dong-phu {
  padding: 10px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  background: transparent;
  color: #64748b;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nut-hanh-dong-phu:hover {
  background: #f1f5f9;
  color: #1e293b;
}

@media (max-width: 480px) {
  .hop-ket-qua-dat-phong {
    padding: 24px 16px;
    border-radius: 20px;
  }
  .tieu-de-ket-qua {
    font-size: 1.35rem;
  }
}

/* --- Banner thông báo đơn chưa tích điểm --- */
.hop-thong-bao-chua-tich-diem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #f59e0b;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
  animation: slideDown 0.3s ease;
}

.hop-thong-bao-chua-tich-diem[hidden] {
  display: none !important;
}

.noi-dung-thong-bao-tich-diem {
  flex: 1;
}

.icon-thong-bao-tich-diem {
  font-size: 1.7rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fde68a;
  border: 1.5px solid #fbbf24;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.15);
}

.tieu-de-chua-tich-diem {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
  color: #92400e;
  line-height: 1.35;
}

.mo-ta-chua-tich-diem {
  margin: 0;
  font-size: 0.86rem;
  color: #78350f;
  line-height: 1.45;
}

.cac-nut-chua-tich-diem {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nut-chuyen-tich-diem {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
  font-weight: 750;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(180, 83, 9, 0.28);
  transition: all 0.18s ease;
  white-space: nowrap;
}

.nut-chuyen-tich-diem:hover {
  background: #b45309;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(180, 83, 9, 0.35);
}

.nut-dong-thong-bao-tich-diem {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  color: #92400e;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  line-height: 1;
}

.nut-dong-thong-bao-tich-diem:hover {
  background: #ffffff;
  color: #78350f;
}

/* --- Nhắc đăng nhập ở form đặt phòng --- */
.nhac-dang-nhap-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border: 1px solid #ddd6fe;
  border-radius: 10px;
  font-size: 0.86rem;
  color: #4c1d95;
  line-height: 1.45;
}

.nhac-dang-nhap-form[hidden] {
  display: none !important;
}

.icon-nhac-dn {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.noi-dung-nhac-dn {
  flex: 1;
}

.noi-dung-nhac-dn a {
  color: #7c3aed;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin: 0 4px;
}

.noi-dung-nhac-dn a:hover {
  color: #6d28d9;
}

/* --- Mẹo giữ hóa đơn ở popup thành công --- */
.hop-meo-hoa-don {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0;
  padding: 12px 16px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.08);
}

.icon-meo-hoa-don {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.noi-dung-meo-hoa-don {
  flex: 1;
}

.noi-dung-meo-hoa-don strong {
  display: block;
  font-size: 0.92rem;
  color: #166534;
  margin-bottom: 3px;
}

.noi-dung-meo-hoa-don p {
  margin: 0;
  font-size: 0.85rem;
  color: #15803d;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .hop-thong-bao-chua-tich-diem {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 12px;
  }
  .cac-nut-chua-tich-diem {
    justify-content: space-between;
  }
}
