﻿/* VnSAT theme — theo phong cách CTMTQG (Be Vietnam Pro, card, filter, stat) */
:root {
  --vs-brand: #9f1c1f;
  --vs-brand-dark: #6e1214;
  --vs-gold: #e3b341;
  --vs-ink: #16202a;
  --vs-navy: #14365d;
  --vs-muted: #5b6672;
  --vs-line: #e1e6eb;
  --vs-good: #1e7f4f;
  --vs-bad: #c0392b;
  --vs-bg: #f2f4f6;
  --vs-card: #ffffff;
  --vs-radius: 14px;
  --vs-radius-lg: 16px;
  --vs-shadow: 0 18px 40px -12px rgba(15, 27, 42, 0.18);
  --vs-font: "Be Vietnam Pro", system-ui, sans-serif;
  --vs-font-num: "Barlow Semi Condensed", "Be Vietnam Pro", sans-serif;
  --vs-font-size: 18px;
}

html {
  -webkit-text-size-adjust: 100%;
  font-size: var(--vs-font-size);
}

body {
  font-family: var(--vs-font) !important;
  font-size: var(--vs-font-size) !important;
  color: var(--vs-ink);
  background-color: var(--vs-bg) !important;
  line-height: 1.55;
}

/* Nội dung trang: Be Vietnam Pro, tối thiểu 18px */
#wrapper,
.vs-page,
.vs-card,
.vs-csdl-main,
.vs-article-body,
.vs-news-card,
.vs-csdl-modal,
p, li, td, th, label, a, span, input, select, button, textarea {
  font-family: var(--vs-font);
}

.vs-page,
.vs-page p,
.vs-page li,
.vs-page td,
.vs-page th,
.vs-page label,
.vs-page .vs-sub,
.vs-page .vs-section-note,
.vs-article-body,
.vs-article-body p,
.vs-news-card__excerpt,
.vs-news-card__date,
.vs-news-card__title {
  font-size: max(18px, 1em);
}

#wrapper {
  background: transparent;
  font-family: var(--vs-font) !important;
  font-size: var(--vs-font-size) !important;
}

section.back_all {
  background: transparent;
}

/* ----- Page shell ----- */
.vs-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 12px 40px;
}

.vs-page-head {
  margin: 8px 0 16px;
  padding: 22px 20px;
  text-align: center;
  background:
    linear-gradient(135deg, #1a3f68 0%, #234e78 45%, #2c5270 75%, #355a72 100%);
  border: 0;
  border-radius: var(--vs-radius-lg);
  box-shadow: var(--vs-shadow);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.vs-page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 15% 0%, rgba(227, 179, 65, 0.14), transparent 60%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(159, 28, 31, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 255, 255, 0.05), transparent 65%);
  pointer-events: none;
}

.vs-page-head > * {
  position: relative;
  z-index: 1;
}

.vs-page-head h1 .fa,
.vs-page-head h3 .fa,
.vs-page-title .fa {
  margin-right: 8px;
  color: var(--vs-gold);
}

.vs-bulletin-head h3 .fa {
  margin-right: 8px;
  opacity: 0.95;
}

.vs-page-head h1,
.vs-page-head h3,
.vs-page-title {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: none !important;
  font-family: var(--vs-font) !important;
  opacity: 1 !important;
}

.vs-page-head .vs-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0;
  opacity: 1 !important;
}

.vs-sub {
  color: var(--vs-muted);
  font-size: 0.9rem;
  margin: 0;
  opacity: 1 !important;
}

/* Override old title styles inside themed pages */
.vs-page .title_center,
.vs-page .shadow12 {
  text-shadow: none !important;
  color: var(--vs-ink) !important;
  font-family: var(--vs-font) !important;
  font-size: 1.35rem !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  position: relative;
  z-index: 2;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 36px !important;
  margin-bottom: 28px !important;
  padding: 10px 22px 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--vs-line);
  border-radius: 999px;
  box-shadow: 0 8px 22px -10px rgba(15, 27, 42, 0.22);
}

.vs-page #tintuc {
  margin-top: 72px;
  padding-top: 16px;
  clear: both;
}

.vs-page #tintuc > .row > .col-lg-12 > .title_center {
  margin-top: 0 !important;
}

.vs-page .title_center::before {
  left: 50% !important;
  transform: translateX(-50%);
  bottom: 6px !important;
  border-bottom-color: var(--vs-brand) !important;
  width: 42px !important;
}

/* ----- Cards ----- */
.vs-card {
  background: var(--vs-card);
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius-lg);
  box-shadow: var(--vs-shadow);
  padding: 16px 18px;
  margin-bottom: 16px;
}

.vs-card-soft {
  background: var(--vs-card);
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius);
  padding: 14px 16px;
  margin-bottom: 12px;
}

.vs-card-accent {
  border-left: 4px solid #8eb8e0;
}

.vs-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--vs-ink);
  margin: 0 0 4px;
}

.vs-section-note {
  color: var(--vs-muted);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

/* ----- Filters ----- */
.vs-filters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}

.vs-field label,
.vs-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--vs-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vs-page select,
.vs-page input[type="text"],
.vs-page .cssdate2,
.vs-page .form-control,
.vs-input,
.vs-select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #c9d2db;
  border-radius: 10px;
  padding: 8px 12px;
  background: #fff;
  color: var(--vs-ink);
  font-family: var(--vs-font);
  font-size: 0.95rem;
}

.vs-page select:focus,
.vs-page input[type="text"]:focus,
.vs-page .cssdate2:focus {
  outline: none;
  border-color: var(--vs-navy);
  box-shadow: 0 0 0 3px rgba(20, 54, 93, 0.12);
}

.vs-btn,
.vs-page .btn,
.vs-page .btn-success,
.vs-page .btn-primary,
.vs-page input[type="submit"],
.vs-page input[type="button"],
.vs-page .btn-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 10px !important;
  border: none !important;
  font-weight: 700 !important;
  font-family: var(--vs-font) !important;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s ease, opacity 0.15s;
}

.vs-btn-brand,
.vs-page .btn-primary {
  background: var(--vs-brand) !important;
  color: #fff !important;
}

.vs-btn-brand:hover,
.vs-page .btn-primary:hover {
  background: var(--vs-brand-dark) !important;
  color: #fff !important;
}

.vs-btn-good,
.vs-page .btn-success {
  background: var(--vs-good) !important;
  color: #fff !important;
}

.vs-btn-navy {
  background: var(--vs-navy) !important;
  color: #fff !important;
}

.vs-btn-ghost {
  background: #fff !important;
  color: var(--vs-brand) !important;
  border: 1.5px solid var(--vs-brand) !important;
}

/* ----- Side nav (CSDL) ----- */
.vs-sidenav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vs-sidenav .list-group-item,
.vs-sidenav li,
.vs-sidenav a {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.vs-sidenav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px !important;
  border-radius: 10px;
  color: var(--vs-ink) !important;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 4px;
  text-decoration: none !important;
}

.vs-sidenav a:hover,
.vs-sidenav a.active {
  background: #f4f6f8 !important;
  color: var(--vs-brand) !important;
}

.vs-sidenav a .fa {
  flex: 0 0 1.1em;
  width: 1.1em;
  text-align: center;
  color: var(--vs-muted);
  font-size: 0.95em;
}

.vs-sidenav a:hover .fa,
.vs-sidenav a.active .fa {
  color: var(--vs-brand);
}

/* ----- Data hub (data.aspx) ----- */
.vs-page .vs-data-hub {
  padding: 18px;
}

.vs-page .vs-data-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.vs-page .vs-data-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 12px;
  padding: 14px 14px 14px 12px !important;
  background: #f7f9fb !important;
  border: 1px solid var(--vs-line) !important;
  border-radius: 12px !important;
  border-left: 4px solid var(--vs-brand) !important;
  text-decoration: none !important;
  color: var(--vs-ink) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-height: 88px;
  box-sizing: border-box;
}

.vs-page .vs-data-item:hover {
  background: #fff !important;
  box-shadow: var(--vs-shadow);
  transform: translateY(-2px);
  color: var(--vs-ink) !important;
}

.vs-page .vs-data-ico {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--vs-line);
  color: var(--vs-brand);
  font-size: 1.15rem;
  margin-top: 2px;
}

.vs-page .vs-data-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.vs-page .vs-data-label {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--vs-navy) !important;
}

.vs-page .vs-data-item:hover .vs-data-label {
  color: var(--vs-brand) !important;
}

.vs-page .vs-data-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--vs-muted) !important;
  line-height: 1.35;
}

