:root {
  --bg: #ffffff;
  --text: #1b1b1b;
  --muted: #6b7280;
  --accent: #0f62fe;
  --danger: #dc2626;
  --container: 1200px;
  --radius: 10px;
  --gap: 18px;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
}

* {
  box-sizing: border-box;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  margin-top: 40px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(20, 20, 50, 0.06);
  padding: 28px;
}

header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__logo {
  width: 70px;
  height: 69px;
  border-radius: 8px;
  /* background: linear-gradient(135deg, #003c47, #003c47); */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}
h1 {
  font-size: 20px;
  margin: 0;
}
p.lead {
  margin: 0;
  color: #0fb9b1;
  font-size: 15px;
}

.toc {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 6px;
}
.toc a {
  padding: 8px 12px;
  background: #f1f5f9;
  border-radius: 999px;
  text-decoration: none;
  color: #003c47;
  font-weight: 600;
  font-size: 13px;
}

main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

section.card {
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  border: 1px solid rgba(15, 98, 254, 0.03);
  font-size: 16px;
  line-height: 30px;
}
.tieudecard {
  margin-top: 0;
  font-size: 17px;
  color: #003c47;
  font-weight: bold;
}
ul {
  margin: 8px 0 0 20px;
}
ol {
  margin: 8px 0 0 20px;
}

/* Table responsive */
.table-wrap {
  overflow: auto;
  border-radius: 8px;
  border: 1px solid #eef2ff;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
  font-size: 17px;
}
th {
  background: #fbfdff;
  font-weight: 700;
}

.muted {
  color: var(--muted);
  font-size: 17px;
}
.danger {
  color: var(--danger);
  font-weight: 700;
}
.titlebdsknai {
  text-align: left;
  font-size: 24px;
  font-weight: 800;
  color: #003c47;
  margin-bottom: 10px;
  line-height: 28px;
}

/* Utilities */
.flex {
  display: flex;
  gap: 12px;
  align-items: center;
}
.badge {
  background: #eef2ff;
  color: var(--accent);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* small screens */
@media (max-width: 900px) {
  body {
    padding: 16px;
  }
  .wrap {
    padding: 18px;
  }
  h1 {
    font-size: 18px;
  }
  th,
  td {
    padding: 10px;
  }
  table {
    min-width: 520px;
  }
}

@media (max-width: 520px) {
  .brand {
    gap: 8px;
  }
  .brand__logo {
    width: 48px;
    height: 48px;
  }
  .toc a {
    font-size: 12px;
    padding: 7px 10px;
  }
  table {
    min-width: 480px;
  }
}

/* Accessibility focus */
a:focus {
  outline: 3px solid rgba(15, 98, 254, 0.18);
  outline-offset: 3px;
}
/* --- ICON UL/LI SANG TRỌNG --- */
/* --- UL LI SANG TRỌNG RIÊNG CHO KHU VỰC bds247-content --- */
.bds247-content ul {
  list-style: none;
  padding-left: 0;
  margin: 12px 0;
}

.bds247-content ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 26px;
  color: var(--text);
}

/* .bds247-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  mask: url("data:image/svg+xml;utf8,<svg width='12' height='12' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'><path fill='white' d='M7.293 14.707a1 1 0 0 1 0-1.414L10.586 10 7.293 6.707a1 1 0 0 1 1.414-1.414L13.414 10l-4.707 4.707a1 1 0 0 1-1.414 0z'/></svg>")
    center / contain no-repeat;
} */

/* OL */
.bds247-content ol {
  counter-reset: custom;
  list-style: none;
  padding-left: 0;
  margin: 12px 0;
}

.bds247-content ol li {
  counter-increment: custom;
  padding-left: 36px;
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 26px;
  position: relative;
}

.bds247-content ol li::before {
  content: counter(custom);
  position: absolute;
  left: 0;
  top: 4px;
  width: 24px;
  height: 24px;
  background: #003c47;
  color: white;
  font-size: 17px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
