.loader {
  border: 5px solid #ff00c8;
  border-radius: 50%;
  border-top: 5px solid #ff0000;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.drag-drop-area {
  display: grid;
  place-items: center;
  border: 4px dashed #000080;
  background: transparent;
  border-radius: 5px;
  padding: 20px;
  text-align: center;
  height: 399px;
  cursor: pointer;
  overflow: hidden;
}


.drag-drop-area:hover {
  background-color: #fce0a2;
  cursor: pointer;
}

.cursorpointer {
  cursor: pointer;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 25px;
  background-color: #e4e4e4;
  border-radius: 25px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin-left: 1rem;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 21px;
  width: 21px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
}

input:checked+.slider {
  background-color: #228B22;
}

input:focus+.slider {
  box-shadow: 0 0 1px #228B22;
}

input:checked+.slider:before {
  transform: translateX(24px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.line-notify-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shadow-dark {
  box-shadow: 0px 3px 3px rgba(14, 18, 27, 0.3);
}

.radius-border {
  border-radius: 1rem !important;
}

.radius-border-6 {
  border-radius: 0.6rem !important;
}

.radius-border-2 {
  border-radius: 0.2rem !important;
}

.hyper-text-pink {
  color: #FF99AA !important;
}

.hyper-text-green {
  color: #2BC48A !important;
}

.hyper-text-yellow {
  color: #FFD15C !important;
}

.hyper-text-blown {
  color: #F0CFA3 !important;
}

.hyper-text-red {
  color: #ff0000 !important;
}

.hyper-bg-card {
  background-color: #fff;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
}

.hyper-bg-white {
  background-color: #FFFFFF !important;
  color: #2E384D;
}

.hyper-bg-dark {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background-color: #0043c8 !important;
  border-radius: 20px;
  box-shadow: 5px 6px 0px #000080;
}

.hyper-border-dark {
  border-radius: 20px !important;
  border: 5px solid #000080;
}

.bolder {
  color: #000080;
}



.hyper-bg-promptpay {
  background-color: #1a3761 !important;
  border: 5px solid #1a3761;
  border-radius: 25px;
}

.hyper-bg-kbank {
  background-color: #00a950 !important;
  border: 5px solid #00a950;
  border-radius: 25px;
}


.hyper-bg-bay {
  background-color: #705f5f !important;
  border: 5px solid #705f5f;
  border-radius: 25px;
}

.hyper-bg-ktb {
  background-color: #00aef0 !important;
  border: 5px solid #00aef0;
  border-radius: 25px;
}

.hyper-bg-bbl {
  background-color: #06038e !important;
  border: 5px solid #06038e;
  border-radius: 25px;
}

.hyper-bg-scb {
  background-color: #4e2a82 !important;
  border: 5px solid #4e2a82;
  border-radius: 25px;
}

.hyper-bg-gsb {
  background-color: #ec068d !important;
  border: 5px solid #ec068d;
  border-radius: 25px;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #00FA9A;
  /* #ff9900 */
}

::-webkit-scrollbar-thumb {
  background: #0043c8;
  /* #e95c00 */
}

::-webkit-scrollbar-thumb:hover {
  background: #000080;
}


.rainbow-text .char {
  color: hsl(calc(360deg * var(--char-percent)),
      90%,
      65%);
}

.rainbow-text.animated .char {
  animation: rainbow-colors 1s linear infinite;
  animation-delay: calc(-1s * var(--char-percent));
}

@font-face {
  font-family: 'Bold';
  src: url('/assets/fonts/LINESeedSansTH_W_Bd.woff2') format('woff2');
  /* ระบุที่อยู่ของไฟล์ฟอนต์ 2 */
}

@keyframes rainbow-colors {
  0% {
    color: hsl(0turn, 90%, 65%);
  }

  25% {
    color: hsl(.25turn, 90%, 65%);
  }

  50% {
    color: hsl(.5turn, 90%, 65%);
  }

  75% {
    color: hsl(.75turn, 90%, 65%);
  }

  100% {
    color: hsl(1turn, 90%, 65%);
  }
}

.hyper-bg-card-dark {
  background-color: #0043c8;
}


.hyper-bg-card-orange {
  background-color: #ff9900;
  /* #ff9900 */
}

.hyper-bg-card-green {
  background-color: #2E8B57;
  /* #ff9900 */
}

.card-red {
  border-radius: 1rem !important;
  border-left: 5px solid #ff0000;
  border-right: 5px solid #ff0000;
}

.colored-toast.swal2-icon-success {
  border-radius: 1rem !important;
  border-top: 5px solid #00b14f;
  border-left: 5px solid #00b14f;
  border-right: 5px solid #00b14f;
  border-bottom: 5px solid #00b14f;
}

.colored-toast.swal2-icon-error {
  border-radius: 1rem !important;
  border-top: 5px solid #ff0000;
  border-left: 5px solid #ff0000;
  border-right: 5px solid #ff0000;
  border-bottom: 5px solid #ff0000;
}

.colored-toast.swal2-icon-info {
  border-radius: 1rem !important;
  border-top: 5px solid #0000FF;
  border-left: 5px solid #0000FF;
  border-right: 5px solid #0000FF;
  border-bottom: 5px solid #0000FF;
}


body.modal-open .supreme-container {
  -webkit-backdrop-filter: blur(5px);
  -moz-backdrop-filter: blur(5px);
  -o-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}



.hyper-btn-perple {
  font-family: 'Bold';
  transition: all 0.25s;
  color: #6E00B3;
  border: 1.5px solid #6E00B3;
  font-weight: lighter;
}

.hyper-btn-perple:hover {
  transition: all 0.25s;
  color: #fff;
  background-color: #6E00B3;
  box-shadow: 0 10px 12px 0 rgba(110, 0, 179, 0.2), 0 6px 12px 0 rgba(110, 0, 179, 0.19);
}

.hyper-btn-perple-active {
  font-family: 'Bold';
  transition: all 0.25s;
  color: #fff !important;
  background-color: #6E00B3;
  box-shadow: 0 10px 12px 0 rgba(110, 0, 179, 0.2), 0 6px 12px 0 rgba(110, 0, 179, 0.19);
}

.hyper-btn-dark {
  font-family: 'Bold';
  transition: all 0.25s;
  color: #2E384D;
  border: 1.5px solid #2E384D;
  font-weight: lighter;
}

.hyper-btn-dark:hover {
  transition: all 0.25s;
  color: #fff;
  background-color: #2E384D;
  box-shadow: 0 10px 12px 0 rgba(46, 56, 77, 0.2), 0 6px 12px 0 rgba(46, 56, 77, 0.19);
}

.hyper-btn-dark-active {
  font-family: 'Bold';
  transition: all 0.25s;
  color: #fff !important;
  background-color: #2E384D;
  box-shadow: 0 10px 12px 0 rgba(46, 56, 77, 0.2), 0 6px 12px 0 rgba(46, 56, 77, 0.19);
}

.hyper-btn-success {
  font-family: 'Bold';
  transition: all 0.25s;
  color: #015510;
  border: 1.5px solid #015510;
  font-weight: lighter;
}

.hyper-btn-success:hover {
  transition: all 0.25s;
  color: #fff;
  background-color: #ff9400;
  box-shadow: 0 10px 12px 0 rgba(255, 148, 0, 0.2), 0 6px 12px 0 rgba(255, 148, 0, 0.19);
}

.hyper-btn-success-active {
  font-family: 'Bold';
  transition: all 0.25s;
  color: #fff !important;
  background-color: #58b368;
  box-shadow: 0 20px 22px 0 rgba(255, 255, 255, 0.2), 0 6px 12px 0 rgba(255, 255, 255, 0.19);
}

.hyper-btn-orange {
  font-family: 'Bold';
  transition: all 0.25s;
  color: #ff9400;
  border: 1.5px solid #ff9400;
  font-weight: lighter;
}

.hyper-btn-orange:hover {
  transition: all 0.25s;
  color: #fff;
  background-color: #ff9400;
  box-shadow: 0 10px 12px 0 rgba(255, 148, 0, 0.2), 0 6px 12px 0 rgba(255, 148, 0, 0.19);
}

.hyper-btn-orange-active {
  font-family: 'Bold';
  transition: all 0.25s;
  color: #fff !important;
  background-color: #ff9400;
  box-shadow: 0 10px 12px 0 rgba(255, 148, 0, 0.2), 0 6px 12px 0 rgba(255, 148, 0, 0.19);
}

.hyper-btn-primary {
  font-family: 'Bold';
  transition: all 0.25s;
  color: #0049b3;
  border: 1.5px solid #0049b3;
  font-weight: lighter;
}

.hyper-btn-primary:hover {
  transition: all 0.25s;
  color: #fff;
  background-color: #0049b3;
  box-shadow: 0 10px 12px 0 rgba(0, 73, 179, 0.2), 0 6px 12px 0 rgba(0, 73, 179, 0.19);
}

.hyper-btn-primary-active {
  font-family: 'Bold';
  transition: all 0.25s;
  color: #fff !important;
  background-color: #0049b3;
  box-shadow: 0 10px 12px 0 rgba(0, 73, 179, 0.2), 0 6px 12px 0 rgba(0, 73, 179, 0.19);
}


.hyper-btn-danger {
  font-family: 'Bold';
  transition: all 0.25s;
  color: #ff0039 !important;
  border: 1.5px solid #ff0039 !important;
  font-weight: lighter;
}

.hyper-btn-danger:hover {
  transition: all 0.25s;
  color: #fff !important;
  background-color: #ff0039 !important;
  box-shadow: 0 10px 12px 0 rgba(255, 0, 57, 0.2), 0 6px 12px 0 rgba(255, 0, 57, 0.19);
}

.hyper-btn-danger-active {
  font-family: 'Bold';
  transition: all 0.25s;
  color: #fff !important;
  background-color: #ff0039 !important;
  box-shadow: 0 10px 12px 0 rgba(255, 0, 57, 0.2), 0 6px 12px 0 rgba(255, 0, 57, 0.19);
}

.hyper-btn-pink {
  font-family: 'Bold';
  transition: all 0.5s;
  color: #fff;
  background-color: #ff4d85;
}

.hyper-btn-pink:hover {
  transition: all 0.5s;
  color: #fff;
  background-color: #FF1A62;
  box-shadow: 0 10px 12px 0 rgba(255, 26, 98, 0.2), 0 6px 12px 0 rgba(255, 26, 98, 0.19);
}

.hyper-btn-pink:focus {
  color: #fff;
  background-color: #FF1A62;
  box-shadow: 0 10px 12px 0 rgba(255, 26, 98, 0.2), 0 6px 12px 0 rgba(255, 26, 98, 0.19);
}

.hyper-btn-buy {
  font-family: 'Bold';
  transition: all 0.25s;
  color: #fff;
  background-color: #00b14f;
  font-weight: lighter;
}

.hyper-btn-buy:hover {
  transition: all 0.25s;
  color: #fff;
  background-color: #002e27;
  box-shadow: 0 10px 12px 0 rgba(0, 46, 39, 0.2), 0 6px 12px 0 rgba(0, 46, 39, 0.19);
}

.hyper-btn-info {
  font-family: 'Bold';
  transition: all 0.25s;
  color: #fff;
  background-color: #2E384D;
  font-weight: lighter;
}

.hyper-btn-info:hover {
  transition: all 0.25s;
  color: #fff;
  background-color: #232B3B;
  box-shadow: 0 10px 12px 0 rgba(46, 56, 77, 0.2), 0 6px 12px 0 rgba(46, 56, 77, 0.19);
}

.hyper-btn-notoutline-danger {
  font-family: 'Bold';
  transition: all 0.25s;
  color: #fff !important;
  border: 1.5px solid #ff0039 !important;
  background-color: #ff0039 !important;
  font-weight: lighter;
}

.hyper-btn-notoutline-danger:hover {
  transition: all 0.25s;
  color: #fff !important;
  background-color: #DE0030 !important;
  box-shadow: 0 10px 12px 0 rgba(255, 0, 57, 0.2), 0 6px 12px 0 rgba(255, 0, 57, 0.19);
}

.hyper-btn-notoutline-danger:focus {
  transition: all 0.25s;
  color: #fff !important;
  background-color: #DE0030 !important;
  box-shadow: 0 10px 12px 0 rgba(255, 0, 57, 0.2), 0 6px 12px 0 rgba(255, 0, 57, 0.19);
}

.hyper-btn-notoutline-success {
  font-family: 'Bold';
  transition: all 0.25s;
  color: #fff;
  border: 1.5px solid #36A558;
  background-color: #36A558;
  font-weight: lighter;
}

.hyper-btn-notoutline-success:hover {
  transition: all 0.25s;
  color: #fff;
  background-color: #31944F;
  box-shadow: 0 10px 12px 0 rgba(88, 179, 104, 0.2), 0 6px 12px 0 rgba(88, 179, 104, 0.19);
}

.hyper-btn-notoutline-success:not([disabled]):hover {
  transition: all 0.25s;
  color: #fff;
  background-color: #31944F !important;
  box-shadow: 0 10px 12px 0 rgba(88, 179, 104, 0.2), 0 6px 12px 0 rgba(88, 179, 104, 0.19);
}

.hyper-card {
  transition: all 0.25s;
  border: 3px solid rgba(0, 0, 0, 0);
}

.hyper-card:hover {
  border: 3px solid #2E384D;
}

.hyper-form-control {
  font-family: 'Bold';
  color: #000000;
  border: 5px solid #000080;
  border-radius: 20px;
  box-sizing: border-box;
  background-color: #ffff;
  background-clip: padding-box;
  box-shadow: 3px 4px 0px #000080;

}

.hyper-form-control:focus {
  color: #000000;
  background-color: #e9f8f0;
  border-color: #0043c8;
  outline: 0;
  box-shadow: 4px 5px 0px #000080;
}

.hyper-form-control:active {
  -webkit-transform: translateY(3px);
  transform: translateY(3px);
}


.hyper-form-control:disabled {
  font-family: 'Bold';
  color: #000000;
  background-color: #fff;
  background-clip: padding-box;
  border: 5px solid #ff0000;
  box-shadow: 4px 5px 0px #ff0000;
}

.hyper-form-control-green {
  font-family: 'Bold';
  color: #000000;
  border: 1px solid #00b14f;
  box-sizing: border-box;
  background-color: #ffff;
  background-clip: padding-box;

}

.hyper-form-control-green:focus {
  color: #000000;
  background-color: #e9f8f0;
  border-color: #00b14f;
  outline: 0;
  box-shadow: 0 0 0 1px rgb(0, 177, 79);
}

input:focus,
textarea:focus {
  background-color: rgba(255, 153, 0, 0.1);
}

/* Bootstrap edit class*/

.navbar-light {
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.btn {
  border-radius: 0.2rem;
}

a {
  text-decoration: none !important;
}

a:hover {
  text-decoration: underline !important;
}


.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #2E384D;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.page-link:hover {
  z-index: 2;
  color: #fff;
  text-decoration: none;
  background-color: #2E384D;
  border-color: #2E384D;
}

.page-link:focus {
  z-index: 3;
  outline: 0;
  color: #fff;
  background-color: #2E384D;
  box-shadow: 0 0 0 0.0rem rgba(0, 123, 255, 0.25);
  border-color: #2E384D;
}

.page-link.active {
  z-index: 3;
  outline: 0;
  color: #fff;
  background-color: #2E384D;
  box-shadow: 0 0 0 0.0rem rgba(0, 123, 255, 0.25);
  border-color: #2E384D;
}

.swal-button:not([disabled]):hover {
  background-color: initial;
}

.custom-btn {
  font-family: 'Bold' !important;
  width: 130px;
  height: 40px;
  color: #fff;
  border-radius: 5px;
  padding: 0.375rem 0.75rem;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5),
    7px 7px 20px 0px rgba(0, 0, 0, .1),
    4px 4px 5px 0px rgba(0, 0, 0, .1);
  outline: none;
}

.custom-btn:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;

}