.vs-page .vs-data-price { border-left-color: #9f1c1f !important; }
.vs-page .vs-data-price .vs-data-ico { color: #9f1c1f; }
.vs-page .vs-data-survey { border-left-color: #14365d !important; }
.vs-page .vs-data-survey .vs-data-ico { color: #14365d; }
.vs-page .vs-data-biz { border-left-color: #2f6fed !important; }
.vs-page .vs-data-biz .vs-data-ico { color: #2f6fed; }
.vs-page .vs-data-rice { border-left-color: #8a6d1d !important; }
.vs-page .vs-data-rice .vs-data-ico { color: #8a6d1d; }
.vs-page .vs-data-coffee { border-left-color: #6b4423 !important; }
.vs-page .vs-data-coffee .vs-data-ico { color: #6b4423; }
.vs-page .vs-data-fruit { border-left-color: #1e7f4f !important; }
.vs-page .vs-data-fruit .vs-data-ico { color: #1e7f4f; }
.vs-page .vs-data-policy { border-left-color: #5b6b7c !important; }
.vs-page .vs-data-policy .vs-data-ico { color: #5b6b7c; }

/* Trang chủ — 3 lối vào Báo cáo / Tin tức / Dữ liệu */
.vs-page #gioithieu.vs-home-cta,
.vs-page .vs-home-cta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 8px;
  clear: both;
}

.vs-page .vs-home-cta-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 18px 16px;
  background: linear-gradient(145deg, #ffffff 0%, #f4f7fa 100%);
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius-lg);
  border-left: 5px solid var(--vs-navy);
  box-shadow: 0 10px 24px -14px rgba(15, 27, 42, 0.18);
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}

.vs-page .vs-home-cta-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--vs-shadow);
  text-decoration: none !important;
  filter: brightness(1.02);
}

.vs-page .vs-home-cta-ico {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #f7f9fb, #eef2f6);
  color: var(--vs-navy);
  font-size: 1.35rem;
}

.vs-page .vs-home-cta-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vs-page .vs-home-cta-title {
  font-family: var(--vs-font);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--vs-ink);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.vs-page .vs-home-cta-desc {
  font-size: 0.86rem;
  color: var(--vs-muted);
  font-weight: 500;
  font-style: normal;
  line-height: 1.4;
}

.vs-page .vs-home-cta-arrow {
  flex: 0 0 auto;
  color: var(--vs-muted);
  font-size: 1.25rem;
  opacity: 0.55;
  transition: transform 0.15s ease, opacity 0.15s ease, color 0.15s ease;
}

.vs-page .vs-home-cta-card:hover .vs-home-cta-arrow {
  transform: translateX(3px);
  opacity: 1;
  color: var(--vs-brand);
}

.vs-page .vs-home-cta-card:hover .vs-home-cta-title {
  color: var(--vs-brand);
}

.vs-page .vs-cta-report {
  border-left-color: #9f1c1f;
  background: linear-gradient(135deg, #ffffff 0%, #fff5f5 42%, #fde8e8 100%);
}
.vs-page .vs-cta-report .vs-home-cta-ico {
  color: #9f1c1f;
  background: linear-gradient(160deg, #fff 0%, #fad4d4 100%);
}
.vs-page .vs-cta-news {
  border-left-color: #14365d;
  background: linear-gradient(135deg, #ffffff 0%, #f2f6fb 42%, #e3edf7 100%);
}
.vs-page .vs-cta-news .vs-home-cta-ico {
  color: #14365d;
  background: linear-gradient(160deg, #fff 0%, #c9daf0 100%);
}
.vs-page .vs-cta-data {
  border-left-color: #1e7f4f;
  background: linear-gradient(135deg, #ffffff 0%, #f1faf4 42%, #dcefe4 100%);
}
.vs-page .vs-cta-data .vs-home-cta-ico {
  color: #1e7f4f;
  background: linear-gradient(160deg, #fff 0%, #bfe3cd 100%);
}

@media (max-width: 991px) {
  .vs-page #gioithieu.vs-home-cta,
  .vs-page .vs-home-cta {
    grid-template-columns: 1fr;
  }
}

/* Trang chủ — CSDL ngành hàng */
.vs-page #nganh_hang.vs-csdl-home,
.vs-page .vs-csdl-home {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 12px;
  clear: both;
}

.vs-page .vs-csdl-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 168px;
  padding: 18px 14px 16px;
  background: linear-gradient(160deg, #ffffff 0%, #f5f7fa 100%);
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius-lg);
  border-top: 4px solid var(--vs-navy);
  box-shadow: 0 10px 24px -14px rgba(15, 27, 42, 0.2);
  text-decoration: none !important;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}

.vs-page .vs-csdl-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--vs-shadow);
  text-decoration: none !important;
  filter: brightness(1.03);
}

.vs-page .vs-csdl-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(160deg, #f7f9fb, #eef2f6);
  border: 1px solid var(--vs-line);
}

.vs-page .vs-csdl-ico img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
}

.vs-page .vs-csdl-label {
  display: block;
  font-family: var(--vs-font);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--vs-ink);
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.vs-page .vs-csdl-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--vs-muted);
  font-weight: 500;
  line-height: 1.3;
}

.vs-page .vs-csdl-coffee {
  border-top-color: #6b4423;
  background: linear-gradient(155deg, #ffffff 0%, #faf4ef 45%, #f0e2d4 100%);
}
.vs-page .vs-csdl-coffee .vs-csdl-ico {
  background: linear-gradient(160deg, #fff8f2, #e8d0b8);
  border-color: #e2c9ae;
}
.vs-page .vs-csdl-coffee:hover { border-color: #6b4423; }

.vs-page .vs-csdl-rice {
  border-top-color: #c9a227;
  background: linear-gradient(155deg, #ffffff 0%, #fffbeb 45%, #f7efc8 100%);
}
.vs-page .vs-csdl-rice .vs-csdl-ico {
  background: linear-gradient(160deg, #fffdf5, #f0e29a);
  border-color: #e8d978;
}
.vs-page .vs-csdl-rice:hover { border-color: #c9a227; }

.vs-page .vs-csdl-fruit {
  border-top-color: #1e7f4f;
  background: linear-gradient(155deg, #ffffff 0%, #f1faf4 45%, #d8efe3 100%);
}
.vs-page .vs-csdl-fruit .vs-csdl-ico {
  background: linear-gradient(160deg, #f6fcf8, #b5dfc6);
  border-color: #9fd4b3;
}
.vs-page .vs-csdl-fruit:hover { border-color: #1e7f4f; }

.vs-page .vs-csdl-price {
  border-top-color: #9f1c1f;
  background: linear-gradient(155deg, #ffffff 0%, #fff5f5 45%, #fadede 100%);
}
.vs-page .vs-csdl-price .vs-csdl-ico {
  background: linear-gradient(160deg, #fff8f8, #f0b8b8);
  border-color: #e89a9a;
}
.vs-page .vs-csdl-price:hover { border-color: #9f1c1f; }

.vs-page .vs-csdl-biz {
  border-top-color: #2f6fed;
  background: linear-gradient(155deg, #ffffff 0%, #f3f7ff 45%, #dce8fc 100%);
}
.vs-page .vs-csdl-biz .vs-csdl-ico {
  background: linear-gradient(160deg, #f7faff, #b7cdf7);
  border-color: #9bb8f0;
}
.vs-page .vs-csdl-biz:hover { border-color: #2f6fed; }

.vs-page .vs-csdl-policy {
  border-top-color: #5b6b7c;
  background: linear-gradient(155deg, #ffffff 0%, #f5f7f9 45%, #e2e7ed 100%);
}
.vs-page .vs-csdl-policy .vs-csdl-ico {
  background: linear-gradient(160deg, #f8f9fb, #c5ced8);
  border-color: #aeb8c4;
}
.vs-page .vs-csdl-policy:hover { border-color: #5b6b7c; }

.vs-page .vs-csdl-tile:hover .vs-csdl-label {
  color: var(--vs-brand);
}

@media (max-width: 991px) {
  .vs-page #nganh_hang.vs-csdl-home,
  .vs-page .vs-csdl-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .vs-page #nganh_hang.vs-csdl-home,
  .vs-page .vs-csdl-home {
    grid-template-columns: 1fr;
  }

  .vs-page .vs-csdl-tile {
    min-height: 140px;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 14px;
    padding: 14px 16px;
  }

  .vs-page .vs-csdl-ico {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
  }

  .vs-page .vs-csdl-ico img {
    width: 40px;
    height: 40px;
  }

  .vs-page .vs-csdl-label,
  .vs-page .vs-csdl-hint {
    text-align: left;
  }
}

/* Menu icons */
.vs-menu-ico {
  margin-right: 8px;
  width: 1.1em;
  text-align: center;
  opacity: 0.95;
}

/* Home: PNG trắng bị mất trên menu mobile nền trắng → dùng FA */
#nav .menu > ul > li > a .fa-home.vs-menu-ico {
  display: inline-block;
  font-size: 1.15em;
  line-height: 1;
  vertical-align: middle;
  color: #fff;
}

#nav .menu > ul > li > a .vs-home-label {
  display: none;
}

@media (max-width: 1200px) {
  #nav .menu > ul > li > a .fa-home.vs-menu-ico {
    color: var(--vs-brand) !important;
    margin-right: 8px;
  }

  #nav .menu > ul > li > a .vs-home-label {
    display: inline;
  }
}

@media (min-width: 768px) {
  .vs-page .vs-data-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 575px) {
  .vs-page .vs-data-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ----- Stat / price cards ----- */
.vs-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.vs-stat {
  background: #fff;
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius);
  padding: 14px 16px;
  border-left: 4px solid #8eb8e0;
  min-height: 110px;
}

.vs-stat-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--vs-muted);
  margin-bottom: 6px;
  line-height: 1.3;
}

.vs-stat-value {
  font-family: var(--vs-font-num);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--vs-ink);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.vs-count {
  display: inline-block;
  min-width: 2ch;
  font-variant-numeric: tabular-nums;
}

.vs-stat-unit {
  font-size: 0.8rem;
  color: var(--vs-muted);
  font-weight: 500;
  margin-left: 4px;
}

.vs-stat-meta {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--vs-muted);
}

.vs-delta {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 700;
  font-size: 0.85rem;
}

.vs-delta.up {
  color: var(--vs-bad);
}

.vs-delta.down {
  color: var(--vs-good);
}

.vs-delta.flat {
  color: var(--vs-muted);
}

.vs-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #fbf0d9;
  color: #7a5208;
}

.vs-badge-good {
  background: #e3f3ea;
  color: #15603b;
}

.vs-badge-warn {
  background: #fcedea;
  color: #9a2a1f;
}

/* ----- Tables ----- */
.vs-page .table,
.vs-table {
  width: 100%;
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--vs-line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.9rem;
}

.vs-page .table th,
.vs-table th {
  background: #edf0f3 !important;
  color: var(--vs-ink) !important;
  font-weight: 700;
  border-color: var(--vs-line) !important;
  padding: 10px 12px !important;
  white-space: nowrap;
}

.vs-page .table td,
.vs-table td {
  border-color: var(--vs-line) !important;
  padding: 9px 12px !important;
  vertical-align: middle;
}

.vs-page .table-hover tbody tr:hover {
  background: #f8fafb;
}

.vs-page .pagination-ys,
.vs-page .pagination-ys a,
.vs-page .pagination-ys span {
  border-radius: 8px !important;
}

/* ----- Bulletin cards ----- */
.vs-page .vs-bulletin-section {
  width: 100% !important;
  max-width: 100%;
  float: none !important;
  clear: both;
  display: block;
  box-sizing: border-box;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 28px;
  padding-left: 0;
  padding-right: 0;
}

/* Panel báo cáo nằm trong .row Bootstrap — bỏ âm margin gây lệch/cắt mép */
.vs-page .vs-bulletin-section > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100%;
}

.vs-page .vs-bulletin-section > .row > .col-lg-12 {
  float: none !important;
  width: 100% !important;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.vs-bulletin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(140deg, #14365d, #0b1a2c);
  color: #fff;
  border-radius: var(--vs-radius);
  margin-bottom: 14px;
}

.vs-bulletin-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #fff !important;
  text-shadow: none !important;
}

.vs-bulletin-head.rice {
  background: linear-gradient(140deg, #8a6d1d, #5c4a12);
}

.vs-bulletin-head.coffee {
  background: linear-gradient(140deg, #6b4423, #3d2714);
}

.vs-bulletin-head.fruit {
  background: linear-gradient(140deg, #1e7f4f, #0f4a2e);
}

/* Lưới card báo cáo / bản tin — grid thay float (tránh lệch hàng)
   main.css .xoamargin { margin: 0 -15px } làm lệch trái — ghi đè */
.vs-page .vs-bulletin-section .xoamargin,
.vs-page .xoamargin:has(.khung_dv_con) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px;
  align-items: stretch;
  clear: both;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
}

.vs-page .vs-bulletin-section .khung_dv_con,
.vs-page .xoamargin .khung_dv_con,
.vs-page .khung_dv_con {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  box-sizing: border-box;
  display: flex !important;
  min-width: 0;
}

.vs-page .vs-baocao-sections {
  display: block;
  width: 100%;
  max-width: 100%;
  clear: both;
}

.vs-page .khung_t_tinkham {
  background: #fff;
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius);
  overflow: hidden;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px -12px rgba(15, 27, 42, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.vs-page .khung_t_tinkham:hover {
  transform: translateY(-2px);
  box-shadow: var(--vs-shadow);
}

.vs-page .khung_t_tinkham .img_effect {
  flex: 0 0 auto;
  background: #e8ecf0;
}

.vs-page .khung_t_tinkham .img_effect img {
  width: 100%;
  height: 160px;
  max-height: none;
  object-fit: cover;
  display: block;
}

.vs-page .khung_t_tinkham .ct_tin {
  padding: 12px 14px 16px;
  flex: 1 1 auto;
}

/* Không cắt chữ mô tả; chiều cao card theo nội dung / equalize JS */
.vs-page .khung_t_tinkham .descript_dv {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.vs-page .khung_t_tinkham .descript_dv p {
  margin: 0;
  padding: 4px 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #4a5a68;
}

/* Slider: nền trắng + flex stretch → card cao bằng card cao nhất */
.vs-page .slider_tt {
  background: #fff;
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius-lg);
  box-shadow: var(--vs-shadow);
  padding: 16px 28px;
  margin: 0 0 20px;
  box-sizing: border-box;
}

.vs-page .slider_tt .slick-list {
  overflow: hidden;
}

.vs-page .slider_tt .slick-track {
  display: flex !important;
  align-items: stretch !important;
}

/* Slide chính là .vs-news-card (không còn khung_dv_con) */
.vs-page .slider_tt .slick-slide {
  float: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 6px;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
}

.vs-page .slider_tt .slick-slide.vs-news-card,
.vs-page .slider_tt .vs-slide-card {
  height: auto !important;
  flex: 1 0 auto;
}

.vs-page .slider_tt .khung_dv_con.slick-slide {
  float: none !important;
  height: auto !important;
  padding: 8px;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
}

.vs-page .slider_tt .khung_t_tinkham {
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  min-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vs-page .slider_tt .khung_t_tinkham .img_effect {
  height: 180px;
  overflow: hidden;
  flex: 0 0 180px;
}

.vs-page .slider_tt .khung_t_tinkham .img_effect img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.vs-page .slider_tt .khung_t_tinkham .ct_tin {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.vs-page .slider_tt .khung_t_tinkham .descript_dv {
  flex: 1 1 auto;
}

.vs-page .slider_tt .vs-news-card__body {
  flex: 1 1 auto;
}

.vs-page #tintuc .xoamargin {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.vs-page #tintuc .xoamargin .khung_dv_con {
  display: flex;
  float: none;
}

.vs-page #tintuc .xoamargin .khung_t_tinkham {
  height: auto !important;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.vs-page #tintuc .xoamargin .khung_t_tinkham .mt-2 {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding: 0 10px 12px;
}

/* Danh sách tin liên quan trong card TIN TỨC */
.vs-page #tintuc .list-group {
  border: none;
  border-radius: 0;
  gap: 0;
  background: transparent;
}

.vs-page #tintuc .list-group-item,
.vs-page #tintuc .list-group-item-action {
  border: none !important;
  border-top: 1px solid var(--vs-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--vs-ink) !important;
  font-family: var(--vs-font) !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  padding: 10px 8px 10px 18px !important;
  position: relative;
  transition: color 0.15s ease, background 0.15s ease, padding-left 0.15s ease;
}

.vs-page #tintuc .list-group-item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 1.05em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vs-brand);
  opacity: 0.75;
}

.vs-page #tintuc .list-group-item:first-child {
  border-top: 1px solid var(--vs-line) !important;
}

.vs-page #tintuc .list-group-item:hover,
.vs-page #tintuc .list-group-item-action:hover,
.vs-page #tintuc .list-group-item:focus {
  background: #f7f9fb !important;
  color: var(--vs-brand) !important;
  padding-left: 22px !important;
  text-decoration: none !important;
  z-index: 1;
}

.vs-page #tintuc .list-group-item:hover::before {
  opacity: 1;
  background: var(--vs-gold);
}

.vs-page .khung_t_tinkham .vs-news-card__title,
.vs-page .khung_t_tinkham .title_dv {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
}

.vs-page .khung_t_tinkham .vs-news-card__title a,
.vs-page .khung_t_tinkham .title_dv a {
  color: var(--vs-ink);
  font-weight: 700;
  text-decoration: none !important;
}

.vs-page .khung_t_tinkham .vs-news-card__title a:hover,
.vs-page .khung_t_tinkham .title_dv a:hover {
  color: var(--vs-brand);
}

.vs-pager {
  clear: both;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius);
  background: #f4f7fa !important;
  color: var(--vs-ink) !important;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Bảng + pager trong cùng một khối */
.vs-card > .vs-pager,
.vs-table-block > .vs-pager {
  margin-top: 0 !important;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: 1px solid var(--vs-line);
}

.vs-card > .vs-table,
.vs-card > .table,
.vs-table-block > .vs-table,
.vs-table-block > .table {
  margin-bottom: 0 !important;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.vs-pager > div,
.vs-pager #left,
.vs-pager #right {
  float: none !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--vs-ink) !important;
}

.vs-pager span,
.vs-pager label {
  color: var(--vs-ink) !important;
  font-weight: 600;
  opacity: 1 !important;
  white-space: nowrap;
}

.vs-pager select,
.vs-pager .vs-select {
  min-width: 64px;
  height: 34px;
  padding: 4px 8px;
  border: 1px solid #c5ced6 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--vs-ink) !important;
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .vs-pager {
    flex-direction: column;
    align-items: stretch;
  }

  .vs-pager > div,
  .vs-pager #left,
  .vs-pager #right {
    width: 100%;
    justify-content: flex-start;
  }

  .vs-pager span {
    white-space: normal;
  }
}

.vs-yearbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-bottom: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.vs-yearbar.vs-view-switch {
  display: flex;
  width: 100%;
}

.vs-yearbar .vs-year-switch {
  display: flex !important;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  width: 100%;
  margin: 0 !important;
}

.vs-yearbar .vs-year-switch > input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  pointer-events: none;
  clip: rect(0, 0, 0, 0);
}

.vs-yearbar .vs-year-switch > label,
.vs-yearbar .vs-view-switch__btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 !important;
  padding: 9px 14px !important;
  border-radius: 9px !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  font-family: var(--vs-font) !important;
  color: var(--vs-muted) !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  line-height: 1.2 !important;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.vs-yearbar .vs-year-switch > label:hover {
  color: var(--vs-navy) !important;
  background: rgba(255, 255, 255, 0.65) !important;
}

.vs-yearbar .vs-year-switch > input[type="radio"]:checked + label,
.vs-yearbar .vs-year-switch > label.is-active,
.vs-yearbar .vs-view-switch__btn.is-active {
  background: var(--vs-navy) !important;
  color: #fff !important;
  box-shadow: 0 6px 14px -6px rgba(20, 54, 93, 0.55);
}

/* ----- CSDL layout ----- */
.vs-csdl-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  align-items: stretch;
}

.vs-csdl-layout--list {
  grid-template-columns: 1fr;
  justify-items: center;
}

.vs-csdl-side {
  background: #fff;
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius-lg);
  padding: 12px;
  box-shadow: var(--vs-shadow);
  height: 100%;
  box-sizing: border-box;
}

.vs-csdl-side--full {
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.vs-csdl-list li {
  border-bottom: 1px solid var(--vs-line);
  padding: 8px 4px !important;
  margin: 0 !important;
}

.vs-csdl-list li:last-child {
  border-bottom: 0;
}

.vs-csdl-item {
  display: inline;
  text-decoration: none;
  color: var(--vs-navy);
}

.vs-csdl-item:hover,
.vs-csdl-item.is-active {
  color: var(--vs-brand) !important;
}

.vs-csdl-main {
  background: #fff;
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius-lg);
  padding: 16px 18px;
  box-shadow: var(--vs-shadow);
  height: 100%;
  box-sizing: border-box;
}

.vs-csdl-main h4 {
  font-weight: 800;
  color: var(--vs-navy);
  margin-bottom: 14px;
}

.vs-page .khung_du_lieu,
.vs-csdl-modal .khung_du_lieu {
  float: none;
  flex: 0 1 auto;
  padding: 10px 12px;
  margin: 0;
  background: #f8fafb;
  border: 1px solid var(--vs-line);
  border-radius: 10px;
  min-width: 140px;
  max-width: 100%;
  box-sizing: border-box;
}

.vs-page .khung_du_lieu select,
.vs-page .khung_du_lieu .listbox,
.vs-page #ctl00_maincontent_Repeater1 select,
.vs-csdl-modal .khung_du_lieu select {
  min-width: 140px;
  width: 100%;
  max-width: 220px;
  box-sizing: border-box;
}

/* ----- CSDL modal (full viewport, scroll body) ----- */
html.vs-csdl-modal-open,
body.vs-csdl-modal-open {
  overflow: hidden;
}

/* #nav trong main.css = 99999 — modal phải cao hơn toàn bộ menu sticky */
body.vs-csdl-modal-open #nav,
body.vs-csdl-modal-open #nav.menu_top,
body.vs-csdl-modal-open .menu_top {
  z-index: 1 !important;
}

.vs-csdl-modal {
  position: fixed;
  inset: 0;
  z-index: 2000000;
  display: none;
}

.vs-csdl-modal.is-open,
.vs-csdl-modal:not([hidden]) {
  display: block;
}

.vs-csdl-modal[hidden] {
  display: none !important;
}

.vs-csdl-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 32, 42, 0.55);
}

.vs-csdl-modal__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  max-height: 100dvh;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
}

.vs-csdl-modal__head {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--vs-line);
  background: #fff;
}

.vs-csdl-modal__head h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--vs-navy);
  line-height: 1.35;
  padding-right: 8px;
}

.vs-csdl-modal__close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  height: 40px;
  border: 1px solid var(--vs-line);
  border-radius: 10px;
  background: #f0f3f6;
  color: var(--vs-navy);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--vs-font);
  line-height: 1;
  cursor: pointer;
  padding: 0 14px;
  white-space: nowrap;
}

.vs-csdl-modal__close .fa {
  font-size: 16px;
}

.vs-csdl-modal__close:hover {
  background: #e4e9ee;
  color: var(--vs-brand);
  border-color: #cfd6de;
}

.vs-csdl-modal__body {
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 16px 28px;
  overscroll-behavior: contain;
}

.vs-csdl-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  overflow: visible;
  margin-bottom: 4px;
  clear: both;
}

.vs-csdl-actions {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 12px 0;
}

.vs-csdl-table-wrap {
  clear: both;
  overflow: auto;
  max-height: min(58vh, 520px);
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--vs-line);
  border-radius: 12px;
  background: #fff;
}

.vs-csdl-table-wrap .vs-table {
  margin-bottom: 0;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.vs-csdl-table-wrap .vs-table thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  background: #edf0f3 !important;
  box-shadow: 0 1px 0 var(--vs-line);
}

.vs-csdl-modal .vs-chart-card {
  margin-bottom: 14px;
}

/* Modal tra cứu giá — full viewport, cuộn dọc body + cuộn ngang bảng */
.vs-gia-modal .vs-gia-modal__panel,
.vs-csdl-modal.vs-gia-modal .vs-csdl-modal__panel {
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  height: 100% !important;
  max-height: 100dvh !important;
  transform: none !important;
  border-radius: 0 !important;
}

.vs-gia-modal__body,
.vs-gia-modal .vs-csdl-modal__body {
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.vs-gia-table-wrap {
  overflow: auto;
  max-height: min(55vh, 520px);
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--vs-line);
  border-radius: 12px;
  background: #fff;
  clear: both;
}

.vs-gia-table-wrap .vs-table {
  margin-bottom: 0;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.vs-gia-table-wrap .vs-table thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  background: #edf0f3 !important;
  box-shadow: 0 1px 0 var(--vs-line);
}

.vs-gia-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.vs-gia-groups label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--vs-ink);
  margin: 0;
  cursor: pointer;
}

