:root {
  --xanh-duong: #0031bc;
  --xanh-duong-light: #cceaff;
  --do: #c90000;
  --xam: #bfbfbf;
  --do-vien: #ea0000;
  --button: #3880f8;
  --brand: #64b5f6;
  --brand-dark: #66a4ff;
  --past: #64b5f6;
  --radius: 10px;
}
@font-face {
  font-family: "avo";
  src: url(fonts/UTM-Avo/UTM-Avo.ttf);
  font-weight: 400;
}
@font-face {
  font-family: "avo";
  src: url(fonts/UTM-Avo/UTM-AvoBold.ttf);
  font-weight: 700;
}
@font-face {
  font-family: "avo";
  src: url(fonts/UTM-Avo/UTM-AvoItalic.ttf);
  font-style: italic;
}
@font-face {
  font-family: "avo";
  src: url(fonts/UTM-Avo/UTM-AvoBold_Italic.ttf);
  font-weight: 700;
  font-style: italic;
}
@font-face {
  font-family: "matrix";
  src: url(fonts/SFUMatrixBold.TTF);
  font-weight: 400;
}
* {
  box-sizing: border-box;
}

body {
  font-size: 16px;
  font-family: "avo";
  font-weight: 400;
  margin: 0;
  padding: 0;
}
.container_h {
  max-width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  margin: auto;
  width: 100%;
}

.img-poster {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}
.img-poster img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.header-container .ten-logo {
  text-align: center;
  width: 100%;
  min-height: 50vh;
  background-image: url("/images/banner-ve-so-le-ngoc.jpg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  background-color: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 40%;
}
.header-container .ten-logo .name-web {
  font-size: 2em;
  letter-spacing: 1px;
  font-family: "matrix";
  color: var(--xanh-duong);
  text-shadow: -2px 0 #fff;
  padding-bottom: 20px;
}
.header-container .ten-logo .logo img {
  height: 140px;
  z-index: 999;
  position: relative;
}
.header-container .filter-box {
  display: flex;
  flex-direction: row;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 96%;
  padding: 10px;
  font-size: 0.7em;
  margin: 10px auto;
}

.header-container .filter-box .date,
.header-container .filter-box .custom-select,
.header-container .filter-box .btn-submit {
  width: 33%;
  height: 40px;
  white-space: nowrap;
  box-sizing: border-box;
}

.header-container .filter-box .date {
  position: relative;
}
.header-container .filter-box .date .date-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  height: 100%;
}

.calendar {
  position: absolute;
  top: 110%;
  left: 0;
  width: 200px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  padding: 10px;
  display: none;
  z-index: 1000;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.calendar-header button {
  border: 1px solid #ddd;
  border-radius: 3px;
  color: #666;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.calendar-grid div {
  padding: 6px 0;
  cursor: pointer;
  border-radius: 4px;
}
.calendar-grid div.selected {
  border: 1px solid var(--xanh-duong);
}
.calendar-grid div.current-date {
  border: 1px solid var(--xanh-duong-light);
  background-color: var(--xanh-duong-light);
}
.calendar-grid .day-name {
  font-weight: 700;
  cursor: default;
  background: none !important;
}

.custom-select {
  position: relative;
  width: 100%;
  max-width: 100%;
}
.custom-select #error_info {
  position: absolute;
  top: -16px;
  font-size: 10px;
  color: red;
  display: none;
}
.custom-select .selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  user-select: none;
}
.custom-select .options {
  list-style: none;
  padding: 0;
  margin: 3px 0 0 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  display: none;
  position: absolute;
  width: 100%;
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
  text-align: left;
}
.custom-select .options li {
  padding: 12px 14px;
  cursor: pointer;
}
.custom-select .options li:hover {
  background: #f0f0f0;
}

.btn-submit {
  width: 100%;
  background: var(--button);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.sky-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  position: relative;
}
.hamburger {
  position: fixed;
  top: 27px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--xanh-duong) !important;
  z-index: 1000;
}
.menu-list {
  position: fixed;
  top: -2000px;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  flex-direction: column;
  transition: max-height 0.4s ease;
  text-transform: uppercase;
  z-index: 999;
  transition: all 0.3s;
  box-sizing: border-box;
}
.menu-list.show {
  top: 0;
}
.menu-list ul {
  list-style: none;
  flex-direction: column;
  padding: 60px 0 15px 0;
  margin: 0;
}
.menu-list ul li {
  position: relative;
  padding: 15px 20px;
  text-align: left;
}
.menu-list ul li a {
  display: block;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
  font-size: 0.9em;
  padding: 10px;
  text-align: left;
}
.menu-list ul li #logoutBtn {
  display: block;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
  font-size: 0.9em;
  padding: 10px;
  text-align: left;
  border: none;
  background-color: transparent;
  text-transform: uppercase;
}
.menu-list ul li ul.sub li {
  padding: 0 20px;
}
.menu-list ul.menu-box {
  scrollbar-width: none;
  max-height: 100vh;
  overflow: hidden auto;
}

