*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #1F2933;
  background: #EEF1F5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid rgba(43, 92, 138, 0.6);
  outline-offset: 2px;
}

::selection {
  background: rgba(43, 92, 138, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
.xt-the {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #FFFFFF;
  border: 1px solid #D9DFE6;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 12px 32px -16px rgba(16, 24, 40, 0.22);
}

.xt-dau {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.xt-dau__dich-vu {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #616E7C;
}
.xt-dau__dich-vu .fa {
  color: #2B5C8A;
  opacity: 0.75;
}

.xt-dau__tieu-de {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 600;
  color: #1F2933;
  overflow-wrap: anywhere;
}
.xt-dau__tieu-de .fa {
  color: #2B5C8A;
  opacity: 0.7;
}

.xt-dau__mo-ta {
  font-size: 14px;
  color: #616E7C;
  overflow-wrap: anywhere;
}

.khu {
  border: 1px solid #D9DFE6;
  border-radius: 10px;
  background: #FFFFFF;
}

.khu__dau {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: #EBF1F7;
  border-bottom: 1px solid #D9DFE6;
  border-radius: 10px 10px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #1F2933;
}
.khu__dau .fa {
  width: 16px;
  text-align: center;
  color: #2B5C8A;
  opacity: 0.7;
}

.khu__than {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
}

.khu__dong {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.khu__nhan {
  font-size: 12px;
  color: #616E7C;
}

.khu__gia-tri {
  font-weight: 600;
  color: #1F2933;
  overflow-wrap: anywhere;
}

.khu__phu {
  font-size: 13px;
  color: #616E7C;
  overflow-wrap: anywhere;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid #C9D1DA;
  border-radius: 8px;
  background: #FFFFFF;
  color: #3E4C59;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover:not(:disabled) {
  background-color: #EDF0F4;
}
.btn:disabled, .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn .fa {
  opacity: 0.75;
}

.btn--primary {
  border-color: #2B5C8A;
  background: #2B5C8A;
  color: #FFFFFF;
}
.btn--primary:hover:not(:disabled) {
  border-color: #234B71;
  background-color: #234B71;
}
.btn--primary .fa {
  opacity: 0.9;
}

.thanh-nut {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.thanh-nut > form {
  display: contents;
}

.xt-nut__dang-gui {
  display: none;
}

.is-dang-gui > .xt-nut__chu {
  display: none;
}
.is-dang-gui > .xt-nut__dang-gui {
  display: inline;
}

.dai {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.dai > .fa {
  flex: none;
  margin-top: 3px;
}

.dai__ma {
  display: inline-block;
  padding: 0 6px;
  border-radius: 4px;
  background: rgba(31, 41, 51, 0.07);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.dai--loi {
  background: #FEF3F2;
  border-color: rgba(180, 35, 24, 0.3);
  color: #B42318;
}

.dai--canh {
  background: #FFFAEB;
  border-color: rgba(181, 71, 8, 0.35);
  color: #B54708;
}

.dai--ok {
  background: #ECFDF3;
  border-color: rgba(2, 122, 72, 0.3);
  color: #027A48;
}

.dai--tin {
  background: #F6F8FA;
  border-color: #D9DFE6;
  color: #3E4C59;
}

.o__chon {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 20px;
  color: #1F2933;
  cursor: pointer;
}
.o__chon input[type=checkbox] {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: #2B5C8A;
  cursor: pointer;
}
.o__chon input[type=checkbox]:disabled {
  cursor: not-allowed;
}

.nhan {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  border-radius: 9999px;
  background: #EDF0F4;
  color: #3E4C59;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
  vertical-align: 1px;
}

.xt-lien-ket {
  color: #2B5C8A;
  font-weight: 500;
}
.xt-lien-ket:hover {
  text-decoration: underline;
}
.xt-lien-ket .fa {
  margin-right: 4px;
  font-size: 12px;
  opacity: 0.75;
}

.than-xac-thuc {
  position: relative;
  min-height: 100vh;
}

.xt-phien-ban {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  margin: 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
  color: #616E7C;
}

.page-dong-y form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.page-dong-y .dy-ten-mien {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  color: #1F2933;
  overflow-wrap: anywhere;
}
.page-dong-y .dy-tai-khoan {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.page-dong-y .dy-tai-khoan .xt-lien-ket {
  flex: none;
  font-size: 13px;
}
.page-dong-y .dy-quyen {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-dong-y .dy-quyen__muc {
  padding: 12px 0;
  border-top: 1px solid #D9DFE6;
}
.page-dong-y .dy-quyen__muc:first-child {
  padding-top: 0;
  border-top: 0;
}
.page-dong-y .dy-quyen__muc:last-child {
  padding-bottom: 0;
}
.page-dong-y .dy-quyen__nhan {
  font-weight: 600;
  color: #1F2933;
  overflow-wrap: anywhere;
}
.page-dong-y .dy-quyen__mo-ta {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.5;
  color: #616E7C;
  overflow-wrap: anywhere;
}
.page-dong-y .dy-quyen__canh-bao {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 6px 0 0 24px;
  font-size: 13px;
  line-height: 1.5;
  color: #B54708;
}
.page-dong-y .dy-quyen__canh-bao .fa {
  flex: none;
  margin-top: 3px;
}
.page-dong-y .dy-quyen__muc--khoa .o__chon {
  cursor: default;
}
.page-dong-y .dy-thoi-han {
  font-size: 13px;
  color: #3E4C59;
}

.page-loi .loi-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #FEF3F2;
  color: #B42318;
  font-size: 20px;
}
.page-loi .loi-cau {
  color: #3E4C59;
  overflow-wrap: anywhere;
}
.page-loi .loi-ma {
  font-size: 13px;
  color: #616E7C;
}
.page-loi .thanh-nut {
  justify-content: flex-start;
}
