.bet-section {
    padding: 20px;
    text-align: center;
}

.bet-section h2 {
    margin-bottom: 10px;
    color: #333;
}

.message {
    color: green;
    margin-bottom: 10px;
}

form {
    margin-bottom: 20px;
}

label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

input[type="number"], input[type="text"] {
    font-family: 'Kanit', sans-serif; /* เรียกใช้ฟอนต์ Kanit */
    width: calc(100% - 40px);
    max-width: 400px;
    padding: 10px 10px 10px 40px;
    /* margin-bottom: 15px; */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}


.result-card {
    margin-top: 5px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 5px;
    width: 370px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.result-header .location {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.result-header .game-name {
    margin: 5px 0;
    font-size: 24px;
    color: #d72828;
    font-weight: bold;
}

.result-header .highlight {
    font-size: 14px;
    color: #333;
    background-color: #ffecb3;
    padding: 2px 5px;
    border-radius: 3px;
    margin-top: 5px;
    display: inline-block;
}

.draw-details {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.previous-draws {
    color: #0066cc;
    text-decoration: none;
}

.previous-draws:hover {
    text-decoration: underline;
}

.winning-numbers {
    margin: 15px 0;
}

.regular-number, .bonus-number, .multiplier-value {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    margin: 0 5px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: white;
}

.regular-number {
    background-color: #3498db;
}

.bonus-number {
    background-color: #d72828;
}

.multiplier-value {
    background-color: #ffa726;
    font-size: 14px;
}

.jackpot-details {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

.jackpot-details .amount {
    font-weight: bold;
    color: #d72828;
}



.time_lock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.label {
  margin-right: auto; /* Pushes everything else to the right */
}

.time {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: bold;
}

.round_code {
  margin-left: auto; /* Pushes to the far right */
  font-weight: bold;
}




.bigo-options {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    max-width: 600px;
  }
  
  .bigo-details {
    color: #333;
    text-align: center;
  }
  
  .bigo-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
  }
  
  .bigo-button {
    font-family: kanit, sans-serif;
    flex: 1;
    padding: 12px;
    font-size: 16px;
    color: white;
    background-color: #555;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
  }
  
  .bigo-label {
    display: block; /* ทำให้ข้อความอยู่บรรทัดบน */
    font-size: 18px;
  }
  
  .amount-details {
    display: block; /* ทำให้ตัวเลขลงบรรทัดล่าง */
    color: #ff9800;
    font-size: 14px;
    font-weight: bold;
  }
  
  .bigo-button:hover {
    background-color: #0056b3;
  }
  
  @media (max-width: 600px) {
    .bigo-options {
      margin-top: 15px;
      padding: 15px;
    }
  
    .bigo-details {
      font-size: 15px;
    }
  
    .bigo-button {
      font-size: 14px;
      padding: 10px;
    }
  
    .bigo-label {
      font-size: 16px;
    }
  
    .amount-details {
      font-size: 12px;
    }
  }


  .bigo-button.selected {
    background-color: #4CAF50; /* เปลี่ยนสีพื้นหลังเมื่อเลือก */
    color: white;
  }





  






  .bet-bar {
    width: 100%;
    max-width: 100%;
    height: 45px; /* เพิ่มความสูงเพื่อให้สมดุล */
    position: fixed;
    bottom: 55px; /* ชิดล่างของหน้าจอ */
    left: 0;
    display: flex;
    justify-content: space-between;
    background-color: #2a6289; /* สีพื้นหลังดำ */
    border-top: 2px solid #b9d8ff; /* เส้นขอบด้านบน */
    z-index: 1000;
    color: #fff; /* สีตัวอักษร */
    box-shadow: 0 -2px 10px #ccc; /* เงาด้านบน */
}

#bet_amount {
  font-size: 12px; /* ขนาดตัวอักษรเพิ่มขึ้นเพื่อให้อ่านง่ายขึ้น */
  padding: 10px; /* เพิ่มช่องว่างภายในเพื่อให้ช่องกรอกกว้างขึ้น */
  border: 1px solid #ccc; /* ขอบของกล่อง */
  border-radius: 8px; /* ทำให้ขอบโค้งมนขึ้น */
  margin-left: 10px; /* ช่องว่างด้านซ้าย */
  color: #333; /* สีข้อความ */
  background-color: #f9f9f9; /* สีพื้นหลัง */
  width: 100px; /* ให้ช่องกรอกขยายเต็มความกว้าง */
  box-sizing: border-box; /* ให้การคำนวณขนาดของช่องรวมขอบและ padding */
  transition: all 0.3s ease-in-out; /* เพิ่มการเปลี่ยนแปลงนุ่มๆ เมื่อมีกิจกรรม */
}

#bet_amount:focus {
  border-color: #007bff; /* เปลี่ยนสีขอบเมื่อเลือกช่อง */
  background-color: #e6f0ff; /* เปลี่ยนสีพื้นหลังเมื่อเลือกช่อง */
  outline: none; /* เอาเส้นขอบออกเมื่อกรอกข้อมูล */
}

#bet_amount::placeholder {
  color: #888; /* เปลี่ยนสี placeholder */
  font-style: italic; /* เปลี่ยนให้ข้อความ placeholder เป็นตัวเอียง */
}
#bet_amount:focus {
    outline: none;
    border-color: #ff6600; /* เปลี่ยนสีเมื่อเลือกช่องกรอก */
}

#submit {
  font-family: kanit, sans-serif;
  width: 130px;
    font-size: 14px;
    padding: 10px 20px;
    background-color: #ffc107; /* สีเหลือง */
    color: #212121; /* สีข้อความ */
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

#submit:hover {
    background-color: #e0a800; /* สีเหลืองเข้มเมื่อ hover */
}

#selectedChoice {
  width: 190px;
    font-size: 10px;
    color: #fff; /* สีข้อความ */
    font-weight: bold;
}

#choiceDisplay {

    color: #ffab0f; /* สีส้ม */
}

#amountBet {
    color: #ffc107; /* สีเหลือง */
}





.bet-details {
  width: 140px;
  align-content: center;
    font-size: 10px;
    color: #fff; /* สีข้อความ */
}


.bigo-options-game {
  padding-bottom: 120px;
}






.bigo-button.active {
  background-color: hsl(212, 39%, 49%);
  color: white;
  border: 2px solid #2e7d32;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.6);
  transform: scale(1.1);
  transition: all 0.2s ease;
}




h1.location {
  font-size: 2.5rem;
  margin: 20px 0;
  padding-bottom: 15px;
  border-bottom: 3px solid #ffcc00;
}
span#current-date {
  font-weight: normal;
  color: #b9d8ff;
}

span#current-date {
  font-size: 22px;
  font-weight: bold;
  color: #0077ff;
  padding: 5px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}