.vs-compare-bar .vs-field-actions {
  flex: 0 0 auto;
}

/* Datepicker nổi trên modal tra cứu giá */
body.vs-csdl-modal-open #ui-datepicker-div {
  z-index: 3000001 !important;
}

@media (min-width: 900px) {
  .vs-csdl-modal__panel {
    left: 50%;
    top: 2vh;
    bottom: 2vh;
    right: auto;
    width: min(1100px, 96vw);
    max-height: 96dvh;
    height: auto;
    transform: translateX(-50%);
    border-radius: 14px;
  }
}

@media (max-width: 899px) {
  .vs-csdl-modal__head {
    padding: 12px 12px 12px 14px;
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .vs-csdl-modal__body {
    padding: 12px 12px 40px;
  }

  .vs-csdl-filters {
    gap: 8px;
  }

  .vs-page .khung_du_lieu,
  .vs-csdl-modal .khung_du_lieu {
    min-width: calc(50% - 8px);
    flex: 1 1 calc(50% - 8px);
  }

  .vs-page .khung_du_lieu select,
  .vs-csdl-modal .khung_du_lieu select {
    max-width: none;
    min-width: 0;
  }
}

/* ----- Header / footer polish ----- */
#gop_top {
  background: #ffffff !important;
  border-bottom: 1px solid var(--vs-line);
  /* Trên #nav (z-index:99999) để dropdown ngôn ngữ không bị che */
  position: relative;
  z-index: 100050;
  overflow: visible;
}

