 .home-slider {
	 position: relative;
	 width: 100%;
	 height: 100%;
	 overflow: hidden;
	 box-shadow: 0 10px 40px rgba(0,0,0,0.3);
	 
}

.home-slider-wrapper {
	display: flex;
	height: 100%;
	transition: transform 0.5s ease-in-out;
}

.home-slider-slide {
	min-width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

.home-slider-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.home-slider-dots {
	position: absolute;
    bottom: 2.2vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.9vh;
    z-index: 10;
}

.home-slider-dot {
	width: 0.9vh;
	height: 0.9vh;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	transition: all 0.3s ease;
	border: 2px solid rgba(255, 255, 255, 0.3);
}

.home-slider-dot.active {
	background: white;
	border-color: white;
}

@media (max-width: 480px) {
	.home-slider {
		aspect-ratio: 480 / 250;
	}
}

/* ============================================
   Lucky Draw Styles - Clean Version v1.1.1
   Author: AI Assistant (Claude)
   Last Updated: 2025-01-06
   ============================================ */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@400;600;700;900&display=swap');

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes ld-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ld-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   SWEETALERT2 CUSTOM STYLES
   ============================================ */

.ld-popup {
    background: linear-gradient(145deg, #ffd700 0%, #ffed4e 25%, #ffd700 50%, #d4af37 75%, #ffd700 100%) !important;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.4) !important,
        inset 0 5px 15px rgba(255, 255, 255, 0.6),
        inset 0 -5px 15px rgba(212, 175, 55, 0.5) !important;
    border-radius: 25px !important;
    border: 3px solid #d4af37 !important;
    overflow: hidden !important;
	min-height:365px;
}

.ld-popup .swal2-html-container {
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ld-popup .swal2-content {
    overflow: hidden !important;
}

.ld-popup .swal2-actions {
    margin: 15px 0 0 0 !important;
}

.ld-title {
    color: #8b4513 !important;
    font-family: 'Kanit', sans-serif !important;
    font-weight: 900 !important;
    font-size: 2em !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.ld-btn {
    background: linear-gradient(135deg, #8b4513 0%, #654321 100%) !important;
    color: #ffd700 !important;
    font-family: 'Kanit', sans-serif !important;
    font-weight: 900 !important;
    padding: 15px 40px !important;
    font-size: 18px !important;
    border-radius: 50px !important;
    border: 2px solid #d4af37 !important;
    text-transform: uppercase !important;
}

.ld-btn:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}

.ld-cancel {
    background: #adb5bd !important;
    color: white !important;
    font-family: 'Kanit', sans-serif !important;
    font-weight: 700 !important;
    border-radius: 25px !important;
}

/* ============================================
   WHEEL CONTAINER
   ============================================ */

.ld-wheel-container {
    position: relative;
    width: 80%;
    max-width: 400px;
    aspect-ratio: 1;
    margin: 0 auto;
    overflow: visible;
    padding: 0;
}

/* ============================================
   OUTER RING (Rotating Gold Ring)
   ============================================ */

.ld-outer-ring {
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #d4af37, #ffd700);
    animation: ld-rotate 10s linear infinite;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
    pointer-events: none;
}

/* ============================================
   ARROW (Top Pointer)
   ============================================ */

.ld-arrow {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 40px solid #d4af37;
    z-index: 10;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5));
    animation: ld-pulse 1s ease-in-out infinite;
}

/* ============================================
   CENTER CIRCLE (Star Button)
   ============================================ */

.ld-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, #ffd700, #ffed4e, #d4af37);
    border-radius: 50%;
    z-index: 5;
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.4),
        inset 0 3px 10px rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 3px solid #d4af37;
}

/* ============================================
   CANVAS (The Wheel)
   ============================================ */

#ld-canvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 6px solid #d4af37;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(212, 175, 55, 0.2),
        0 0 0 3px #ffd700;
    transition: transform 4s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
    z-index: 2;
}

/* ============================================
   RESPONSIVE - TABLET (max-width: 768px)
   ============================================ */