.btnsweet {
  font-family: 'Bold';
  border-radius: 20px;
}

.btn-1 {
  font-family: 'Bold';
  color: #000000;
  background-color: #f1f505;
  border: 5px solid #000080;
  border-radius: 20px;
  box-shadow: 3px 4px 0px #000080;
}

.btn-1:before {
  height: 0%;
  width: 2px;

}

.btn-1:hover {
  cursor: pointer;
  color: #000000;
  background-color: #00FA9A;
  border: 5px solid #00FA9A;
  box-shadow: 3px 4px 0px #000080;
}

.btn-1:active {
  transform: translateY(3px);
}

.btn-2 {
  font-family: 'Bold';
  color: #000000;
  background-color: #f1f505;
  border: 5px solid #000080;
  border-radius: 20px;
  box-shadow: 3px 4px 0px #000080;
}

.btn-2:before {
  height: 0%;
  width: 2px;

}

.btn-2:hover {
  cursor: pointer;
  color: #000000;
  background-color: #FF0033;
  border: 5px solid #FF0033;
  box-shadow: 3px 4px 0px #000080;
}

.btn-2:active {
  transform: translateY(3px);
}

.btn-3 {
  font-family: 'Bold';
  color: #000000;
  border: 5px solid #FF0033;
  border-radius: 20px;
  box-shadow: 3px 4px 0px #FF0033;
}