#gop_top .nav_header,
#gop_top .contact_menu_top,
#gop_top .vs-header-tools {
  overflow: visible;
  position: relative;
  z-index: 100051;
}

#gop_top .logo span,
#gop_top a span,
#gop_top .logo a,
#gop_top a {
  color: var(--vs-navy) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  font-family: var(--vs-font) !important;
  text-shadow: none !important;
}

#nav.menu_top {
  background: var(--vs-brand) !important;
}

#nav .menu > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

#nav .menu__link,
#nav .menu > ul > li > a {
  color: #fff !important;
}

/* Ô tìm kiếm cạnh mục cuối của nav */
#nav .vs-nav-search.timkiem.desktop {
  position: relative !important;
  float: none !important;
  right: auto !important;
  top: auto !important;
  margin-left: auto;
  margin-right: 0;
  width: 210px;
  padding: 6px 0 6px 8px;
  border-bottom: none !important;
  list-style: none;
  z-index: 10;
}

#nav .vs-nav-search.timkiem.desktop .inputnhap {
  width: 100%;
  height: 34px;
  padding: 6px 36px 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff !important;
  font-family: var(--vs-font);
  font-size: 0.88rem;
  outline: none;
}

#nav .vs-nav-search.timkiem.desktop .inputnhap::placeholder {
  color: rgba(255, 255, 255, 0.85);
}

#nav .vs-nav-search.timkiem.desktop .nuttk,
#nav .vs-nav-search.timkiem.desktop a.nuttk {
  position: absolute !important;
  right: 8px !important;
  top: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: 28px !important;
  height: 28px !important;
  margin: auto 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: none !important;
  line-height: 1 !important;
  text-transform: none !important;
}

#nav .vs-nav-search.timkiem.desktop .nuttk img {
  width: 16px;
  height: 16px;
  display: block;
  margin: 0;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}

#nav .vs-nav-search.timkiem.desktop > div,
#nav .vs-nav-search.timkiem.desktop [id$="panel1"] {
  position: relative;
  display: block;
  height: 34px;
}

#nav .logo_mobile a,
#nav .logo_mobile span,
#nav .logo_mobile .shadow12_f20 {
  color: #fff !important;
  text-shadow: none !important;
}

