/* Table border fix for statistics */
table.table, .table-bordered {
  border: 1.5px solid #bbb !important;
  border-collapse: collapse !important;
}
table.table th, table.table td, .table-bordered th, .table-bordered td {
  border: 1.5px solid #bbb !important;
  padding: 0.4em 0.7em;
}
/* Style tách từ body.php cho tab, panel, pill Vietlott */

.vietlott-tabs {
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.5rem;
  border-bottom: 2px solid #eee;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0rem;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.vietlott-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  color: #333;
  transition: border 0.2s, color 0.2s;
  flex-shrink: 0;
}
.vietlott-tab-btn.active {
  border-bottom: 3px solid #E63946;
  color: #E63946;
  background: #fff;
}
.vietlott-tab-content {
  display: none;
  min-height: 200px;
  min-width: 600px;
  text-align: left;
  width: 100%;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0.3rem;
  padding-bottom: 0.1rem;
  overflow-x: auto;
  max-width: 100vw;
}
.vietlott-tab-content.active {
  display: block;
}
.vietlott-tab-inner {
  width: 100%;
}
.vietlott-pills {
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  list-style: none;
  padding-left: 0;
  width: 100%;
}
.vietlott-pill-btn {
  background: #eee;
  border: none;
  border-radius: 2rem;
  padding: 0.5rem 1.1rem;
  font-weight: 500;
  cursor: pointer;
  color: #333;
  transition: background 0.2s, color 0.2s;
}
.vietlott-pill-btn.active {
  background: #E63946;
  color: #fff;
}
.vietlott-pill-content {
  display: none;
  width: 100%;
}
.vietlott-pill-content.pill-active {
  display: block;
  width: 550px !important;
  max-width: 100%;
  min-width: 320px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.vietlott-tab-content-inner-container {
  max-width: 550px;
  margin: 0 auto;
  padding-left: 0.1rem !important;
  padding-right: 0.1rem !important;
  padding-top: 0.3rem;
  padding-bottom: 0.1rem;
  box-sizing: border-box;
}
@media (max-width: 700px) {
  .vietlott-tab-content {
    min-width: 320px;
    padding-left: 0.1rem !important;
    padding-right: 0.1rem !important;
    padding-top: 0.3rem;
    padding-bottom: 0.1rem;
  }
  .vietlott-tabs {
    gap: 0.2rem;
  }
  .vietlott-tab-btn {
    font-size: 0.98rem;
    padding: 0.5rem 0.7rem;
  }
}