.btn-3:before {
  height: 0%;
  width: 2px;

}

.btn-3:hover {
  cursor: pointer;
  color: #000000;
  background-color: #FF0000;
  border: 5px solid #FF0000;
  box-shadow: 3px 4px 0px #000080;
}

.btn-3:active {
  transform: translateY(3px);
}

.btn-4 {
  font-family: 'Bold';
  transition: all 0.25s;
  color: #fff;
  border: 1.5px solid #00b14f;
  background-color: #00b14f;
  font-weight: lighter;
  border-radius: 25px;
}

.btn-4:before {
  height: 0%;
  width: 2px;

}

.btn-4:hover {
  box-shadow: 4px 4px 6px 0 rgba(255, 255, 255, .5),
    -4px -4px 6px 0 rgba(116, 125, 136, .5),
    inset -4px -4px 6px 0 rgba(255, 255, 255, .2),
    inset 4px 4px 6px 0 rgba(0, 0, 0, .4);
}


/* 7 */
.btn-7 {
  background: linear-gradient(0deg, rgba(255, 151, 0, 1) 0%, rgba(251, 75, 2, 1) 100%);
  line-height: 42px;
  padding: 0;
  border: none;
}

.btn-7 span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.btn-7:before,
.btn-7:after {
  position: absolute;
  content: "";
  right: 0;
  bottom: 0;
  background: rgba(251, 75, 2, 1);
  box-shadow:
    -7px -7px 20px 0px rgba(255, 255, 255, .9),
    -4px -4px 5px 0px rgba(255, 255, 255, .9),
    7px 7px 20px 0px rgba(0, 0, 0, .2),
    4px 4px 5px 0px rgba(0, 0, 0, .3);
  transition: all 0.3s ease;
}