/* Mobile header: cao hơn, chữ + nút căn giữa theo chiều dọc */
@media (max-width: 1200px) {
  #nav.menu_top,
  #nav {
    height: auto !important;
    min-height: 76px !important;
  }

  #nav.menu_top > .container,
  #nav.menu_top > .container > .row {
    min-height: 76px;
  }

  #nav.menu_top .col-lg-12 {
    display: flex !important;
    align-items: center !important;
    min-height: 76px;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    position: relative;
  }

  #nav .logo_mobile {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    top: 0 !important;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 !important;
    padding: 0 100px 0 6px !important;
  }

  #nav .logo_mobile a {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    text-decoration: none !important;
    max-width: 100%;
  }

  /* Mobile: không hiện logo 0.png (header + bar menu) */
  #gop_top .logo img,
  #nav .logo_mobile img,
  #nav .logo_mobile .vs-logo-mobile-img,
  .logo_mobile img {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    visibility: hidden !important;
  }

  #nav .logo_mobile .shadow12_f20 {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: calc(100vw - 120px);
  }

  #nav .menu-button.vs-menu-toggle,
  #nav .menu-button {
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    transform: translateY(-50%) !important;
    float: none !important;
    margin: 0 !important;
  }
}

/* Nút menu mobile — icon FA rõ, không dùng 3 gạch CSS mờ */
#nav .menu-button.vs-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  height: 40px;
  padding: 0 12px;
  margin: 0;
  border: 2px solid var(--vs-navy) !important;
  border-radius: 10px;
  background: #fff !important;
  color: var(--vs-navy) !important;
  box-shadow: 0 2px 8px rgba(20, 54, 93, 0.12);
  float: right;
  z-index: 100001;
  cursor: pointer;
  line-height: 1;
}

#nav .menu-button.vs-menu-toggle .fa {
  font-size: 20px;
  line-height: 1;
  color: var(--vs-navy) !important;
  background: transparent !important;
}

#nav .menu-button.vs-menu-toggle .vs-menu-toggle__close {
  display: none;
}

#nav .menu-button.vs-menu-toggle .vs-menu-toggle__label {
  display: none !important;
}

#nav .menu-button.vs-menu-toggle.is-active {
  background: var(--vs-brand) !important;
  border-color: var(--vs-brand) !important;
  color: #fff !important;
}

#nav .menu-button.vs-menu-toggle.is-active .fa,
#nav .menu-button.vs-menu-toggle.is-active .vs-menu-toggle__label {
  color: #fff !important;
}

#nav .menu-button.vs-menu-toggle.is-active .vs-menu-toggle__open {
  display: none;
}

#nav .menu-button.vs-menu-toggle.is-active .vs-menu-toggle__close {
  display: inline-block;
}

/* Mobile: nền trắng → chữ đậm, không để trắng lẫn nền */
@media (max-width: 1200px) {
  #nav.menu_top,
  #nav {
    background: #ffffff !important;
    border-bottom: 1px solid var(--vs-line);
  }

  #nav .logo_mobile a,
  #nav .logo_mobile span,
  #nav .logo_mobile .shadow12_f20 {
    color: var(--vs-navy) !important;
    font-weight: 800 !important;
    text-shadow: none !important;
  }

  #nav .menu-button.vs-menu-toggle {
    display: inline-flex !important;
  }

  /* Không tô nền cả nút cũ kiểu span::before */
  #nav .menu-button:not(.vs-menu-toggle),
  #nav .menu-button:not(.vs-menu-toggle) span,
  #nav .menu-button:not(.vs-menu-toggle):before,
  #nav .menu-button:not(.vs-menu-toggle):after {
    background: var(--vs-navy) !important;
    color: var(--vs-navy) !important;
  }

  #nav .menu-content.open,
  #nav .menu-content {
    background: #ffffff !important;
  }

  #nav .menu__link,
  #nav .menu > ul > li > a,
  #nav .menu__sub-menu a,
  #nav .menu__sub-menu__item a {
    color: var(--vs-navy) !important;
  }

  #nav .menu > ul > li > a:hover,
  #nav .menu > ul > li > a.active_mn,
  #nav .menu__sub-menu a:hover {
    color: var(--vs-brand) !important;
  }

  #nav .vs-menu-ico {
    color: var(--vs-brand);
  }

  #nav .menu > ul {
    display: block;
  }

  #nav .vs-nav-search.timkiem.desktop {
    display: none !important;
  }
}

footer {
  background: linear-gradient(140deg, #14365d, #0b1a2c) !important;
  padding: 36px 0 24px !important;
}

footer .title_fot,
footer .text-white {
  color: #fff !important;
  font-family: var(--vs-font) !important;
}

footer .title_fot {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

footer .vs-footer-info {
  margin-bottom: 12px;
}

footer .vs-footer-install {
  margin-top: 0;
  margin-bottom: 16px;
  padding-top: 0;
}

@media (max-width: 767px) {
  footer .vs-footer-info {
    margin-bottom: 8px;
  }

  footer .vs-footer-install {
    margin-bottom: 12px;
  }

  footer .vs-footer-info .title_fot {
    margin-bottom: 0;
  }
}

/* Lớp mờ nền: phủ đúng #top_div, không phụ thuộc JS đo lệch */
#top_div.ontop {
  position: relative;
}

#top_div > #background_div {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  z-index: -1;
  pointer-events: none;
  box-sizing: border-box;
}

/* ----- Nhóm tin (groups_news) — card lưới cao bằng nhau ----- */
.vs-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin: 0 0 20px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius-lg);
  box-shadow: var(--vs-shadow);
  box-sizing: border-box;
}

.vs-news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius-lg);
  overflow: hidden;
  box-shadow: var(--vs-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.vs-news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(15, 27, 42, 0.28);
}

.vs-news-card__media-wrap {
  position: relative;
  flex: 0 0 auto;
  background: #e8ecf0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.vs-news-card__media {
  display: block;
  width: 100%;
  height: 100%;
  background: #e8ecf0;
  overflow: hidden;
}

/* groups_news: media trực tiếp dưới card — cố định tỉ lệ để hàng card cao đều theo nội dung dài nhất */
.vs-news-card > .vs-news-card__media {
  position: relative;
  flex: 0 0 auto;
  height: auto;
  aspect-ratio: 16 / 10;
}

.vs-news-card__media-wrap > .vs-news-card__media {
  position: absolute;
  inset: 0;
}

.vs-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vs-news-card > .vs-news-card__media img {
  position: absolute;
  inset: 0;
}

.vs-flipbook-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(15, 27, 42, 0.88);
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(15, 27, 42, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.vs-flipbook-btn:hover {
  background: var(--vs-brand, #9f1c1f);
  transform: scale(1.06);
  color: #fff !important;
}

.vs-flipbook-btn .fa {
  font-size: 1.05rem;
}

.vs-flipbook-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--vs-brand, #9f1c1f) !important;
  text-decoration: none !important;
}

.vs-flipbook-link:hover {
  text-decoration: underline !important;
}

.vs-news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 14px 16px 16px;
  min-height: 0;
}

.vs-news-card__title {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--vs-navy);
}

.vs-news-card__title a {
  color: inherit !important;
  text-decoration: none !important;
}

.vs-news-card__title a:hover {
  color: var(--vs-brand) !important;
}

.vs-news-card__date,
.time_up p,
.time_up_content p {
  margin: 0 0 8px;
  font-size: max(16px, 0.9rem);
  color: var(--vs-muted);
  font-weight: 600;
}

.time_up_content {
  font-style: normal;
  color: var(--vs-muted);
}

.time_up_content p {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-style: italic;
}

.vs-news-card__date::before,
.time_up p::before,
.time_up_content p::before {
  content: "\f073";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  margin-right: 6px;
  color: var(--vs-gold);
  speak: none;
  -webkit-font-smoothing: antialiased;
}

.vs-news-card__excerpt {
  margin: 0;
  /* Không clamp / không shrink — hiện đủ trích dẫn; card cao theo hàng (grid stretch) */
  flex: 0 0 auto;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #4a5a68;
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  max-height: none;
}

.vs-news-pager {
  background: #fff;
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius);
  padding: 10px 14px;
  margin: 0 0 24px;
}

.vs-news-grid--stack {
  grid-template-columns: 1fr;
}

.vs-news-card--panel {
  min-height: 0;
  border: 1px solid var(--vs-line);
  box-shadow: 0 6px 16px -12px rgba(15, 27, 42, 0.2);
  display: flex;
  flex-direction: column;
}

.vs-news-card--panel .vs-news-card__body {
  padding: 10px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-sizing: border-box;
}

.vs-news-card__body--dark {
  background: #16202a;
  color: #fff;
  /* padding đều 4 cạnh — list neo đáy để khoảng đen dưới bằng nhau */
  padding: 10px !important;
}

.vs-news-card__body--dark > h3,
.vs-news-card__body--dark > .title_center_0 {
  flex: 0 0 auto;
  margin: 0 0 8px;
  padding-top: 4px;
}

/* Wrapper list: chiếm phần còn lại, đẩy list xuống đáy → bottom padding đều */
.vs-news-card__body--dark > .mt-2,
.vs-news-card__body--dark > div[style*="text-align"] {
  flex: 1 1 auto;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0 !important;
  min-height: 0;
  text-align: left !important;
}

.vs-news-card__body--dark .list-group {
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
  width: 100%;
}

.vs-news-card__body--dark .list-group-item {
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 0 !important;
  background-clip: padding-box;
  text-align: left;
}

.vs-news-card__body--dark .list-group-item:first-child {
  border-top: 0 !important;
}