@media (max-width: 768px) {
    .ld-title {
        font-size: 1.6em !important;
    }
    
    .ld-btn {
        padding: 12px 30px !important;
        font-size: 16px !important;
    }
    
    .ld-wheel-container {
        width: 75%;
        max-width: 320px;
    }
    
    .ld-center {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .ld-arrow {
        top: -22px;
        border-left: 18px solid transparent;
        border-right: 18px solid transparent;
        border-top: 38px solid #d4af37;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (max-width: 480px)
   ============================================ */

@media (max-width: 480px) {
    .ld-title {
        font-size: 1.3em !important;
    }
    
    .ld-btn {
        padding: 10px 25px !important;
        font-size: 14px !important;
    }
    
    .ld-cancel {
        padding: 8px 20px !important;
        font-size: 13px !important;
    }
    
    .ld-wheel-container {
        width: 70%;
        max-width: 240px;
    }
    
    .ld-arrow {
        top: -18px;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-top: 30px solid #d4af37;
    }
    
    .ld-center {
        width: 45px;
        height: 45px;
        font-size: 18px;
        border: 2px solid #d4af37;
    }
    
    .ld-outer-ring {
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
    }
    
    #ld-canvas {
        border: 4px solid #d4af37;
    }
}

/* ============================================
   NOTES
   ============================================
   
   Version: 1.1.1
   
   Key Features:
   - Outer ring หมุนถูกจุด (ใช้ inset positioning)
   - ขนาดวงล้อ 80% ของ parent
   - จัดกลางอัตโนมัติด้วย margin: 0 auto
   - ไม่มี scrollbar (overflow: hidden)
   - Responsive ครบทุกหน้าจอ
   - Animation ไม่ทับกับ positioning
   
   Breakpoints:
   - Desktop (>768px): 80% width, max 400px
   - Tablet (480-768px): 75% width, max 320px
   - Mobile (<480px): 70% width, max 240px
   
   ============================================ */
/*=================*/

.text-cell{
	width:100%;
	text-align:center;
	font-size:2vh;
	padding-top:2.5vh
}

.fixed-height {
  height: auto !important;
  max-height: 90vh !important;
}
.dark-glass-popup {
  background: linear-gradient(135deg, 
    rgba(26, 35, 126, 0.95) 0%, 
    rgba(40, 53, 147, 0.95) 50%, 
    rgba(30, 136, 229, 0.9) 100%) !important;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(144, 202, 249, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  border-radius: 16px;
  color: #e3f2fd !important;
  padding: 0px;
}

.dark-glass-popup .swal2-title {
  color: #e3f2fd !important;
}

.dark-glass-popup .swal2-html-container {
  
  overflow-y: auto !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  color: #e0e0e0 !important;
  padding: 0px;
}

.dark-glass-button {
  background: linear-gradient(135deg, #1e88e5 0%, #42a5f5 100%) !important;
  border: 1px solid rgba(144, 202, 249, 0.4) !important;
  box-shadow: 0 4px 20px rgba(30, 136, 229, 0.5);
  transition: all 0.3s ease;
  color: #fff !important;
}

.dark-glass-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(30, 136, 229, 0.7);
  background: linear-gradient(135deg, #42a5f5 0%, #64b5f6 100%) !important;
}

.dark-close-button {
  color: #90caf9 !important;
}

.dark-close-button:hover {
  color: #e3f2fd !important;
}

/* Scrollbar สีเข้ม */
.dark-glass-popup .swal2-html-container::-webkit-scrollbar {
  width: 8px;
}

.dark-glass-popup .swal2-html-container::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #1e88e5, #42a5f5);
  border-radius: 4px;
}

.dark-glass-popup .swal2-html-container::-webkit-scrollbar-track {
  background: rgba(30, 136, 229, 0.2);
  border-radius: 4px;
}
.dark-glass-popup button:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.dark-glass-popup button:active {
  transform: translateY(-1px);
}

.responsive-popup {
  max-width: 90vw !important;
/*   max-height: 90vh !important; */
}

.responsive-popup .swal2-html-container {
  overflow-x: hidden !important;
  overflow-y: auto !important;
/*   max-height: 70vh !important; */
}

.responsive-popup button {
  min-width: 0 !important;
  word-break: keep-all !important;
}

/* สำหรับหน้าจอเล็กมาก (มือถือ) */
@media (max-width: 480px) {
  .responsive-popup {
    width: 95vw !important;
    padding: 1rem !important;
  }
  
  .responsive-popup .swal2-title {
    font-size: 1.2rem !important;
    padding: 0.5rem !important;
  }
  
  .responsive-popup button {
    max-width: 100% !important;
    padding: 10px 15px !important;
    font-size: 0.9rem !important;
  }
}

/* สำหรับหน้าจอกลาง */
@media (max-width: 768px) {
  .responsive-popup {
    width: 90vw !important;
  }
}

/* Hover effect */
.responsive-popup button:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.responsive-popup button:active {
  transform: translateY(0);
}
.menu-container {
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;

  /* ซ่อนสกอร์ลบาร์ */
  scrollbar-width: none;         /* Firefox */
  -ms-overflow-style: none;      /* IE/Edge */
}

.menu-container {
    opacity: 0.3;
	transition: opacity 0.3s ease-in-out;
}

/* สถานะหลังเพิ่ม class showanimate - ชัดขึ้น */
.menu-container.showanimate {
	opacity: 1;
}
.menu-container::-webkit-scrollbar { display: none; }

.menu-container {
  -webkit-overflow-scrolling: touch; /* iOS momentum */
  scroll-behavior: smooth;           /* ปกติให้ smooth */
  overscroll-behavior-x: contain;    /* กันลากแล้วไปโดนพาเรนต์ */
  touch-action: pan-y;               /* อนุญาตเลื่อนแนวตั้งของเพจ, เราจับแนวนอนเอง */
  user-select: none;
  cursor: grab;
}
.menu-container.dragging,
.menu-container.momentum {
  scroll-behavior: auto !important;  /* ปิด smooth ระหว่าง JS ควบคุม เพื่อไม่ชนกัน */
  cursor: grabbing;
}

/* เลย์เอาต์เดิมของคุณ */
.grid-wrapper {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-auto-flow: column;
  grid-auto-columns: 20vh;
  gap: 2px;
  width: fit-content;
  height: 95%;
  padding: 2.5% 2%;
}
.play-huay-list { width: 100%; height: 100%; }

/* ลดงานระหว่างสกรอลล์ (ช่วยให้ลื่นบนมือถือ) */
.flag-icon {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  will-change: transform; /* hint กลไกเรนเดอร์ */
}

/* สลับตำแหน่งปุ่มให้เหมือน reverseButtons:true */
  .ajs-footer .ajs-buttons { display:flex; gap:.5rem; flex-direction: row-reverse; }
  /* ตรึงหัวกล่องเวลาเลื่อน */
  .ajs-header { position:sticky; top:0; }

  /* สไตล์ loading notifier แบบเรียบง่าย */
  .ajs-message.ajs-custom-loading {
    display:flex; align-items:center; gap:.5rem;
    white-space:nowrap;
  }
  .ajs-message.ajs-custom-loading::before{
    content:""; width:14px; height:14px; border-radius:50%;
    border:2px solid currentColor; border-right-color: transparent;
    display:inline-block; animation: spin .75s linear infinite;
  }
  @keyframes spin { to { transform: rotate(360deg); } }

.amount-textbox {
	font-size: 2.5vh;
}
.divcenter{
	text-align:center;
}

.geetest_btn_svg{
	display:none !important;
}

.headflag {
    width: 20px;
    margin-left: 0.3vh;
    margin-right: -0.2vh;
}

input#share_textbox {
    width: 100%;
    margin: 0px;
} 

/* Custom radio button styles */
  .my-radio .swal2-radio {
    /* Your custom styles for the radio wrapper */
	  display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .my-radio .swal2-radio input[type="radio"] {
    /* Your custom styles for the radio input */
    margin-right: 5px; /* Example: Add some margin to the right of the radio */
	  margin-bottom:5px;
  }
  .my-radio .swal2-radio label {
    /* Your custom styles for the label */
	  display: block; 
    padding: 10px;
    border-radius: 5px;
	  background-color: #efefef; /* Default background */
    transition: background-color 0.3s;
	      width: 88%;
    text-align: right;
  }

 .my-radio .swal2-radio label.selected {
  background-color:lawngreen
}

 .my-radio .swal2-radio input[type="radio"]:checked + label {
    background-color: lawngreen; /* Background color for selected item */
 }

.swal2-popup.swal2-modal.affi-popup.swal2-show {
    height: 100%;
    width: 100%;
}

.affi-popup  div#swal2-html-container {
    width: 95%;
/*     height: 80vh; */
    overflow: hidden;
    padding: 0px;
    margin: 0px;
    padding-left: 1vh;
}

.swal2-popup.swal2-modal.affi-popup.swal2-show {
    background: white;
}

.affi-popup  .swal2-html-container {
    margin: 0em 1em 0.2em;
}


.affi-popup  .wrapper{
    height:92%;
    width: 100%;
}

.affi-popup  .wrapper .p{
	background-color: orange;
    color: black !important;
}

.affi-popup  .styled-table td{
    color: black !important;
}


.swal2-actions {
    padding: 0px;
    margin: 0px;
}


/* Modals */
.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal {
  justify-content:center;
  align-items: center;
  background-color: transparent;
  overflow: hidden;
}
.modal.modal-show {
  animation: none;
}
.modal.modal-hide {
  animation: none;
}


span#betPanelBetType {
   color: white;
    font-size: larger;
}

span#betPanelAmount {
   color: lawngreen;
    font-size: larger;
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 1vmin;
  padding: 1vmin;
  border-radius: 0.25rem;
  max-width: 480px;
  max-height: 75%;
  width: 95%;
  background:#8a0000;
  overflow: auto;
  text-align:center;
  box-shadow: 0 10px 20px rgb(0 0 0 / 80%)
}

