.btn-save-deposit {
  background-image: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);  
  border: 0px solid #150485;
  border-radius: 35px;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all 0.25s ease;
  width: 210px;
  position: relative;
  height: 60px;
  overflow: hidden;
	margin: 0 auto; 
}
.btn-save-deposit:not(.loading):hover {
  box-shadow: 0px 2px 15px 0px #2575fc;
}
.btn-save-deposit:not(.loading):hover i {
  transform: translate(7px);
}
.btn-save-deposit i {
  font-size: 1.45rem;
  position: absolute;
  left: 0px;
  pointer-events: none;
  z-index: 10;
  background: inherit;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.25s ease;
}
.btn-save-deposit .text{
  width:130px;
  display: block;
  position: absolute;
  left:60px;
  pointer-events: none;
  transition: all 0.25s ease;
}
.loading-animate{
  position:absolute;
  width:60px;
  height:60px;
  z-index:100;
  border-radius: 50%;
  top: 0;
  left:0px;
  display:flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: all 0.25s ease;
}
.loading-animate:after{
  content:'';
  width:44px;
  height:44px;
  border-radius: 50%;
  border:3px solid transparent;
  border-left: 3px solid #fff;
  animation:loading infinite 0.8s ease 0.05s;
  position:absolute;
}
.loading-animate:before{
  content:'';
  width:44px;
  height:44px;
  border-radius: 50%;
  border:3px solid transparent;
  border-left: 3px solid #fff;
  animation:loading infinite 0.8s linear;
  position:absolute;
  opacity: 0.6;
}
.btn-save-deposit.loading{
  width:60px;
}
.btn-save-deposit.loading i{
  transform:rotate(-90deg);
  padding-bottom: 4px;
  padding-left:3px;
}
.btn-save-deposit.loading .text{
  transform:translate(-140px);
}
.btn-save-deposit.loading .loading-animate{
  opacity: 1;
}
@keyframes loading{
  0%{
    transform:rotate(0deg);
  }
  100%{
    transform:rotate(360deg);
  }
}

/*sending button*/

#coin {
	display: inline-block; 
      width: 69px;
      height: 69px;
      background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Bitcoin.svg/120px-Bitcoin.svg.png') no-repeat center;
      background-size: cover;
      animation: spinCoin 4s linear infinite;
      /* ตั้งจุดหมุนที่กึ่งกลาง */
      transform-origin: center;
    }

    /* keyframes สำหรับหมุน */
    @keyframes spinCoin {
      0% {
        transform: rotateY(0deg);
      }
      100% {
        transform: rotateY(360deg);
      }
    }

/* ตัวอย่างการตกแต่งใน Dark Mode แบบกำหนดเอง */
.my-dark-popup .swal2-popup {
	background-color: #111 !important; /* พื้นหลัง */
	color: #fff !important;           /* สีตัวอักษร */
	border: 1px solid #555;          /* ขอบ */
}
.my-dark-popup .swal2-title {
	color: #ffcc00 !important;       /* เปลี่ยนสีเฉพาะ title */
	font-size:13px;
}
.my-dark-popup .swal2-styled.swal2-confirm {
	background-color: #444 !important; 
	color: #fff !important;
}
.my-dark-popup .swal2-styled.swal2-cancel {
	background-color: #666 !important;
	color: #fff !important;
}

.wrapper {
  width: 100%;
  height: 98%;
  margin-right:5%;
/*   display: flex; */
  flex-wrap: wrap;
 overflow-y: scroll;
}

 /* ===== Tailwind-like "clipboard" styling (pure CSS) ===== */
    .clipboard-container {
      display: flex;
      align-items: center;
      gap: 0.5rem; /* space between input and button */
      margin-top: 0.5rem;  /* optional spacing above/below */
      margin-bottom: 1rem; /* adjust as needed */
    }
    .clipboard-input {
      flex: 1; /* allow the input to expand */
      padding: 0.5rem 0.75rem;    /* Tailwind p-2 or p-3 */
      font-size: 0.875rem;        /* ~14px */
      font-weight: 500;           /* medium */
      border: 1px solid gold;  /* border-gray-300 */
      border-radius: 0.375rem;    /* rounded-md */
      outline: none;
      transition: border-color 0.2s ease;
	  background-color: transparent; 
	  color: gold;  
    }
/*     .clipboard-input:focus {
      border-color: #6366f1;      /* focus ring color (e.g. indigo-500) */
    } */

    .clipboard-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.5rem 0.75rem;
      font-size: 0.875rem;        /* text-sm */
      font-weight: 500;           /* medium */
      color: #374151;             /* text-gray-700 */
      background-color: #f9fafb;  /* bg-gray-50 */
      border: 1px solid #d1d5db;  /* border-gray-300 */
      border-radius: 0.375rem;    /* rounded-md */
      cursor: pointer;
      transition: background-color 0.2s ease, color 0.2s ease;
    }
    .clipboard-button:hover {
      background-color: #f3f4f6;  /* bg-gray-100 */
    }
    .clipboard-button:active {
      background-color: #e5e7eb;  /* bg-gray-200 */
    }
    .clipboard-button:focus {
      outline: 2px solid #6366f1; /* focus ring */
      outline-offset: 2px;
    }
 .clipboard-icon {
      width: 15px;
      height: 15px;
    }

    /* OPTIONAL tooltip-like style if you want a small hover tooltip */
    .tooltip {
      position: relative;
    }
    .tooltip:hover::after {
      content: attr(data-tooltip);
      position: absolute;
      top: -2rem;
      left: 50%;
      transform: translateX(-50%);
      font-size: 0.75rem;  /* ~12px */
      padding: 0.25rem 0.5rem;
      color: #fff;
      background: #111;
      border-radius: 0.25rem;
      white-space: nowrap;
    }

@arrowColor: #ffcc00;
@arrow: escape('@{arrowColor}');


.customtextbox{
	text-align:center;
	display:block;
	background-color:white;

  border-radius:2px;
  border: medium solid;
  color: black;
  border-color:yello;
  font-size: 4vmin;
}

.customdropdown{
	text-align:center;
    display:block;
	background-color:white;

  border-radius:2px;
  border: medium solid;
  color: black;
  border-color:yello;
  font-size: 4vmin;
}
/* .wrapper > div {
  flex: 1 1 50%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
} */

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #db372a; 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #b30000; 
}

/* .cc-kegp{
display:none !important;
} */

.wrapper-annouce {
  width: 100%;
  height: 98%;
  padding-right:5%;
  display: flex;
  flex-wrap: wrap;
 overflow-y: scroll;
}

.wrapper-annouce > div {
  flex: 1 1 50%;
  transition: 0.3s;
}

.styled-table {
    border-collapse: collapse;
/*     margin: 25px 0; */
    font-size: 0.9em;
    font-family: sans-serif;

	width: 95%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
}

.styled-table th{
    font-size: 12px;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
	color: #ffffff;
	text-align: center;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

/* .styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
} */

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}

.affiliate-container{
 color: #ffffff;
}