.menu-list ul.menu-box::-webkit-scrollbar {
  display: none;
}
.menu-list ul li a.active {
  background: #3380f8;
  color: #ffff00;
  font-weight: 700;
  width: auto;
  line-height: 30px;
  height: 42px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  border-radius: 5px;
}
.menu-list ul li ul.sub {
  display: none;
  flex-direction: column;
  position: relative;
  background: white;
  z-index: 99;
  top: 100%;
  padding-top: 15px;
  overflow-y: auto;
  max-height: 60vh;
}
.menu-list ul li:hover ul.sub::-webkit-scrollbar {
  width: 5px;
}
.menu-list ul li:hover ul.sub::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.menu-list ul li:hover ul.sub::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}
.menu-list ul li:hover ul.sub::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.menu-list ul li ul.sub li a {
  padding: 10px 15px;
  font-size: 0.9em;
  text-align: left;
}

.call-contact {
  position: fixed;
  bottom: 12%;
  left: 80%;
  width: 100%;
  z-index: 9999;
  padding: 5px 0;
  display: none;
}
.call-contact .phone-hotline {
  display: flex;
  align-items: center;
  color: #ea0000;
  text-shadow: 1px 1px 0 white, -1px 1px 0 white, 1px -1px 0 white,
    -1px -1px 0 white;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.2em;
}
.call-contact .phone-hotline img {
  width: 40px;
  margin-right: 8px;
}
.call-contact .phone-hotline .sdt {
  display: none;
}

.toogle-menu.active {
  background-color: var(--do);
}
.toogle-menu.active .line {
  background: yellow;
}

.main-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  box-sizing: border-box;
}
.main-content .container_h {
  padding: 0;
}
.css-pr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: -5%;
}

.css-pr-left img,
.css-pr-right img {
  width: 100%;
  height: auto;
  display: block;
}

