/*==================== VARIABLES CSS ====================*/
:root {
  --height-header: 70px;
  --primary-color: #232351;
  --secondary-color: #5558b7;

  --text-color: #302f2d;

  --scroll-thumb-color: var(--primary-color);
  --scroll-thumb-hover-color: var(--secondary-color);

  --big-font-size: 2.5rem; /*40px*/
  --h1-font-size: 2rem; /*24px*/
  --h2-font-size: 1.75rem; /*20px*/
  --h3-font-size: 1.5rem; /*18px*/
  --h4-font-size: 1.25rem; /*16px*/
  --normal-font-size: 1rem;
  --small-font-size: 0.8rem;
  --smaller-font-size: 0.7rem;
}

@media screen and (min-width: 768px) {
  :root {
    --big-font-size: 3rem; /*48px*/
    --h1-font-size: 2.25rem; /*32px*/
    --h2-font-size: 2rem; /*24px*/
    --h3-font-size: 1.45rem; /*20px*/
    --h4-font-size: 1.2rem; /*18px*/
    --normal-font-size: 1.1rem;
    --small-font-size: 0.9rem;
    --smaller-font-size: 0.85rem;
  }
}
/*==================== BASE ====================*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  margin: 0 !important;
}

body {
  margin: 0;
  font-family: "Arial";
  font-size: var(--normal-font-size);
  background-color: white;
  color: var(--text-color);
}

h1,
h2,
h4 {
  color: var(--primary-color);
  font-weight: 600;
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

/* h2:target::before {
  content: "";
  display: block;
  height: var(--height-header);
  margin-top: calc(-1 * var(--height-header));
  visibility: hidden;
} */

p,
span,
a,
li,
input,
textarea,
select,
option,
label {
  font-size: var(--normal-font-size);
  color: var(--text-color);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

textarea {
  resize: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:active,
input:-webkit-autofill:focus {
  background-color: var(--input-color) !important;
  color: var(--text-color) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--input-color) inset !important;
  -webkit-text-fill-color: var(--text-color) !important;
}

select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

select::-ms-expand {
  display: none;
}

.select-down {
  pointer-events: none !important;
}

section,
aside {
  margin-top: 1rem;
}

.frist-section {
  margin-top: 0 !important;
}

.container {
  padding: 0 1rem;
  width: 100%;
  margin: auto;
}

.container-toplist {
  padding: 0 1rem;
  width: 100%;
  margin: auto;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 100%;
  height: 38px;
  line-height: 36px;
  padding: 0 10px;
  color: var(--primary-color);
  font-size: 15px;
  font-weight: bold;
  border: 2px solid transparent;
  border-radius: 5px;
  border-color: var(--primary-color);
  background-color: #fff;
  cursor: pointer;
  opacity: 1;
  transition: all 0.3s ease;
  gap: 4px;
}

.btn:hover {
  opacity: 0.6;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.btn-secondary {
  background-color: #02a9dc;
  border-color: #02a9dc;
  color: #fff;
}

.btn-register {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
}

.section-breadcrumbs {
  padding: 12px 0;
  background-color: white;
  border-bottom: 1px solid #f0f0f0;
}

.section-breadcrumbs a,
.section-breadcrumbs p,
.section-breadcrumbs span {
  color: #555555;
  font-weight: 600;
}

.section-breadcrumbs a:hover {
  color: #0073aa;
}

.section-breadcrumbs a {
  color: #5f79ff;
}

.section-breadcrumbs a:hover {
  color: var(--secondary-color);
}

/*========== SCROLL BAR ==========*/
::-webkit-scrollbar {
  width: 0.4rem;
  height: 0.4rem;

  background-color: var(--scroll-bar-color);
  border-radius: 5rem;
}
::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
  border-radius: 0.5rem;
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--scroll-thumb-hover-color);
}

/*==================== RESPONSIVE ====================*/
@media screen and (min-width: 768px) {
  section,
  aside {
    margin-top: 1rem;
  }

  .btn {
    min-width: 140px;
  }
}

@media screen and (min-width: 1024px) {
  section,
  aside {
    margin-top: 1.5rem;
  }
  .container {
    max-width: 1000px;
  }

  .container-toplist {
    max-width: 800px;
  }
}

