/* font */
@font-face {
  font-family: suk-b;
  src: url("../../assets/fonts/Sukhumvit/NotoSansThai-Bold.ttf");
}

@font-face {
  font-family: suk-r;
  src: url("../../assets/fonts/Sukhumvit/NotoSansThai-Medium.ttf");
}

body{
  background-color: #091523 !important;
  background-size: auto;
}

.web-bg {
  margin: auto;
  max-width: 430px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background-image: url(../../assets/images/bnp789/bg.webp);
  background-size: cover
}

.boxbg{
  /* background-image: url(../../assets/images/bnp789/bg.webp);
  background-size: cover; */
}

.pointer{
  cursor: pointer;
}

.menu-main{
  filter: grayscale(0.6);
  opacity: 0.5;
}

.menu-main.active{
  filter: grayscale(0);
  opacity: 1;
}

:root {
  --font-primary: suk-r;
  --font-primary-bold: suk-b;
}

.font-regular {
  font-family: var(--font-primary);
}
.font-bold {
  font-family: var(--font-primary-bold);
}

.font-regular,
.font-bold {
  color: #000000;
}

.font-regular.xxl,
.font-bold.xxl {
  font-size: min(4.5vw, 1.3rem) !important;
}
.font-regular.xl,
.font-bold.xl {
  font-size: min(4vw, 1rem) !important;
}
.font-regular.md,
.font-bold.md {
  font-size: min(2.9vw, 0.8rem) !important;
}
.font-regular.sm,
.font-bold.sm {
  font-size: min(3.25vw, 0.7rem) !important;
}
.font-regular.xs,
.font-bold.xs {
  font-size: min(2.2vw, 0.5rem) !important;
}
/* ------------------------------------------------ */
/* width */
.w-100{
  width: 100% !important;
}
.w-95{
  width: 95% !important;
}
.w-90{
  width: 90% !important;
}
.w-85{
  width: 85% !important;
}
.w-80{
  width: 80% !important;
}
.w-70{
  width: 70% !important;
}
.w-60{
  width: 60% !important;
}
.w-50{
  width: 50% !important;
}
.w-40{
  width: 40% !important;
}
.w-30{
  width: 30% !important;
}
.w-20{
  width: 20% !important;
}
.w-10{
  width: 10.6%!important;
}
.mar-auto{
  margin: auto;
}
/* ------------------------------------------------ */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.qr-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 480px;
  padding: 2rem 1rem 0;
}
.qr-container .logo {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.qr-image-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 1rem;
  padding: 6;
}
.qr-payment-container {
  width: 100%;
  background: #0f3e68;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px 10px 0 0;
}
.qr-container img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.qr-countdown-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 1rem;
  padding: 8 4 0;
}

.container-desktop {
  display: block;
}
.container-mobile {
  display: none;
}
@media only screen and (max-width: 550px) {
  .container-desktop {
    display: none;
  }
  .container-mobile {
    display: block;
  }
}