.content-center {
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  width: 96%;
}
.content-center .side-column-content-left,
.content-center,
.side-column-content-right {
  width: 100%;
}
.side-column-content-right .title-lottery {
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 20px;
  text-align: left;
  padding: 0 16px;
}
.content-center .side-column-content-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  order: 1;
}
.total-lottery {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}
.lotto-header {
  background: var(--button);
  color: yellow;
  text-align: center;
  padding: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.lotto-container.single-lottery table {
  border: none;
}
.lotto-container.single-lottery table tbody tr td div {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.lotto-container.default {
  width: 100%;
  border-radius: 5px;
  border: 1px solid red;
}
.lotto-container.default h2 {
  font-size: 28px;
  color: red;
}
.lotto-container.default p {
  font-size: 1.2em;
  font-style: italic;
}
.lotto-container {
  width: 100%;
  font-size: 0.8em;
}
.lotto-container table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}
.lotto-container table th,
.lotto-container table td {
  padding: 2px;
  border: 1px solid #ddd;
  color: #111;
  word-wrap: break-word;
  white-space: normal;
}
.lotto-container table th {
  background: transparent;
  font-weight: 700;
}
.lotto-container.lottery table thead tr th:first-child,
.lotto-container.single-lottery table thead tr th:first-child {
  /* width: 70px; */
  white-space: nowrap;
}
.lotto-container.single-lottery table thead tr:nth-child(2) th:first-child,
.lotto-container.single-lottery table tbody tr .prize-title {
  width: 40px;
}
.lotto-container table tbody tr:nth-child(even) {
  background-color: #f4f4f4;
}
.lotto-container table thead tr:last-child th {
  background-color: #f4f4f4;
}
.lotto-container table tr td {
  font-weight: bold;
  font-size: 1.4em;
  line-height: 1.7em;
}
.lotto-container table tr td.footer_table {
  font-size: 1em;
}
.lotto-container table .prize-title {
  background: transparent;
  font-weight: normal;
  font-size: 1em;
}
.lotto-container .lottery_top,
.lotto-container .lottery_center,
.lotto-container .header_table,
.lotto-container .footer_table {
  display: none;
}
.lotto-container table tr td.row-2 {
  color: var(--brand);
}
.lotto-container table .jackpot {
  color: #d60000;
  font-size: 2.2em;
  font-weight: 700;
}
.lotto-container table .special {
  color: #d60000;
  font-weight: 700;
}

.loto-text {
  line-height: 1.6;
  margin-top: 20px;
  text-align: left;
  padding: 0 16px;
}
.loto-text b {
  display: block;
  margin: 12px 0 6px;
  font-weight: 700;
}
.logo-text {
  display: inline-flex;
}
.loto-text b + div {
  padding: 10px 12px;
  margin-bottom: 8px;
}
.loto-text b + div br {
  line-height: 1.9;
}
.loto-text i {
  display: block;
  margin-top: 12px;
  font-style: italic;
}

.mega-loto {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.mega-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.mega-ki-box {
  width: 100%;
  background: #ffffff;
  overflow: hidden;
  animation: fadeIn 0.6s ease-in-out;
}
.loto.mega-ki-box .mega-ki-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin: 0 2px;
}

.loto.mega-ki-box .mega-ki-dot.green {
  background-color: #139250;
}

.loto.mega-ki-box .mega-ki-dot.orange {
  background-color: #ee8541;
}
.loto.mega-ki-box .mega-ki-table thead tr th:nth-child(3),
.loto.mega-ki-box .mega-ki-table tbody tr td:nth-child(3) {
  width: 30px;
}
.loto.mega-ki-box .plus {
  margin: 0 4px;
  width: 10px;
  height: 16px;
}
.loto.mega-ki-box .mega-ki-table tbody tr td:nth-child(2) {
  padding: 0;
}
.loto.mega-ki-box .mega-ki-table tbody tr:nth-child(2) td:nth-child(2) {
  padding-right: 30px;
}
.loto.mega-ki-box .mega-ki-table tbody tr:nth-child(4) td:nth-child(2) {
  padding-right: 30px;
}
.loto.mega-ki-box .mega-ki-table tbody tr:nth-child(6) td:nth-child(2) {
  padding-right: 30px;
}
.max3d.plus.mega-ki-box .mega-ki-table tbody tr:nth-child(1) td:nth-child(2) {
  border: none;
  font-size: 50px;
  color: #ca2399;
}
.max3d.plus.mega-ki-box .mega-ki-table tbody tr:nth-child(2) td:nth-child(2),
.max3d.plus.mega-ki-box .mega-ki-table tbody tr:nth-child(3) td:nth-child(2),
.max3d.plus.mega-ki-box .mega-ki-table tbody tr:nth-child(4) td:nth-child(2) {
  font-size: 35px;
}

.max3d.mega-ki-box .mega-ki-table tbody tr td:nth-child(1) {
  min-width: 90px;
}
.max3d.mega-ki-box .mega-ki-table tbody tr td:nth-child(2) {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.max3d.mega-ki-box .mega-ki-table tbody tr:nth-child(1) td:nth-child(2) span {
  font-size: 50px;
  color: #ca2399;
}
.max3d.mega-ki-box {
  border: 1px solid #98036d;
  max-width: 580px;
}
.max3d.mega-ki-box .mega-ki-header {
  background-color: #98036d;
}
.max3d.mega-ki-box .mega-ki-table tbody tr:nth-child(5) td:nth-child(2),
.max3d.mega-ki-box .mega-ki-table tbody tr:nth-child(6) td:nth-child(2),
.max3d.mega-ki-box .mega-ki-table tbody tr:nth-child(7) td:nth-child(2),
.max3d.mega-ki-box .mega-ki-table tbody tr:nth-child(8) td:nth-child(2) {
  display: flex;
  flex-direction: column;
  min-height: 60px;
  justify-content: center;
  align-items: center;
}
.max3d.mega-ki-box.plus
  .mega-ki-table
  tbody
  tr:nth-child(5)
  td:nth-child(1)
  span,
.max3d.mega-ki-box.plus
  .mega-ki-table
  tbody
  tr:nth-child(6)
  td:nth-child(1)
  span,
.max3d.mega-ki-box.plus
  .mega-ki-table
  tbody
  tr:nth-child(7)
  td:nth-child(1)
  span {
  font-weight: 400 !important;
  font-style: italic;
}
.mega-ki-box.max3d .mega-ki-table {
  border: none;
  margin-top: 0;
}
.max3d.mega-ki-box .mega-ki-table tbody tr:nth-child(2) td:nth-child(2) span,
.max3d.mega-ki-box .mega-ki-table tbody tr:nth-child(3) td:nth-child(2) span,
.max3d.mega-ki-box .mega-ki-table tbody tr:nth-child(4) td:nth-child(2) span {
  font-size: 35px;
}
.max3d.mega-ki-box .mega-ki-table tbody tr:nth-child(5) td:nth-child(2) span,
.max3d.mega-ki-box .mega-ki-table tbody tr:nth-child(6) td:nth-child(2) span,
.max3d.mega-ki-box .mega-ki-table tbody tr:nth-child(7) td:nth-child(2) span,
.max3d.mega-ki-box .mega-ki-table tbody tr:nth-child(8) td:nth-child(2) span {
  font-size: 0.9em;
  font-weight: 400 !important;
  font-style: italic;
}
.loto.mega-ki-box {
  border: 1px solid #139250;
}
.loto.mega-ki-box .mega-ki-header {
  background-color: #139250;
}
.loto.mega-ki-box .mega-ki-ball {
  background-color: #139250;
}
.loto.mega-ki-box .mega-ki-ball:last-child {
  background: #ee8541;
}
.loto.mega-ki-box .mega-ki-jackpot {
  color: #139250;
}
.loto.mega-ki-box .mega-ki-dot {
  background-color: #139250;
}
.mega-ki-box .mega-ki-header {
  background: #d71920;
  color: white;
  padding: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 1.2em;
  letter-spacing: 1px;
}
.mega-ki-box .mega-ki-sub {
  text-align: center;
  padding: 10px;
  border-bottom: 1px solid #e2e8f0;
  background-color: rgba(113, 108, 108, 0.1);
}
.mega-ki-box .mega-ki-numbers {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 12px 0;
  flex-wrap: wrap;
}
.mega-ki-box .mega-ki-ball {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #d71920;
  color: white;
  font-weight: 700;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(162, 146, 146, 0.6);
  transition: transform 0.2s;
}
.mega-ki-box label {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-weight: 700;
}
.mega-ki-box .mega-ki-jackpot {
  text-align: center;
  font-size: 2em;
  font-weight: 700;
  color: #d71920;
  margin: 10px 0;
}
.mega-ki-box .mega-ki-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.mega-ki-box .mega-ki-table th,
.mega-ki-box .mega-ki-table td {
  border: 1px solid #e2e8f0;
  background-color: #fff;
  color: #111;
  padding: 8px;
  text-align: center;
  font-size: 0.7em;
}
.mega-ki-box .mega-ki-table th {
  font-weight: 700;
}
.mega-ki-box .mega-ki-table tbody tr td:nth-child(2) {
  min-width: 120px;
  text-align: right;
}

.mega-ki-box .mega-ki-table tbody tr td:nth-child(4) {
  font-weight: 700;
}
.mega-ki-box .mega-ki-dot {
  display: inline-flex;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgb(240, 44, 44);
  margin: 0 2px;
}
.mega-ki-box
  .mega-ki-table
  tbody
  tr:nth-child(2)
  .mega-ki-dot.power:last-child {
  background: #ffc10e;
}
.mega-ki-box .table-power,
.mega-ki-box .power,
.mega-ki-box .mega-ki-numbers .power-ball {
  background: #c44822;
}

.mega-ki-box .mega-ki-numbers .power-ball:last-child {
  background: #ffc10e;
}
.mega-ki-box .power-color {
  color: #c44822;
}
.power-vien {
  border: 1px solid #c44822;
}
.mega-vien {
  border: 1px solid #d71920;
}

.side-column-content-left .kidc {
  width: 100%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.side-column-content-left .kidc .kidc__header {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 4px;
  background: #66a4ff;
  color: #fff;
  position: relative;
}
.side-column-content-left .kidc .kidc__btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 18px;
  line-height: 28px;
  cursor: pointer;
  transition: background 0.2s;
}
.side-column-content-left .kidc .kidc__btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.side-column-content-left .kidc .kidc__title {
  text-align: center;
  font-size: 0.9em;
  font-weight: 400;
}
.side-column-content-left .kidc .kidc__week,
.kidc .kidc__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  background: #d7eeff;
  gap: 5px;
}
.side-column-content-left .kidc .kidc__week div {
  padding: 6px 0;
  font-size: 0.9em;
  font-weight: 600;
  color: #567fb7;
  font-weight: 400;
}
.side-column-content-left .kidc .kidc__cell {
  padding: 10px 0;
  font-size: 13px;
  font-weight: 400;
  margin: 1px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  color: #7eb2ff;
  background: white;
}
.side-column-content-left .kidc .kidc__cell:hover {
  background: #bbdefb;
  transform: scale(1.03);
}
.side-column-content-left .kidc .kidc__cell--muted {
  background: #e6eaf3;
  cursor: default;
  color: rgb(208, 208, 208);
  font-weight: 400;
}
.side-column-content-left .kidc .kidc__cell--muted:hover {
  background: transparent;
  transform: none;
}
.side-column-content-left .kidc .kidc__cell--past {
  background: var(--past);
  color: #fff;
  font-weight: 700;
}
.side-column-content-left .kidc .kidc__cell--today {
  outline-offset: -2px;
  background: #3880f8;
  color: white;
  font-weight: 700;
}
.side-column-content-left .kidc .kidc__cell--active {
  background: var(--brand-dark) !important;
  color: #fff !important;
}
.side-column-content-left .list-company {
  width: 100%;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
.side-column-content-left .list-company .list-company-header {
  background: var(--button);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 12px;
  font-size: 1.2em;
  font-family: "matrix";
}
.side-column-content-left .list-company .list-company-list {
  list-style: none;
  padding: 8px 12px;
  margin: 0;
}
.side-column-content-left .list-company .list-company-list .loading-lottery {
  font-size: 12px;
  text-align: left;
  font-weight: 700;
  color: blue;
}
.side-column-content-left .list-company .list-company-list li {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #333;
  padding: 8px 0;
  cursor: pointer;
  transition: all 0.25s ease;
}
.content-center .side-column-content-right {
  order: 2;
}
.side-column-content-right .loadding-side {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 5px;
  margin: 0 0 15px 0;
}
.side-column-content-right .loadding-side img {
  width: 15px;
  height: 15px;
  object-fit: cover;
  margin-top: 3px;
}
.side-column-content-right .loadding-side .loading-lottery {
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  color: #29abe2;
}
.content-center .side-column-content-right.single {
  order: unset;
}
.side-column-content-left .list-company .list-company-list li:last-child {
  border-bottom: none;
}
.side-column-content-left .list-company .list-company-list li a {
  text-decoration: none;
  color: black;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.side-column-content-left .list-company .list-company-list li img {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}
.side-column-content-left .list-company-divider {
  height: 2px;
  background-color: #ccc;
  margin: 10px 10px;
}
.side-column-content-left .list-company-banner {
  position: relative;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  padding: 100px 5px 0px 5px;
}
.side-column-content-left .list-company-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.side-column-content-left .list-company-banner h2 {
  position: absolute;
  top: 11%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #2f5ea2;
  font-size: 1.8em;
  white-space: nowrap;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}
.side-column-content-left .list-company .header-color {
  background: #29abe2;
}

footer {
  background-color: #66a4ff;
  color: #fff;
  margin-top: 30px;
}
footer .ft-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 15px 60px 15px;
}
footer .ft-container .logo-ft {
  margin-top: 30px;
}
footer .ft-container .logo-ft img {
  margin-bottom: 20px;
}
.ifor ul li a,
.chinh-sach li a,
.calendar-sx li a {
  color: #fff;
  transition: all 0.4s;
}
.ifor ul li a:hover,
.chinh-sach li a:hover,
.calendar-sx li a:hover {
  color: yellow;
}
.infor-ft-left,
.infor-ft-center,
.infor-ft-right {
  margin-bottom: 20px;
}
.infor-ft-left span,
.infor-ft-center span,
.infor-ft-right span {
  display: block;
  font-weight: bold;
  margin-bottom: 10px;
}
.infor-ft-left span {
  font-size: 1.5em;
}
.infor-ft-left ul,
.infor-ft-center ul,
.infor-ft-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.infor-ft-left .ifor ul li {
  line-height: 2;
}
.infor-ft-center li,
.infor-ft-right li {
  margin-bottom: 8px;
}
.infor-ft-center a,
.infor-ft-right a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.ft-bottom {
  background: #3880f8;
}
.ft-bottom .all-by {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px;
}
.ft-bottom .by-le-ngoc,
.ft-bottom .by-vdesign {
  width: 100%;
  margin: 5px 0;
  font-size: 0.8em;
}

#backToTop {
  position: fixed;
  bottom: 40px;
  right: 30px;
  display: none;
  background: #3498db;
  color: #fff;
  border: none;
  padding: 10px 12px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.featured-news-widget {
  border: 1px solid #e0e0e0;
  background-color: #fff;
  width: 100%;
}

.featured-news-widget .fnw-header {
  background: var(--button);
  color: #fff;
  font-size: 1.2em;
  font-weight: 700;
  text-align: center;
  padding: 12px;
  text-align: left;
  font-family: "matrix";
  text-transform: uppercase;
}

.featured-news-widget .fnw-list {
  padding: 10px 0;
}

.featured-news-widget .fnw-item {
  display: flex;
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
}

.featured-news-widget .fnw-item:last-child {
  border-bottom: none;
}
.featured-news-widget.ket-qua .fnw-thumb {
  width: 100%;
  margin: 0;
  flex: 100%;
}
.featured-news-widget.ket-qua .fnw-thumb img {
  width: 100%;
  max-height: unset;
  height: auto;
  object-fit: cover;
}
.featured-news-widget.ket-qua .fnw-item {
  padding: 0 15px;
}
.featured-news-widget .fnw-thumb {
  flex: 0 0 60px;
  margin-right: 10px;
  position: relative;
}
.featured-news-widget .fnw-thumb .time span {
  font-size: 7px;
  color: #0a489d;
  font-weight: 700;
}
.featured-news-widget .fnw-thumb .time {
  position: absolute;
  z-index: 1;
  bottom: 18%;
  right: 7%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 45%;
}
.featured-news-widget .fnw-thumb img {
  width: 90px;
  max-height: 60px;
  height: 100%;
  object-fit: cover;
  border: 1px solid #ddd;
}

.featured-news-widget .fnw-content {
  flex: 1;
}

.featured-news-widget .fnw-title {
  display: block;
  font-size: 14px;
  text-align: left;
  color: #333;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.3em;
  overflow: hidden;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
}

.featured-news-widget .fnw-title:hover {
  color: #c00;
}
section.users-form {
  padding: 0 16px;
  max-width: 1200px;
  margin: auto;
}
.lxg-popup {
  inset: 0;
  padding: 0 16px;
  margin: 40px 0;
}
.lxg-popup.lxg-show {
  display: block;
}

.lxg-popup .lxg-popup-content {
  margin: auto;
  padding: 20px;
  width: 100%;
  max-width: 520px;
  border-radius: 5px;
  position: relative;
  border: #ccc solid 1px;
}

.lxg-popup .lxg-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 26px;
  cursor: pointer;
  color: #666;
}
.lxg-popup .lxg-close:hover {
  color: #000;
}

.lxg-popup .lxg-title {
  text-align: center;
  margin-bottom: 15px;
  color: #333;
  margin-top: 0;
}
.lxg-popup .lxg-label {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  text-align: left;
}
.lxg-popup .lxg-input {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.lxg-popup .lxg-button {
  width: 100%;
  margin-top: 15px;
  padding: 10px;
  background: #29abe2;
  border: none;
  color: #fff;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s ease;
}
.lxg-popup .lxg-button:hover {
  background: #0056b3;
}
.lxg-popup .lxg-text {
  text-align: center;
  margin-top: 10px;
}
.lxg-popup .lxg-text a {
  color: #29abe2;
  text-decoration: none;
  margin-left: 6px;
}
.lxg-popup .lxg-text a:hover {
  text-decoration: underline;
}
#registerLottery .error,
#loginLottery .error {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 12px;
  margin-top: 5px;
  color: red;
}
/* nền mờ */
.xwin-cover {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
}
.xwin-cover.active {
  display: flex;
  align-items: center;
}

.xwin-box {
  width: 360px;
  background: #fff;
  border-radius: 12px;
  margin: 80px auto;
  padding: 24px;
  position: relative;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
  animation: xwin-appear 0.25s ease;
  max-height: 200px;
}

/* tiêu đề */
.xwin-head {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 18px;
}

.xwin-exit {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 20px;
  cursor: pointer;
  color: #555;
}

@keyframes xwin-appear {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.list-post .content-center {
  display: flex;
  flex-direction: column;
}
.list-post .title-page {
  text-align: left;
  margin: 0;
  margin-bottom: 20px;
  font-size: 1.8em;
}
.list-post #article_content img {
  width: 90%;
  height: auto;
  object-fit: cover;
}
.list-post #main_content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.lotto-container.single-lottery table.date_lottery tbody tr td div {
  flex-wrap: unset;
  flex-direction: column;
  gap: 0;
}