.modal-inner-content .grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 2px;
    background: #710100;
	border: #fbf3a0 2px solid;
	
}
.modal-inner-content .grid-container .grid-item {
  text-align: center;
}

.modal-loading{
text-align:center;
display:none;
}

#modal-loading-icon{
	text-align:center;
	margin-top:-15px;
	margin-bottom:-15px;
	color:white
}


#modal-loading-text{
	text-align:center;
	margin-top:10px;
	padding-bottom:10px;
	color:white
}

.modal-close:hover, .modal-close:focus {
  color: rgba(0,0,0,0.5);
}
.modal.modal-show .modal-content {
  animation: fadeIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; 
}
.modal.modal-hide .modal-content {
  animation: fadeOut 0.1s ease-in-out forwards;
}

.modal-content h1 {
  text-align: center;
  margin-bottom: 2rem;
}
.modal-content p {
  margin: 1rem 0;
  line-height: 1.5rem;
}
.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.75rem;
  font-weight: bold;
  padding: 0 0.75rem;
  color: white;
  cursor: pointer;
  user-select: none;
}

.grid-item button {
    width: 90%;
    height: 30px;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 5px;
    margin-bottom: 5px;
    background: yellow;
    color: brown;
    font-weight: bold;
    border-radius: 10px;
    border-color: grey;
}
.confirmPanel {
    padding-top: 10px;
    padding-bottom: 5px;
}

