:root {
  --mau-chinh: #c026d3;
  --mau-chinh-dam: #a21caf;
  --mau-nen: #fdf4ff;
  --mau-vien: #f5d0fe;
  --mau-loi: #dc2626;
  --mau-thanhcong: #16a34a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--mau-nen);
  color: #1f2937;
  line-height: 1.6;
}
.site-header {
  background: var(--mau-chinh);
  color: #fff;
  padding: 1.2rem 1.6rem;
}
.site-header h1 { margin: 0 0 0.25rem; font-size: 1.4rem; }
.site-header p { margin: 0; opacity: 0.92; font-size: 0.95rem; }
.main-nav {
  background: #fff;
  border-bottom: 1px solid var(--mau-vien);
  padding: 0.75rem 1.6rem;
  display: flex;
  gap: 1rem;
}
.main-nav a {
  color: var(--mau-chinh);
  text-decoration: none;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 0.3rem;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--mau-chinh);
  color: #fff;
}
.site-footer {
  text-align: center;
  padding: 1.5rem;
  color: #6b7280;
  font-size: 0.85rem;
  border-top: 1px solid var(--mau-vien);
  margin-top: 2rem;
  background: #fff;
}
.site-footer a { color: var(--mau-chinh); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

    .khung-dieu-do-phong-hop {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      max-width: 1140px;
      margin: 1.5rem auto;
      padding: 0 1rem;
    }
    .cot-thiet-lap-lich-hop { flex: 1 1 350px; display: flex; flex-direction: column; gap: 1.4rem; }
    .cot-lich-bieu-phong-hop { flex: 2 1 540px; }
    section { background: #fff; border: 1px solid var(--mau-vien); border-radius: 0.6rem; padding: 1.2rem 1.4rem; }
    section h2 { margin-top: 0; color: var(--mau-chinh-dam); font-size: 1.15rem; }
    .nhom-thong-tin-cuoc-hop { border: 1px solid var(--mau-vien); border-radius: 0.5rem; padding: 0.9rem; margin: 0; }
    .nhom-thong-tin-cuoc-hop legend { font-weight: bold; color: var(--mau-chinh-dam); padding: 0 0.3rem; }
    .dong-dat-phong-hop { display: flex; flex-direction: column; margin-bottom: 0.8rem; }
    .nhan-dat-phong-hop { margin-bottom: 0.25rem; font-weight: 600; font-size: 0.9rem; }
    .o-nhap-phong-hop { padding: 0.5rem 0.65rem; border: 1px solid #94a3b8; border-radius: 0.35rem; font: inherit; }
    .o-nhap-phong-hop:focus { outline: none; border-color: var(--mau-chinh); box-shadow: 0 0 0 3px rgba(192, 38, 211, 0.18); }
    .loi-dat-phong-hop { color: var(--mau-loi); font-size: 0.82rem; margin-top: 0.25rem; min-height: 1.1rem; }
    .dong-phong-hop-loi .o-nhap-phong-hop { border-color: var(--mau-loi); }
    .nut-chot-lich-hop { background: var(--mau-chinh); color: #fff; border: none; padding: 0.65rem 1.2rem; border-radius: 0.4rem; cursor: pointer; font-weight: 600; width: 100%; }
    .nut-chot-lich-hop:hover { background: var(--mau-chinh-dam); }
    .nut-huy-lich-hop { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; padding: 0.3rem 0.65rem; border-radius: 0.3rem; cursor: pointer; font-weight: 600; font-size: 0.85rem; }
    .nut-huy-lich-hop:hover { background: #fecaca; }
    .hop-tin-phong-hop { border-radius: 0.5rem; padding: 0.8rem 1rem; margin-top: 0.8rem; }
    .hop-bao-thanh-cong { background: #ecfdf5; border: 1px solid var(--mau-thanhcong); color: #065f46; }
    .hop-tin-phong-hop[hidden] { display: none; }
    .lich-bieu-dieu-do-phong { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
    .lich-bieu-dieu-do-phong th, .lich-bieu-dieu-do-phong td { border: 1px solid var(--mau-vien); padding: 0.55rem 0.75rem; text-align: left; }
    .lich-bieu-dieu-do-phong th { background: var(--mau-chinh); color: #fff; }
    .nhan-phong-hop { display: inline-block; padding: 0.2rem 0.55rem; border-radius: 0.3rem; background: #fae8ff; color: #a21caf; font-size: 0.8rem; font-weight: 600; }
    .the-cong-suat-phong { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.8rem; background: #fdf4ff; border: 1px solid var(--mau-vien); border-radius: 0.4rem; margin-bottom: 0.5rem; }
    .so-kpi { font-size: 1.2rem; font-weight: bold; color: var(--mau-chinh-dam); }