.lxg-kqxs-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 10px;
}

.lxg-kqxs-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}
.lxg-kqxs-item:hover {
  transform: translateY(-3px);
}

.lxg-kqxs-thumb {
  width: 100%;
  background: #f7f7f7;
}
.lxg-kqxs-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ddd;
}
.lxg-kqxs-content {
  padding-left: 12px;
}
.lxg-kqxs-thumb .kqxs-link {
  display: block;
  position: relative;
}
.lxg-kqxs-thumb .kqxs-link .time {
  position: absolute;
  z-index: 1;
  bottom: 24%;
  right: 7%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 45%;
}
.lxg-kqxs-thumb .kqxs-link .time span {
  font-size: 20px;
  color: #0a489d;
  font-weight: 700;
}
.lxg-kqxs-title {
  font-size: 14px;
  font-weight: bold;
  color: #222;
  margin-bottom: 6px;
  line-height: 1.4;
  margin-top: 0;
  text-align: left;
}
.lxg-kqxs-desc {
  font-size: 12px;
  color: #555;
  line-height: 1.4;
  text-align: left;
  overflow: hidden;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
}
#loginMessage {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 12px;
  margin-top: 5px;
  color: red;
}
@media (min-width: 375px) {
  .loto-text {
    padding: 0;
  }
  .side-column-content-right .title-lottery {
    padding: 0;
  }
  .main-content .container_h {
    padding: 0 16px;
  }
}
@media (min-width: 576px) {
  .container_h {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .menu-list ul li #logoutBtn {
    background-color: white;
    color: #2f5ea2;
    border-radius: 8px;
    padding: 12px 15px;
    cursor: pointer;
  }
  section.users-form {
    display: flex;
  }
  .lxg-popup {
    width: 50%;
  }
  .lxg-kqxs-item {
    flex-direction: row;
  }
  .lxg-kqxs-thumb {
    flex: 0 0 160px;
  }
  .lxg-kqxs-thumb img {
    height: 100%;
    object-fit: cover;
  }
  .lxg-kqxs-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .lxg-kqxs-thumb .kqxs-link .time span {
    font-size: 10px;
  }
  .list-post .article .article-list {
    width: 29%;
  }
  .menu-list ul.menu-box {
    overflow: unset;
    max-height: unset;
  }
  .menu-list ul li ul.sub li {
    padding: 10px 0;
    width: 100%;
    height: auto;
    line-height: unset;
  }
  .menu-list ul li ul.sub {
    padding: 0 15px;
    overflow-y: unset;
    max-height: unset;
    white-space: unset;
  }
  .header {
    background: var(--xanh-duong-light);
  }
  .header-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 1200px;
    align-items: center;
    margin: 0 auto;
  }
  .header-container .ten-logo {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    width: 50%;
    gap: 20px;
    background-image: unset;
    min-height: unset;
    padding: 0;
    background: var(--xanh-duong-light);
  }
  .header-container .ten-logo .name-web {
    font-size: 2.8em;
  }
  .header-container .ten-logo .logo img {
    height: auto;
  }
  .header-container .filter-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 50%;
    box-shadow: unset;
  }
  .header-container .filter-box .date .date-option,
  .custom-select .selected {
    border: unset;
    border-radius: unset;
    white-space: nowrap;
  }

  .date,
  .btn-submit {
    width: auto;
  }

  .calendar {
    width: 250px;
  }
  .ten-logo .logo {
    max-width: 100px;
  }
  .ten-logo .logo img {
    width: 100%;
    height: 100%;
  }
  .main-menu-header {
    background-color: #29abe2;
    height: 100px;
    position: unset;
  }
  .sky-bar .toogle-menu {
    display: none;
  }
  .sky-bar {
    max-width: 1200px;
    margin: 0 auto;
  }
  button.hamburger {
    display: none;
  }
  .menu-list {
    display: flex;
    flex-direction: row;
    height: 0;
    position: unset;
  }
  .menu-list ul {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 5px;
    margin-top: 5px;
    align-items: center;
    flex-wrap: wrap;
  }
  .sky-bar {
    padding: 0 15px;
  }
  .menu-list ul li a {
    background-color: white;
    color: #2f5ea2;
    border-radius: 8px;
    padding: 3px;
  }

  .call-contact {
    left: 90%;
  }

  .main-content {
    padding-top: 60px;
  }

  .lotto-container table th,
  .lotto-container table td {
    font-size: 1em;
  }
  .lotto-container table .jackpot {
    font-size: 2.5em;
  }
  .lotto-container table .special {
    font-size: 2em;
  }

  .mega-loto {
    display: flex;
    flex-direction: row;
  }

  footer .ft-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
  }

  .infor-ft-left,
  .infor-ft-center,
  .infor-ft-right {
    margin: 0 10px;
  }
  .infor-ft-left {
    display: flex;
    gap: 40px;
  }

  .ft-bottom .all-by {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: initial;
  }
  .ft-bottom .by-le-ngoc {
    text-align: left;
    width: auto;
    margin: 0;
  }
  .ft-bottom .by-vdesign {
    text-align: right;
    width: auto;
    margin: 0;
  }

  .infor-ft-center,
  .infor-ft-right {
    margin-top: 25px;
  }
  .menu-list ul li ul.sub {
    position: absolute;
    top: 29px;
  }
  .menu-list ul li {
    padding: 0;
    height: 40px;
    line-height: 30px;
    margin-right: 15px;
  }
  .container_h {
    max-width: 720px;
  }
  .mega-ki-box .mega-ki-table th,
  .mega-ki-box .mega-ki-table td {
    font-size: 0.9em;
  }
  .mega-ki-box .mega-ki-dot {
    width: 16px;
    height: 16px;
  }
  .mega-ki-box .mega-ki-ball {
    font-size: 1.5em;
    height: 50px;
    width: 50px;
  }

  .loto.mega-ki-box .mega-ki-dot {
    width: 16px;
    height: 16px;
  }

  .loto.mega-ki-box .mega-ki-table tbody tr td:nth-child(2) {
    padding: 8px;
  }
  .loto.mega-ki-box .mega-ki-table tbody tr:nth-child(2) td:nth-child(2) {
    padding-right: 44px;
  }
  .loto.mega-ki-box .mega-ki-table tbody tr:nth-child(4) td:nth-child(2) {
    padding-right: 44px;
  }
  .loto.mega-ki-box .mega-ki-table tbody tr:nth-child(6) td:nth-child(2) {
    padding-right: 44px;
  }
}
@media (min-width: 996px) {
  .xskq-radio.xskq-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }

  .xskq-radio.xskq-options button {
    margin-top: 0;
  }
  .list-post .content-center {
    flex-direction: row;
  }
  .list-post .article .article-list {
    width: 31%;
    margin: 0 !important;
  }
  .menu-list ul li a:hover {
    background-color: #3380f8;
    color: #ffff00;
    width: auto;
  }
  .menu-list ul {
    gap: 0;
  }
  .header-container .ten-logo {
    width: 68%;
  }
  .header-container .ten-logo .name-web {
    font-size: 2.5em;
  }

  .menu-list ul li:hover ul.sub {
    display: block;
    overflow: hidden auto;
    max-height: 60vh;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
  }

  .call-contact {
    position: absolute;
    left: 80%;
    top: 30%;
    width: auto;
    bottom: unset;
    z-index: unset;
  }
  .call-contact .phone-hotline .sdt {
    display: flex;
  }
  .main-menu-header {
    height: fit-content;
    padding: 0 0 60px 0;
  }
  .sky-bar {
    padding: 10px 15px;
  }
  .loto.mega-ki-box .mega-ki-table tbody tr:nth-child(2) td:nth-child(2) {
    padding-right: 44px;
  }
  .loto.mega-ki-box .mega-ki-table tbody tr:nth-child(4) td:nth-child(2) {
    padding-right: 44px;
  }
  .loto.mega-ki-box .mega-ki-table tbody tr:nth-child(6) td:nth-child(2) {
    padding-right: 44px;
  }
  .loto.mega-ki-box .mega-ki-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin: 0 2px;
  }
  .container_h {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .lotto-container table th,
  .lotto-container table td {
    padding: 4px 8px;
  }
  .lotto-container table .jackpot {
    font-size: 3em;
  }
  .lotto-container table tr td {
    font-size: 1.6em;
  }
  .lxg-kqxs-thumb .kqxs-link .time {
    bottom: 18%;
  }
  .lxg-kqxs-thumb .kqxs-link .time span {
    font-size: 12px;
  }
  .side-column-content-left .list-company-banner h2 {
    font-size: 1.5em;
  }
  .menu-list ul li ul.sub {
    top: 35px;
    box-shadow: 0 0 5px #2f5ea2;
  }
  .menu-list ul li ul.sub li {
    padding: 0;
  }
  .menu-list ul li ul.sub li a {
    padding: 5px 15px;
  }
  .header-container .ten-logo .name-web {
    font-size: 3em;
    margin-left: 30px;
  }

  .menu-list ul li a {
    padding: 5px 15px;
  }

  .content-center {
    flex-direction: row;
    gap: 20px;
  }
  .content-center .side-column-content-left {
    width: 25%;
  }
  .content-center .side-column-content-sidebar {
    width: 30%;
  }
  .content-center .side-column-content-right {
    width: 50%;
    order: unset;
  }
  .content-center .side-column-content-left {
    order: unset;
  }
  .content-center .side-column-content-right.single {
    width: 70%;
  }
  .content-center.page-print .side-column-content-right {
    padding: 15px;
    width: 70%;
    border: 1px solid #eee;
    border-radius: 10px;
    background-color: #fafafa;
    height: fit-content;
    margin-top: 20px;
  }
  .container_h {
    max-width: 1140px;
  }
  .mega-ki-box .mega-ki-sub {
    font-size: 0.9em;
  }
  .side-column-content-sidebar .mega-ki-box .mega-ki-ball {
    width: 36px;
    height: 36px;
    font-size: 1.1em;
  }
  .side-column-content-sidebar .mega-ki-box .mega-ki-dot {
    width: 12px;
    height: 12px;
  }
  .side-column-content-sidebar .mega-ki-box .total-table {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
  }
  .side-column-content-sidebar .mega-ki-box .mega-ki-table th,
  .side-column-content-sidebar .mega-ki-box .mega-ki-table td {
    font-size: 0.7em;
  }
}
@media (min-width: 1300px) {
  .header-container .filter-box {
    width: 40%;
    font-size: 0.9em;
  }
}
@media (min-width: 1700px) {
  .side-column-content-left .list-company-banner h2 {
    font-size: 1.1em;
  }

  .lotto-container table .special {
    font-size: 2em;
  }
  .container_h {
    max-width: 1200px;
  }
}
@media (min-width: 1900px) {
  /* .main-content {
    grid-template-columns: 200px 1200px 200px;
  } */

  .side-column-content-left .list-company-banner h2 {
    font-size: 1.3em;
  }
}