.vs-news-card__body--dark .list-group-item:last-child {
  border-bottom: 0 !important;
}

.vs-bulletin-section .vs-news-grid {
  margin-top: 8px;
  margin-bottom: 12px;
}

.vs-page .slider_tt .vs-news-card {
  height: 100%;
  margin: 0 6px;
}

.vs-baocao-page .vs-page-head,
.vs-bantin-page .vs-page-head {
  background:
    linear-gradient(135deg, #ffffff 0%, #f7f9fb 45%, #f0f3f6 100%);
  border: 1px solid var(--vs-line);
  box-shadow: 0 8px 18px -14px rgba(15, 27, 42, 0.18);
}

.vs-baocao-page .vs-page-head::before,
.vs-bantin-page .vs-page-head::before {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(26, 63, 104, 0.04), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(159, 28, 31, 0.04), transparent 55%);
}

.vs-baocao-page .vs-page-head .vs-page-title,
.vs-baocao-page .vs-page-head h3,
.vs-bantin-page .vs-page-head .vs-page-title,
.vs-bantin-page .vs-page-head h3 {
  color: var(--vs-navy) !important;
}

.vs-baocao-page .vs-page-head .vs-page-title .fa,
.vs-bantin-page .vs-page-head .vs-page-title .fa {
  color: var(--vs-brand);
}

.vs-baocao-page .vs-page-head .vs-sub,
.vs-bantin-page .vs-page-head .vs-sub {
  color: var(--vs-muted);
}

@media (max-width: 991px) {
  .vs-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .vs-news-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ / giới thiệu — layout kiểu trang bài viết (tham khảo HMU) */
.vs-article-page {
  margin: 0 0 28px;
}

.vs-article-hero {
  position: relative;
  background:
    radial-gradient(ellipse 90% 70% at 12% -10%, rgba(255, 255, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 55% at 100% 110%, rgba(159, 28, 31, 0.10), transparent 60%),
    linear-gradient(135deg, #1a3f68 0%, #234e78 50%, #2c5270 100%);
  color: #fff;
  border-radius: 0 0 18px 18px;
  padding: 36px 18px 40px;
  margin: 0 -4px 22px;
  overflow: hidden;
}

.vs-article-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.vs-breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 14px;
  opacity: 0.92;
}

.vs-breadcrumb a {
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
}

.vs-breadcrumb a:hover {
  text-decoration: underline !important;
}

.vs-bc-sep {
  margin: 0 8px;
  opacity: 0.7;
}

.vs-article-hero-title {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff !important;
  text-shadow: none !important;
  line-height: 1.25;
}

.vs-article-hero-sub {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
}

.vs-article-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  padding: 0 10px;
  align-items: start;
}

.vs-article-main {
  background: #fff;
  border: 1px solid var(--vs-line);
  border-radius: 16px;
  padding: 28px 28px 32px;
  box-shadow: var(--vs-shadow);
}

.vs-article-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--vs-line);
}

.vs-article-title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 800;
  color: var(--vs-navy);
  line-height: 1.35;
}

.vs-article-meta {
  margin: 0;
  color: var(--vs-muted);
  font-size: 0.9rem;
  font-style: italic;
}

.vs-article-meta .fa {
  margin-right: 6px;
  color: var(--vs-brand);
  font-style: normal;
}

.vs-faq-content,
.vs-article-body {
  line-height: 1.85;
  color: #2c3540;
  font-size: 1.02rem;
  border-left: 4px solid #14365d;
  padding-left: 18px;
  margin-left: 2px;
}

.vs-faq-content table {
  width: 100% !important;
  border: none !important;
  margin: 0 !important;
}

.vs-faq-content td,
.vs-faq-content tr {
  border: none !important;
  background: transparent !important;
}

.vs-faq-content p,
.vs-article-body p {
  margin: 0 0 1.15rem;
  text-align: justify;
}

.vs-faq-content h3,
.vs-article-body h3 {
  margin: 1.6rem 0 0.7rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--vs-navy);
  line-height: 1.35;
}

.vs-faq-content a,
.vs-article-body a {
  color: var(--vs-brand) !important;
  font-weight: 700;
  text-decoration: underline !important;
}

.vs-article-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 22px;
}

.vs-article-stat {
  background: #f4f6f8;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  border: 1px solid var(--vs-line);
}

.vs-article-stat strong {
  display: block;
  font-family: var(--vs-font-num);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--vs-brand);
  line-height: 1.1;
  margin-bottom: 4px;
}

.vs-article-stat span {
  display: block;
  font-size: 0.78rem;
  color: var(--vs-muted);
  font-weight: 600;
}

.vs-article-side-card {
  background: #fff;
  border: 1px solid var(--vs-line);
  border-radius: 14px;
  padding: 16px 16px 14px;
  margin-bottom: 14px;
  box-shadow: 0 10px 24px -16px rgba(15, 27, 42, 0.25);
}

.vs-article-side-accent {
  background: linear-gradient(160deg, #f8fafb, #eef2f6);
}

.vs-article-side-title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--vs-navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.vs-article-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vs-article-side-list li {
  border-bottom: 1px solid var(--vs-line);
}

.vs-article-side-list li:last-child {
  border-bottom: none;
}

.vs-article-side-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 2px;
  color: var(--vs-ink) !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
}

.vs-article-side-list a:hover {
  color: var(--vs-brand) !important;
}

.vs-article-side-list .fa {
  width: 1.1em;
  color: var(--vs-brand);
  text-align: center;
}

.vs-article-side-note {
  margin: 0 0 10px;
  font-size: 0.86rem;
  color: var(--vs-muted);
  line-height: 1.55;
}

.vs-article-side-note .fa {
  color: var(--vs-brand);
  margin-right: 6px;
}

@media (max-width: 991px) {
  .vs-article-wrap {
    grid-template-columns: 1fr;
  }

  .vs-article-main {
    padding: 20px 16px 24px;
  }

  .vs-article-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vs-article-hero {
    padding: 28px 16px 32px;
    margin: 0 0 18px;
    border-radius: 0 0 14px 14px;
  }

  .vs-faq-content,
  .vs-article-body {
    padding-left: 14px;
  }
}

/* Chi tiết tin — mobile: không sát lề (xoamargin âm + nested container) */
.vs-newsdetail-page .vs-newsdetail-body.xoamargin {
  margin-left: 0;
  margin-right: 0;
}

.vs-newsdetail-page .vs-newsdetail-card {
  box-sizing: border-box;
}

.vs-newsdetail-page .content_gt_bv199,
.vs-newsdetail-page .title_content,
.vs-newsdetail-page .time_up_content {
  box-sizing: border-box;
  max-width: 100%;
}

.vs-newsdetail-page .content_gt_bv199 img {
  max-width: 100% !important;
  height: auto !important;
}

@media (max-width: 991px) {
  .vs-newsdetail-page .vs-newsdetail-body.xoamargin {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Chỉ một lớp padding ~10px — tránh cộng dồn container + card + content */
  .vs-newsdetail-page > .row > .container,
  .vs-newsdetail-page .vs-newsdetail-body > .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .vs-newsdetail-page .vs-newsdetail-card {
    padding-left: 0;
    padding-right: 0;
  }

  .vs-newsdetail-page .col-lg-8,
  .vs-newsdetail-page .col-12,
  .vs-newsdetail-page [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .vs-newsdetail-page .title_content,
  .vs-newsdetail-page .time_up_content,
  .vs-newsdetail-page .content_gt_bv199,
  .vs-newsdetail-page .icon-share-print {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .vs-newsdetail-page .content_gt_bv199,
  .vs-newsdetail-page .vs-newsdetail-html,
  .vs-newsdetail-page .vs-newsdetail-lead {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .vs-newsdetail-page .title_content h4 {
    line-height: 1.35;
  }
}

/* ----- Search results (pNum*_*.html → search.aspx) — dùng vs-news-grid/card ----- */
.vs-search-page .vs-page-head {
  background:
    linear-gradient(135deg, #ffffff 0%, #f7f9fb 45%, #f0f3f6 100%);
  border: 1px solid var(--vs-line);
  box-shadow: 0 8px 18px -14px rgba(15, 27, 42, 0.18);
}

.vs-search-page .vs-page-head::before {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(26, 63, 104, 0.04), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(159, 28, 31, 0.04), transparent 55%);
}

.vs-search-page .vs-page-head .vs-page-title,
.vs-search-page .vs-page-head h3 {
  color: var(--vs-navy) !important;
}

.vs-search-page .vs-page-head .vs-page-title .fa,
.vs-search-page .vs-page-head h3 .fa {
  color: var(--vs-brand);
}

.vs-search-page .vs-page-head .vs-sub {
  color: var(--vs-muted);
}

.vs-search-page .vs-search-kw {
  color: var(--vs-brand);
  font-weight: 800;
}

.vs-search-page .vs-news-pager,
.vs-search-page .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.vs-search-page .vs-news-pager a,
.vs-search-page .pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  background: #f4f7fa;
  color: var(--vs-ink) !important;
  font-weight: 700;
  text-decoration: none !important;
  border: 1px solid transparent;
}

.vs-search-page .vs-news-pager a:hover,
.vs-search-page .pagination a:hover {
  border-color: #c5ced6;
  background: #fff;
  color: var(--vs-brand) !important;
}

.vs-search-page .vs-news-pager a.actedPage,
.vs-search-page .pagination a.actedPage {
  background: var(--vs-brand);
  color: #fff !important;
  border-color: var(--vs-brand);
}

/* Chính sách */
.vs-cs-filters {
  margin-bottom: 10px;
  gap: 10px;
}

.vs-cs-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding-top: 10px;
  border-top: 1px solid var(--vs-line);
}

.vs-table-block {
  overflow: hidden;
}

.vs-table-block .vs-table,
.vs-table-block .table {
  border: none !important;
  border-radius: 0 !important;
}

.vs-cs-checklist label,
.vs-cs-checklist span {
  margin-right: 12px !important;
  font-weight: 600;
  color: var(--vs-ink);
}

.vs-file-link {
  color: var(--vs-brand) !important;
  font-weight: 700;
  text-decoration: none !important;
}

.vs-file-link:hover {
  text-decoration: underline !important;
}

/* Chart block CSDL */
.vs-chart-card {
  background: #fff;
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius-lg);
  padding: 14px 16px 8px;
  margin-bottom: 16px;
  box-shadow: var(--vs-shadow);
}

.vs-chart-card h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--vs-navy);
}