@media screen and (min-width: 1080px) {
  section,
  aside {
    margin-top: 2rem;
  }
  .container {
    max-width: 1080px;
  }

  .container-toplist {
    max-width: 1000px;
  }
}
.toplist-brand-name{
	background: linear-gradient(45deg, #ffe970, transparent);
    padding: 10px 10px 10px 0;
}

.toplist-brand-name strong {
    background: #fd0e0e;
    color: #fff;
    padding: 1px 10px;
    border-radius: 0 5px 5px 0;
}

.toplist-menu2 li{
	margin:0!important
}
.toplist-menu2 {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.toplist-menu2 li {
    width: 50%; /* 2 cột trên máy tính và tablet */
    padding: 10px 5px;
    border-bottom: 1px solid #eee;
}

.toplist-menu2 li:before {
    content: "👉 ";
    color: #0066cc;
    display: inline-block;
    width: 15px;
    margin-right: 13px;
}

/* Chỉ hiển thị 1 cột trên điện thoại */
@media (max-width: 576px) {
    .toplist-menu2 li {
        width: 100%;
    }
}


.bet-guide-title {
  padding-bottom: 10px;
}

.bet-guide-item {
  margin-bottom: 18px;
  border-bottom: 1px solid #e3e3e3;
  display: flex;
  align-items: flex-start;
}

.bet-guide-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.bet-guide-item h3 {
	font-size: 20px;
	margin: 4px 0 8px 0 !important;
}

.bet-guide-item p {
  color: #555;
  line-height: 1.5;
  margin-top: 0;
}

.bet-guide-content {
  flex-grow: 1;
}

.bet-guide-number {
  background-color: #9540b6; /* Màu đỏ */
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: bold;
  margin-right: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.bet-timeline-steps {
  position: relative;
  padding-left: 45px;
}

.bet-timeline-steps:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  width: 2px;
  background: #ddd;
}

.bet-timeline-step {
  position: relative;
  margin-bottom: 35px;
}

.bet-timeline-step:last-child {
  margin-bottom: 0;
}

.bet-timeline-step:before {
  content: '';
  position: absolute;
  left: -45px;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: white;
  border: 2px solid;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.bet-timeline-step:nth-child(1):before {
  border-color: #4facfe;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234facfe' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E") center no-repeat;
}

.bet-timeline-step:nth-child(2):before {
  border-color: #00b09b;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300b09b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='1' x2='12' y2='23'%3E%3C/line%3E%3Cpath d='M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6'%3E%3C/path%3E%3C/svg%3E") center no-repeat;
}

.bet-timeline-step:nth-child(3):before {
  border-color: #ff9a9e;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ff9a9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E") center no-repeat;
}

.bet-timeline-step:nth-child(4):before {
  border-color: #ed6ea0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ed6ea0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E") center no-repeat;
}

.bet-timeline-step-title {
  background: linear-gradient(to right, #f6f6f6, #fff);
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 20px;
  color: #333;
  margin: 0 0 12px 0;
  border-left: 4px solid;
}

.bet-timeline-step:nth-child(1) .bet-timeline-step-title {
  border-left-color: #4facfe;
}

.bet-timeline-step:nth-child(2) .bet-timeline-step-title {
  border-left-color: #00b09b;
}

.bet-timeline-step:nth-child(3) .bet-timeline-step-title {
  border-left-color: #ff9a9e;
}

.bet-timeline-step:nth-child(4) .bet-timeline-step-title {
  border-left-color: #ed6ea0;
}

.bet-timeline-step-content {
  padding: 0 15px;
  color: #555;
}

.bet-timeline-step-content p {
  line-height: 1.6;
  margin: 0 0 10px 0;
}

.bet-timeline-step-content p:last-child {
  margin-bottom: 0;
}

.bet-timeline-step-content a {
  color: #4facfe;
  text-decoration: none;
  font-weight: 500;
}

.bet-timeline-step-content a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  
  .bet-timeline-steps {
    padding-left: 35px;
  }
  
  .bet-timeline-steps:before {
    left: 10px;
  }
  
  .bet-timeline-step:before {
    width: 20px;
    height: 20px;
    left: -35px;
    background-size: 10px;
  }
  
  .bet-timeline-step-title {
    font-size: 16px;
    padding: 8px 12px;
  }
}