.confirmPanel button {
    height: 30px;
    width: 80px;
    margin-left: 5px;
    margin-right: 5px;
    border: yellow;
}

button#confirmBetPanel {
    background: orangered;
    color: white;
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-3rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0); 
  }
}
@keyframes fadeOutUp {
  0% { 
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-3rem);
  }
}
@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes zoomOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.3);
  }
}
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0); 
  }
}
@keyframes fadeOutRight {
  0% { 
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}


.swal2-popup {
  font-size: 11px;
  box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* Header background color */
.swal2-header {
  font-size: 14px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.swal2-title {	
  font-size: 14px;
}


/*========*/
/* Alertify Theme - Dark Blue - Responsive */
/* Alertify Theme - Dark Blue - Responsive */
.alertify .ajs-dialog {
  background: linear-gradient(180deg, #1565c0 0%, #0d47a1 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(15px);
 
  color: #ffffff !important;
  margin: 0 auto !important;
padding:0 !important;
}

.alertify .ajs-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
/*   padding: clamp(0.75rem, 2vw, 1.5rem) clamp(0.5rem, 2vw, 1rem) clamp(0.5rem, 1.5vw, 1rem); */
  color: #e3f2fd !important;
}

.alertify .ajs-body {
  background: transparent !important;
  color: #ffffff !important;
  padding: clamp(0.5rem, 2vw, 1rem);
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.alertify .ajs-body .ajs-content {
  color: #ffffff !important;
}

.alertify .ajs-footer {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: clamp(0.75rem, 2vw, 1rem);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.alertify .ajs-button {
  background: linear-gradient(135deg, #1e88e5 0%, #42a5f5 100%) !important;
  border: 1px solid rgba(144, 202, 249, 0.4) !important;
  border-radius: 50px !important;
  color: #ffffff !important;
  padding: clamp(8px, 2vw, 12px) clamp(20px, 5vw, 30px) !important;
  font-weight: bold !important;
  font-size: clamp(0.85rem, 3vw, 1rem) !important;
  min-width: clamp(80px, 20vw, 100px) !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(30, 136, 229, 0.4);
  flex: 1;
  max-width: 150px;
}

.alertify .ajs-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 136, 229, 0.6);
  background: linear-gradient(135deg, #42a5f5 0%, #64b5f6 100%) !important;
}

.alertify .ajs-button.ajs-cancel {
  background: linear-gradient(135deg, #757575 0%, #616161 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.alertify .ajs-button.ajs-cancel:hover {
  background: linear-gradient(135deg, #616161 0%, #424242 100%) !important;
}

/* ปรับปุ่มปิด (X) ให้ใหญ่ขึ้นและมี X ตรงกลาง */
/* .alertify .ajs-close {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  transition: all 0.3s ease;
  width: clamp(45px, 10vw, 55px) !important;
  height: clamp(45px, 10vw, 55px) !important;
  font-size: clamp(1.5rem, 5vw, 2rem) !important;
  font-weight: bold !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding: 0 !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
} */

/* .alertify .ajs-close::before {
  content: '×' !important;
  display: block !important;
  font-size: inherit !important;
} */

/* .alertify .ajs-close:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.25) !important;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5) !important;
} */

.account-info-popup {
  background: #f5f5f5 !important;
  border-radius: 16px;
}

.account-info-popup .swal2-title {
  color: #2c3e50 !important;
  line-height: 1.4;
  padding-bottom: 0.5rem;
}

.account-info-popup .swal2-html-container {
  margin: 0 !important;
  padding: 0 !important;
}

.account-confirm-btn,
.account-cancel-btn {
  border-radius: 8px !important;
  padding: 12px 30px !important;
  font-weight: bold !important;
  font-size: 1rem !important;
  min-width: 120px !important;
  transition: all 0.3s ease;
}

.account-confirm-btn {
  background: #4CAF50 !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.account-confirm-btn:hover {
  background: #45a049 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.account-cancel-btn {
  background: #757575 !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.account-cancel-btn:hover {
  background: #616161 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 480px) {
  .account-info-popup {
    width: 95vw !important;
  }
  
  .account-confirm-btn,
  .account-cancel-btn {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    min-width: 100px !important;
  }
}

@media (max-width: 360px) {
  .account-info-popup {
    padding: 1rem !important;
  }
  
  #accountInfoContainer {
    padding: 1rem 0.75rem !important;
  }
}

.alertify .ajs-dimmer {
  background: rgba(0, 0, 0, 0.7) !important;
}

/* Input field style */
.alertify input[type="tel"] {
  font-family: inherit;
}

.alertify input[type="tel"]:focus {
  outline: none;
  border-color: #42a5f5;
  box-shadow: 0 0 0 3px rgba(66, 165, 245, 0.3);
}

/* Fix Thai language display */
.alertify * {
  unicode-bidi: normal !important;
  direction: ltr !important;
}

.alertify input,
.alertify textarea {
  unicode-bidi: normal !important;
  direction: ltr !important;
  text-align: inherit !important;
}

/* Input field style */
.alertify input[type="tel"],
.alertify input[type="text"],
.alertify input[type="number"] {
  font-family: inherit;
  unicode-bidi: normal !important;
  direction: ltr !important;
}

.alertify input[type="tel"]:focus,
.alertify input[type="text"]:focus,
.alertify input[type="number"]:focus {
  outline: none;
  border-color: #42a5f5;
  box-shadow: 0 0 0 3px rgba(66, 165, 245, 0.3);
}


/* GeeTest Captcha Container */
#captcha {
  transform-origin: center;
  max-width: 100%;
}

/* Scrollbar */
.alertify .ajs-body::-webkit-scrollbar {
  width: 4px;
}

.alertify .ajs-body::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #42a5f5, #64b5f6);
  border-radius: 2px;
}

.alertify .ajs-body::-webkit-scrollbar-track {
  background: rgba(66, 165, 245, 0.1);
}

/* Mobile Specific */
@media (max-width: 480px) {
  .alertify .ajs-dialog {
    width: 85vw !important;
    max-width: 85vw !important;
    border-radius: 12px;
  }
  
  .alertify .ajs-header {
    padding: 0.75rem 0.5rem 0.5rem;
  }
  
  .alertify .ajs-body {
    padding: 0.5rem;
  }
  
  .alertify .ajs-footer {
    padding: 0.75rem 0.5rem;
    gap: 0.5rem;
  }
  
  .alertify .ajs-button {
    padding: 8px 15px !important;
    font-size: 0.85rem !important;
    min-width: 60px !important;
    flex: 1;
  }
  
  .alertify .ajs-close {
    width: 30px !important;
    height: 30px !important;
    font-size: 1rem !important;
  }
  
  /* Captcha scaling for small screens */
  #captcha {
    transform: scale(0.9);
  }
}


/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .alertify .ajs-dialog {
    max-height: 95vh;
  }
  
  .alertify .ajs-body {
    max-height: 50vh;
  }
}