.vs-chart-note {
  color: var(--vs-muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.vs-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

/* Chuyển dạng bảng / đồ thị — nút đang chọn rõ ràng */
.vs-view-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 4px;
  background: #edf0f3;
  border: 1px solid var(--vs-line);
  border-radius: 12px;
}

.vs-view-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--vs-muted) !important;
  text-decoration: none !important;
  background: transparent;
  border: 0;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.vs-view-switch__btn .fa {
  opacity: 0.85;
}

.vs-view-switch__btn:hover {
  color: var(--vs-navy) !important;
  background: rgba(255, 255, 255, 0.65);
}

.vs-view-switch__btn.is-active {
  background: var(--vs-navy) !important;
  color: #fff !important;
  box-shadow: 0 6px 14px -6px rgba(20, 54, 93, 0.55);
  pointer-events: none;
  cursor: default;
}

.vs-view-switch__btn.is-active .fa {
  opacity: 1;
  color: var(--vs-gold);
}

/* Nút tab trong-page (Doanh nghiệp…) — vẫn bấm được khi active để không “đơ” */
button.vs-view-switch__btn {
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

button.vs-view-switch__btn.is-active {
  pointer-events: auto;
  cursor: default;
}

.vs-compare-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px 14px;
  background: #edf0f3;
  border-radius: 12px;
}

.vs-compare-bar .vs-field {
  min-width: 160px;
}

/* ----- Doanh nghiệp XNK ----- */
.vs-page .vs-dn-tabs .vs-dn-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.vs-page .vs-dn-tabs .vs-dn-radio > label {
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 8px 14px !important;
  background: #edf0f3 !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  color: var(--vs-ink) !important;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1.3;
}

.vs-page .vs-dn-tabs .vs-dn-radio > input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  pointer-events: none;
  clip: rect(0, 0, 0, 0);
}

.vs-page .vs-dn-tabs .vs-dn-radio > input[type="radio"]:checked + label {
  background: var(--vs-brand) !important;
  color: #fff !important;
}

.vs-page .vs-dn-tabs .vs-dn-radio > input[type="radio"]:focus-visible + label {
  outline: 2px solid var(--vs-brand);
  outline-offset: 2px;
}

.vs-dn-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px 14px;
  background: #edf0f3;
  border-radius: 12px;
}

.vs-dn-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 180px;
  min-width: 140px;
}

.vs-dn-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--vs-muted);
  margin: 0;
}

.vs-dn-field .form-control,
.vs-dn-field input[type="text"] {
  width: 100% !important;
  max-width: 100%;
  margin: 0 !important;
}

.vs-dn-pagesize {
  flex: 0 0 120px;
  max-width: 140px;
}

.vs-dn-actions {
  flex: 0 0 auto;
}

.vs-dn-actions .vs-btn,
.vs-dn-actions input[type="submit"] {
  margin: 0 !important;
  min-width: 88px;
}

.vs-dn-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Autocomplete tìm doanh nghiệp (native) */
.vs-dn-field {
  position: relative;
}
.vs-dn-ac {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 40;
  max-height: 280px;
  overflow-y: auto;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--vs-line);
  border-radius: 10px;
  box-shadow: 0 12px 28px -14px rgba(15, 27, 42, 0.35);
}
.vs-dn-ac__item {
  padding: 8px 12px;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--vs-ink);
  cursor: pointer;
}
.vs-dn-ac__item:hover,
.vs-dn-ac__item.is-active {
  background: #edf0f3;
  color: var(--vs-navy);
}

.vs-dn-table-wrap .vs-table {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .vs-csdl-layout {
    grid-template-columns: 1fr;
  }

  .vs-page .vs-bulletin-section .xoamargin,
  .vs-page .xoamargin:has(.khung_dv_con) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .vs-dn-tabs .vs-dn-radio label {
    font-size: 0.82rem;
    padding: 7px 11px;
  }

  .vs-dn-toolbar {
    padding: 10px;
    gap: 10px;
  }

  .vs-dn-pagesize {
    flex: 1 1 100px;
  }

  html,
  body {
    background-color: var(--vs-bg) !important;
    background-image: none !important;
  }
}

/* ----- Global loading overlay ----- */
#vs-loading {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  background: rgba(22, 32, 42, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

#vs-loading.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

#vs-loading .vs-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top-color: #e3b341;
  border-right-color: #fff;
  border-radius: 50%;
  animation: vs-spin 0.75s linear infinite;
}

#vs-loading .vs-loading-text {
  color: #fff;
  font-family: var(--vs-font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

@keyframes vs-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ----- tm.aspx chart filters ----- */
.vs-tm-filters,
.vs-tm-range {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.vs-tm-range {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  background: #f6f8fa;
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius);
  padding: 12px;
}

.vs-tm-actions .vs-btn,
.vs-tm-actions input[type="submit"] {
  width: 100%;
}

.vs-tm-chart {
  background: #fff;
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius);
  padding: 8px;
  margin-bottom: 12px;
}

.vs-tm-chart-title {
  margin: 8px 0 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--vs-ink);
}

.vs-tm-chart-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.vs-tm-chart-types .option {
  padding-left: 14px !important;
  padding-right: 14px !important;
}

.vs-tm-export {
  margin-bottom: 14px;
}

.vs-tm-grid {
  position: relative;
}

@media (max-width: 900px) {
  .vs-tm-filters,
  .vs-tm-range {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .vs-tm-filters,
  .vs-tm-range {
    grid-template-columns: 1fr;
  }
}

/* ----- Điều tra hàng năm ----- */
.vs-survey-page .vs-bulletin-section {
  background: #fff;
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius);
  padding: 12px;
  box-shadow: 0 10px 24px -16px rgba(15, 27, 42, 0.25);
}

.vs-survey-page .vs-bulletin-head {
  margin-bottom: 12px;
}

.vs-survey-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.vs-survey-table-wrap .table,
.vs-survey-table-wrap .vs-table {
  margin-bottom: 0;
}