.btn-7:before {
  height: 0%;
  width: 2px;
}

.btn-7:after {
  width: 0%;
  height: 2px;
}

.btn-7:hover {
  color: rgba(251, 75, 2, 1);
  background: transparent;
}

.btn-7:hover:before {
  height: 100%;
}

.btn-7:hover:after {
  width: 100%;
}

.btn-7 span:before,
.btn-7 span:after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  background: rgba(251, 75, 2, 1);
  box-shadow:
    -7px -7px 20px 0px rgba(255, 255, 255, .9),
    -4px -4px 5px 0px rgba(255, 255, 255, .9),
    7px 7px 20px 0px rgba(0, 0, 0, .2),
    4px 4px 5px 0px rgba(0, 0, 0, .3);
  transition: all 0.3s ease;
}

.btn-7 span:before {
  width: 2px;
  height: 0%;
}

.btn-7 span:after {
  height: 2px;
  width: 0%;
}

.btn-7 span:hover:before {
  height: 100%;
}

.btn-7 span:hover:after {
  width: 100%;
}

.multi-button {
  background-color: white;
  border: 1px solid white;
  border-radius: 14px;
  padding: 7px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 15px 0 rgba(0, 0, 0, 0.1);
  place-items: center;
}

#cut {
  background-color: rgb(85, 131, 241);
  border: 1px solid rgb(85, 131, 241);

}

#cut {
  background-color: rgb(85, 131, 241);
  border: 1px solid rgb(85, 131, 241);

}

#copy {
  background-color: rgb(39, 166, 75);
  border: 1px solid rgb(39, 166, 75);

}

#paste {
  background-color: rgb(242, 185, 42);
  border: 1px solid rgb(242, 185, 42);

}

.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}

#cut span:after {
  font-family: FontAwesome;
  content: "\f0c4";
}

#copy span:after {
  font-family: FontAwesome;
  content: "\f0c5";
}

#paste span:after {
  font-family: FontAwesome;
  content: "\f0ea";
}