.title-name{
  width: fit-content;
  height: fit-content;
  margin: auto;
  color: #2FA54D;
  font-size: 1.1rem;
  border-radius: 7px;
  padding: 2px 20px;
  background-image: linear-gradient(#FFFCF3,#FFFCF3);
  border: 1px solid #2FA54D;
}

.info-yiki{
  width:23px;
  height:16px;
  border-radius: 3px;
  background-image: linear-gradient(#56C252,#2FA54D);
}

.info-yiki-2{
  width: 100%;
  height: fit-content;
  text-align: center;
  border-radius: 5px;
  box-shadow: #00000082 0 1px 5px;
  background-image: linear-gradient(#fffcf3,#fffcf3);
  border: 0;
}

.info-yiki-3{
  width: 100%;
  height: fit-content;
  text-align: center;
  border-radius: 5px;
  box-shadow: #00000082 0 1px 5px;
  background-image: linear-gradient(#56C252,#2FA54D);
  border: 0;
}



.info-1{
  width: 100% !important;
  padding: 10px 0px 8px 0px;
  height: fit-content;
  text-align: center;
  border-radius: 0.8rem;
  background-image: linear-gradient(#fffcf3,#fffcf3);
  border: 1px solid #414141;
}

.info-2{
  width: 100%;
  height: fit-content;
  text-align: center;
  border-radius: 0.8rem;
  background-image: linear-gradient(#fffcf3,#fffcf3);
  box-shadow:  rgba(88, 88, 88, 0.661) 0 1px 4px ;
}

.info-3{
  width: 100%;
  padding: 10px 0px 8px 0px;
  height: fit-content;
  text-align: center;
  background-image: linear-gradient(#272727,#272727);
}

.info-4{
  width: 100%;
  padding: 5px 0px 3px 0px;
  height: fit-content;
  text-align: center;
  background-image: linear-gradient(#fffcf3,#fffcf3);
}

.button-1{
  width: 100%;
  padding: 5px 0px 1px 0px;
  height: fit-content;
  text-align: center;
  border-radius: 0.6rem;
  text-shadow: #777777 0px 2px 4px;
  background-image: linear-gradient(#F963D9,#F963D9);
  box-shadow: rgba(255, 255, 255, 0.661) 0 1px 0 inset;
}

.button-2{
  width: 100%;
  padding: 5px 0px 1px 0px;
  height: fit-content;
  text-align: center;
  border-radius: 20rem;
  background-image: linear-gradient(#2FA54D,#56C252,#2FA54D);
  box-shadow: rgba(255, 255, 255, 0.661) 0 1px 0 inset;
}

.button-3{
  width: 100%;
  padding: 5px 0px 1px 0px;
  height: fit-content;
  text-align: center;
  border-radius: 20rem;
  text-shadow: #777777 0px 2px 4px;
  background-image: linear-gradient(#44C51F,#44C51F);
  box-shadow: rgba(255, 255, 255, 0.661) 0 1px 0 inset;
}

.button-4{
  width: 100%;
  padding: 5px 0px 1px 0px;
  height: fit-content;
  text-align: center;
  border-radius: 20rem;
  text-shadow: #777777 0px 2px 4px;
  background-image: linear-gradient(#A5A5A5,#A5A5A5);
  box-shadow: rgba(255, 255, 255, 0.661) 0 1px 0 inset;
}

.button-5{
  width: fit-content;
  padding: 5px 15px;
  height: fit-content;
  text-align: center;
  border-radius: 15px;
  background-image: linear-gradient(#E7E7E7,#E7E7E7);
  background-image: cover;
  box-shadow: rgba(255, 255, 255, 0.661) 0 1px 0 inset;
}

.button-5-2{
  width: fit-content;
  padding: 5px 15px;
  height: fit-content;
  text-align: center;
  border-radius: 15px;
  background-image: linear-gradient(#ffffff,#ffffff);
  background-image: cover;
  box-shadow: rgba(255, 255, 255, 0.661) 0 1px 0 inset;
}

.button-6{
  width: 90%;
  margin: auto;
  padding: 9px 0px;
  height: fit-content;
  text-align: center;
  border-radius: 8px;
  text-shadow: #777777 0px 2px 4px;
  background-image: linear-gradient(#2FA54D,#56C252,#2FA54D);
  box-shadow: rgba(255, 255, 255, 0.661) 0 1px 0 inset;
}

.button-7{
  width: 90%;
  padding: 5px 0px;
  margin: auto;
  height: fit-content;
  text-align: center;
  border-radius: 8px;
  background-image: linear-gradient(#ffffff,#ffffff);
  box-shadow: rgb(81 81 81 / 38%)  0 1px 4px;
}

.button-7-2{
  width: 90%;
  padding: 5px 0px;
  margin: auto;
  height: fit-content;
  text-align: center;
  border-radius: 8px;
  background-image: linear-gradient(#2FA54D,#56C252,#2FA54D);
  box-shadow: rgb(81 81 81 / 38%)  0 1px 4px;
}

.divied{
  height: 2px;
  width: 90%;
  background-image: linear-gradient(#8D8D8D,#8D8D8D);
}

.divied2{
  height: 2px;
  width: 100%;
  background-image: linear-gradient(#D9D9D9,#D9D9D9);
}

.summit-b{
  width: 100%;
  max-width: 350px;
  padding: 5px 0px;
  height: fit-content;
  text-align: center;
  border-radius: 8px;
  background-image: linear-gradient(#FFFFFF,#FFFFFF);
  box-shadow:  rgba(88, 88, 88, 0.661) 0 1px 4px ;
}

.cancel-b{
  width: 100%;
  max-width: 350px;
  margin: auto;
  padding: 5px 0px;
  height: fit-content;
  text-align: center;
  border-radius: 8px;
  background-image: linear-gradient(#FFFFFF,#FFFFFF);
  box-shadow:  rgba(88, 88, 88, 0.661) 0 1px 4px ;
}

.search-box{
  width: 95%;
  margin: auto;
  padding: 2px 0px;
  border-radius: 500px;
  background-image: linear-gradient(90deg,#FB94E5,#FFBDF1);
  box-shadow: rgba(255, 255, 255, 0.661) 0 1px 0 inset;
}

.border-1{
  width: fit-content;
  height: fit-content;
  background: transparent;
  border-radius: 5px;
  border: 0.2px solid #0089DF;
  cursor: pointer;
}

.border-2{
  width: fit-content;
  height: fit-content;
  background: transparent;
  border-radius: 5px;
  border: 0.2px solid #2FA54D;
  cursor: pointer;
}
.border-2.cream-bg {
 background-image: linear-gradient(#fffcf3,#fffcf3);
}
.border-2.white-bg {
  border: 0 solid #2FA54D;
 }

.border-3{
  width: fit-content;
  height: fit-content;
  background: transparent;
  border-radius: 5px;
  border: 0.2px solid #FB1410;
  cursor: pointer;
}

.border-2 .title-text {
  font-size: min(3svw, 0.85rem) !important;
  text-wrap-mode: nowrap;
}
.border-2 .wallet-text {
  font-size: min(3.5svw, 1rem) !important;
  text-wrap-mode: nowrap;
}
.border-2 .input-text,
.border-2 .btn-text {
  font-size: min(3svw, 0.6rem) !important;
  text-wrap-mode: nowrap;
}
.border-2 .wallet-icon {
  width:100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0;
}
@media only screen and (min-width: 550px) {
  /* .border-2 .title-text {
    font-size: 0.8rem !important
  }
  .border-2 .wallet-text {
    font-size: 1.25rem !important;
  }
  .border-2 .btn-text {
    font-size: 1rem !important;
  } */
}
@media only screen and (min-width: 1024px) {
  .border-2 .title-text {
    font-size: 1rem !important;
  }
  .border-2 .wallet-text {
    font-size: 1.5rem !important;
  }
  .border-2 .btn-text {
    font-size: 0.7rem !important;
  }
}

.receive-btn {
    padding: 0 5px;
    width: 100%;
    height: calc(100% - 4px);
    display: flex;
    position: relative;
    top: 2px;
    justify-content: center;
    align-items: center;
}

.coupon-input-style {
  width: calc(100% - 0.25rem);
  height: calc(100% - 4px);
  position: relative;
  top: 2px;
  font-size: min(2.6vw, 0.5rem);
  display: block;
  cursor: text;
  text-align: center;
}

/* announce - marquee */
.announce-textbox {
  /* background-color: #4D4AE8;
  background-image: linear-gradient(#29093E,#3c0064, #29093E);
  box-shadow: rgba(255, 255, 255, 0.661) 0 1px 0 inset,#9115E3 0 0px 4px;
  border-radius: 5px;
  padding: 0.25rem 0.5rem; */
  line-height: 1;
  margin-top: -3px;
}

.marquee-m-container,
.marquee-container {
  height: 1.25rem;
  overflow: hidden;
  margin-left: 0.5rem;
}
.marquee-m-text,
.marquee-text {
  position: absolute;
}

.link-ref {
  display: block;
  overflow: hidden !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 2vw;
  text-align: left;
}

.dp-button {
  width: fit-content;
  height: fit-content;
  margin: auto;
  color: #fff;
  font-size: 1.1rem;
  border-radius: 20px 0px 0px 20px;
  padding: 5px 20px;
  text-shadow: black 0px 2px 4px;
  background-image: linear-gradient(#A5A5A5, #A5A5A5);
  box-shadow: rgba(255, 255, 255, 0.661) 0 2px 0 inset;
}

.wd-button {
  width: fit-content;
  height: fit-content;
  margin: auto;
  color: #fff;
  font-size: 1.1rem;
  border-radius: 0px 20px 20px 0px;
  padding: 5px 20px;
  text-shadow: black 0px 2px 4px;
  background-image: linear-gradient(#E9012C, #E9012C);
  box-shadow: rgba(255, 255, 255, 0.661) 0 2px 0 inset;
}

.dp-box{
  width: 90%;
  height: fit-content;
  margin: auto;
  padding: 15px 0px;
  border-radius: 20px;
  border: 1px solid #ffffff;
}

.ref-box{
  width: 100%;
  border-radius: 15px;
  padding: 5px 8px;
  background-image: linear-gradient(#f2f2f242, #f2f2f242);
  box-shadow:  rgba(255, 255, 255, 0.661) 0 1px 1px 1px inset, rgba(255, 234, 166, 0.4) 0px -3px 4px -1px inset;
}

.ref-box-copy{
  position: absolute !important;
  top: 0;
  right: 0;
  width: fit-content;
  height: 100%;
  border-radius: 20rem;
  padding: 5px 8px;
  background-image: linear-gradient(#FFFFFF, #FFFFFF);
  box-shadow:  rgba(255, 255, 255, 0.661) 0 1px 1px 1px inset, rgba(255, 234, 166, 0.4) 0px -3px 4px -1px inset;

  display: flex;
  justify-content: center;
  align-items: center;
}

.input-box{
  width: 100%;
  border-radius: 15px;
  padding: 5px 8px;
  background-image: linear-gradient(#f2f2f242, #f2f2f242);
  box-shadow:  rgba(255, 255, 255, 0.661) 0 1px 1px 1px inset, rgba(255, 234, 166, 0.4) 0px -3px 4px -1px inset;
}

.appContainer{
  width: 100%;
    min-height: 100vh;
    /* max-width: 430px; */
    margin: auto;
    box-shadow:0 3px 1px -2px #0003, 0 2px 2px #00000024, 0 1px 5px #0000001f !important;
}

.box-announce{
  background-image: linear-gradient(#56C252,#2FA54D);
  border-radius: 5px;
}

.sidemenu-box{
  width: 100%;
  height: fit-content;
  border-radius: 8px;
  background-image: linear-gradient(#FFFCF3, #FFFCF3);
  box-shadow:  rgba(88, 88, 88, 0.661) 0 1px 4px ;
}

.cashback-a{
  width: 90%;
  height: fit-content;
  border-radius: 200px;
  color: white !important;
  background-image: linear-gradient(#56C252,#56C252,#2FA54D);
}

.link-1{
  width: 100%;
  height: fit-content;
  border-radius: 8px;
  background-color: #E7E7E7;
  box-shadow:  rgba(88, 88, 88, 0.661) 0 1px 4px ;
}

.link-2{
  width: 100%;
  height: fit-content;
  border-radius: 8px;
  background-color: #FBC743;
  box-shadow:  rgba(88, 88, 88, 0.661) 0 1px 4px ;
}

.link-3{
  width: 100%;
  height: fit-content;
  border-radius: 8px;
  background-color: #04C755;
  box-shadow:  rgba(88, 88, 88, 0.661) 0 1px 4px ;
}

.footer-box{
  z-index: 10;
  position: fixed;
  width: 100%;
  height: fit-content;
  box-shadow:  rgba(88, 88, 88, 0.661) 0 -1px 4px ;
  bottom: 0;
  background-color: #ffffff;
}

.jackpot-text {
  letter-spacing: 5px;
  text-indent: 5px;
  text-align: center;
  color: white;
}

.input-select-dropdown {
  position: relative;
  width: 100%;
  cursor: pointer;
}
.input-select-dropdown .selected-option {
  height: 34px;
  padding: 8px 8px 8px 14px;
  border-radius: .6rem;
  border: 0.1px solid #6e6e6e;
  line-height: normal;
}
.input-select-dropdown.popup-modal .selected-option {
  height: 38.38px;
  padding: 8px 8px 8px 14px;
  border-radius: 0.5rem;
  border: 0.5px solid #2FA54D;
  line-height: normal;
}
.input-select-dropdown .options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  border-radius: 0px 0px .6rem .6rem;
}
.input-select-dropdown.popup-modal .options {
  border-radius: 0px 0px .5rem .5rem;
}
.input-select-dropdown .option {
  padding: 8px 8px 8px 14px;
  line-height: normal;
}
.input-select-dropdown .option:hover {
  background-color: #f0f0f0;
}
.input-select-dropdown .bank-icon {
  width: 16px;
  object-fit: contain;
  margin-right: 8px;
  box-shadow: rgba(0, 0, 0, 0.25) 0 2px 3px;
}