.vs-survey-page .vs-survey-year {
  width: 88px;
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.vs-survey-page .vs-survey-file {
  width: 140px;
  text-align: center;
  white-space: nowrap;
}

.vs-survey-page .vs-survey-file a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 96px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(140deg, #1e5a8a, #14365d);
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 6px 14px -8px rgba(20, 54, 93, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.vs-survey-page .vs-survey-file a:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px -10px rgba(20, 54, 93, 0.65);
  color: #fff !important;
}

.vs-survey-page .vs-survey-pager,
.vs-survey-page .vs-survey-pager td {
  background: #f6f8fa !important;
  border-color: var(--vs-line) !important;
  padding: 10px 12px !important;
}

.vs-survey-page .vs-survey-pager a,
.vs-survey-page .vs-survey-pager span {
  display: inline-block;
  min-width: 28px;
  padding: 4px 8px;
  margin: 0 2px;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
}

.vs-survey-page .vs-survey-pager a {
  color: var(--vs-brand) !important;
  text-decoration: none !important;
}

.vs-survey-page .vs-survey-pager span {
  background: var(--vs-brand);
  color: #fff !important;
}

@media (max-width: 640px) {
  .vs-page {
    padding: 10px 6px 32px;
  }

  .vs-page .vs-bulletin-section .xoamargin,
  .vs-page .xoamargin:has(.khung_dv_con) {
    grid-template-columns: 1fr !important;
  }

  .vs-stat-value {
    font-size: 1.4rem;
  }

  .vs-filters {
    grid-template-columns: 1fr 1fr;
  }

  .vs-survey-page .vs-survey-year,
  .vs-survey-page .vs-survey-file {
    width: auto;
  }
}

/* Admin form helpers (addeditNews, etc.) */
.admin .vs-radio-inline table,
.admin .vs-radio-inline td,
.admin .vs-radio-inline label {
  display: inline-block;
  margin-right: 12px;
  vertical-align: middle;
  white-space: nowrap;
}

.admin .vs-topic-tree {
  max-height: 70vh;
  overflow: auto;
  border: 1px solid var(--vs-line);
  border-radius: 8px;
  padding: 8px;
  background: #fafbfc;
}

.admin .formRegister .row.g-3 > .fw-bold,
.admin .formRegister .col-md-2.fw-bold,
.admin .formRegister .col-md-3.fw-bold {
  color: var(--vs-navy);
  padding-top: 0.4rem;
}

@media (max-width: 991px) {
  .admin .col-lg-7[style*="border-right"] {
    border-right: 0 !important;
    border-bottom: 1px solid var(--vs-line);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }
}

/* ========== Language switcher (Google Translate) ========== */
#google_translate_element2,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
body > .skiptranslate,
.goog-te-gadget {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

body {
  top: 0 !important;
}

.vs-header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vs-lang-switcher {
  position: relative;
  z-index: 100100;
  user-select: none;
}

.vs-lang-switcher.active {
  z-index: 100200;
}

.vs-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--vs-line);
  border-radius: 999px;
  background: #fff;
  color: var(--vs-navy);
  font-family: var(--vs-font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(20, 54, 93, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.vs-lang-btn:hover,
.vs-lang-switcher.active .vs-lang-btn {
  border-color: var(--vs-brand);
  color: var(--vs-brand);
  box-shadow: 0 4px 14px rgba(159, 28, 31, 0.12);
}

.vs-lang-btn .fa-globe {
  font-size: 1.05rem;
  color: var(--vs-brand);
}

.vs-lang-btn .selected__lang {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vs-lang-switcher .translate__lang {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  max-height: min(70vh, 420px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--vs-line);
  border-radius: 12px;
  box-shadow: var(--vs-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100201;
}

.vs-lang-switcher.active .translate__lang {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.vs-lang-switcher .translate__lang ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.vs-lang-switcher .translate__lang li {
  margin: 0;
}

.vs-lang-switcher .translate__lang a {
  display: block;
  padding: 10px 16px;
  color: var(--vs-ink) !important;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.95rem;
}

.vs-lang-switcher .translate__lang a:hover {
  background: #f7f8fa;
  color: var(--vs-brand) !important;
}

.vs-lang-switcher .translate__lang a.active {
  background: var(--vs-brand);
  color: #fff !important;
}

/* Desktop: in header; hide mobile copy */
.vs-lang-switcher--mobile {
  display: none;
}

/* Mobile: show next to hamburger; hide desktop copy */
@media (max-width: 1200px) {
  .vs-lang-switcher--desktop {
    display: none !important;
  }

  .vs-lang-switcher--mobile {
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    right: 58px;
    transform: translateY(-50%);
    z-index: 1210;
    margin: 0;
  }

  .vs-lang-switcher--mobile .vs-lang-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border: 2px solid var(--vs-navy);
    border-radius: 10px;
  }

  .vs-lang-switcher--mobile .selected__lang {
    display: none;
  }

  .vs-lang-switcher--mobile .translate__lang {
    right: 0;
    left: auto;
    min-width: 170px;
  }

  #nav .menu-button.vs-menu-toggle {
    min-width: 40px;
    width: 40px;
    padding: 0;
    gap: 0;
  }

  #nav .logo_mobile {
    padding-right: 100px !important;
  }
}

@media (max-width: 480px) {
  .vs-lang-switcher--mobile {
    right: 54px;
  }
}

/* ========== Admin shell (HMU-style, VnSAT brand) — full-width ========== */
section.admin,
.admin {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 1rem 0.75rem 1.5rem;
  border-bottom: 1px solid var(--vs-line);
  box-sizing: border-box;
}

.admin .container,
.admin .container-fluid {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.admin .contentSchedule {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
}

.admin .groupHead {
  margin-bottom: 20px;
  color: var(--vs-brand);
}

.admin .itemContent {
  background: var(--vs-card);
  border: 1px solid var(--vs-line);
  padding: 1rem 1.25rem 0.75rem;
  box-shadow: var(--vs-shadow);
  color: var(--vs-navy);
  margin: 0 0 1.25rem;
  border-radius: var(--vs-radius);
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* Login: không full-width */
.admin.admin--login {
  padding: 2rem 1rem 3rem;
}

.admin.admin--login .container,
.admin.admin--login .contentSchedule {
  width: 100%;
  max-width: 560px !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.admin.admin--login .itemContent {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.admin .headContent {
  background: #fff;
  padding: 1rem 1.25rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border-radius: var(--vs-radius);
  border-bottom: 2px solid var(--vs-brand);
}

.admin .contentItemSchedule {
  display: block;
  padding: 0 0.25rem 0.75rem;
}

.admin .titleSchedule {
  font-family: var(--vs-font);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vs-brand);
  line-height: 1.4;
  margin: 0;
}

/* Bảng Admin: cuộn ngang/dọc + hàng đầu sticky */
.admin .formRegister,
.admin .contentItemSchedule,
.admin #dvGrid,
.admin [id$="dvGrid"],
.admin .xoamargin {
  max-width: 100%;
  overflow: visible;
}

.admin-table-scroll {
  max-width: 100%;
  max-height: calc(100vh - 170px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--vs-line);
  border-radius: 8px;
  background: #fff;
  margin-bottom: 0.75rem;
}

.admin .formRegister .table,
.admin .formRegister table.table,
.admin table.table,
.admin .table,
.admin table[id*="GridView"],
.admin table[id*="Browse"],
.admin-table-scroll > table {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  table-layout: fixed;
  margin-bottom: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
}

.admin table.table th,
.admin table.table td,
.admin .table th,
.admin .table td,
.admin-table-scroll table th,
.admin-table-scroll table td,
.admin table[id*="GridView"] th,
.admin table[id*="GridView"] td,
.admin table[id*="Browse"] th,
.admin table[id*="Browse"] td {
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  vertical-align: top;
  max-width: 0;
}

/* viewnews: cột tiêu đề chiếm phần lớn bảng */
.admin table.table th.col-tieude,
.admin table.table td.col-tieude,
.admin .table th.col-tieude,
.admin .table td.col-tieude {
  width: 58% !important;
  max-width: none !important;
  min-width: 280px;
}

.admin table.table span,
.admin table.table label,
.admin table.table a,
.admin .table span,
.admin .table label,
.admin .table a,
.admin-table-scroll table span,
.admin-table-scroll table label,
.admin-table-scroll table a {
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.admin table.table input[type="text"],
.admin table.table textarea,
.admin table.table select,
.admin .table input[type="text"],
.admin .table textarea,
.admin .table select,
.admin-table-scroll table input[type="text"],
.admin-table-scroll table textarea,
.admin-table-scroll table select,
.admin table[id*="GridView"] input[type="text"],
.admin table[id*="GridView"] textarea,
.admin table[id*="GridView"] select {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  white-space: normal;
}

/* Sticky header row (thead hoặc hàng th đầu của GridView) */
.admin-table-scroll table > thead > tr > th,
.admin-table-scroll table > thead > tr > td,
.admin-table-scroll table > tbody > tr:first-child > th,
.admin-table-scroll table > tr:first-child > th,
.admin table.table > thead > tr > th,
.admin table.stickyTableHeaders > thead > tr > th,
.admin table.stickyTableHeaders > tbody > tr:first-child > th {
  position: sticky !important;
  top: 0 !important;
  z-index: 8;
  background: #f7f8fa !important;
  color: var(--vs-navy) !important;
  font-weight: 700;
  box-shadow: 0 1px 0 var(--vs-line);
}

.admin .formRegister .formControl,
.admin .formRegister .form-control,
.admin .form-control,
.admin .form-select {
  font-family: var(--vs-font);
  font-size: var(--vs-font-size);
  border: 1px solid var(--vs-line);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
}

.admin .btn,
.admin input[type="button"],
.admin input[type="submit"] {
  font-family: var(--vs-font);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.4rem 1rem;
}

.admin .btn-success,
.admin .btn.btn-success {
  background: var(--vs-good) !important;
  border-color: var(--vs-good) !important;
  color: #fff !important;
}

.admin .btn-primary,
.admin .btn.btn-primary {
  background: var(--vs-brand) !important;
  border-color: var(--vs-brand) !important;
  color: #fff !important;
}

.admin .table {
  font-size: 1rem;
}

.admin .table thead th,
.admin .table > tbody > tr:first-child > th {
  background: #f7f8fa;
  color: var(--vs-navy);
  font-weight: 600;
  border-color: var(--vs-line);
}

/* Clone header của plugin cũ — đồng bộ nền */
.admin .tableFloatingHeaderOriginal th,
.admin .tableFloatingHeaderOriginal td {
  background: #f7f8fa !important;
  color: var(--vs-navy) !important;
}

.admin .require {
  color: var(--vs-bad);
}

.admin a {
  color: var(--vs-brand);
}

.admin .menu__logout,
.admin a.admin-logout {
  color: var(--vs-bad) !important;
  font-weight: 700;
}

/* Admin dropdown polish */
.menu__sub-menu .dropdown-item.admin-logout,
.menu__sub-menu__item a.admin-logout {
  color: var(--vs-bad) !important;
  font-weight: 700;
}

@media (max-width: 768px) {
  .admin {
    padding: 0.75rem 0.35rem 1.25rem;
  }
  .admin .itemContent {
    padding: 0.75rem;
  }
  .admin .titleSchedule {
    font-size: 1.25rem;
  }
}

/* PWA install */
.vs-pwa-install-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--vs-brand, #9f1c1f);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
  font-family: var(--vs-font, inherit);
}
.vs-pwa-install-btn[hidden] {
  display: none !important;
}
.vs-pwa-install-btn:hover {
  background: var(--vs-brand-dark, #6e1214);
  color: #fff;
}
.vs-pwa-install-btn .fa {
  font-size: 14px;
}
@media (max-width: 575px) {
  .vs-pwa-install-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
  .vs-pwa-install-label {
    display: inline;
  }
}