
.login-popup {
  justify-content: center;
  z-index: 21;
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.display-flex {
  display: flex;
}
.display-none {
  display: none !important;
}
.reward-a {
  width: 100%;
  content: url("../img/เครดิต50.png");
}
​ .login-popup span {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.login-popup span i {
  font-size: 1rem;
  color: #Fff;
  border: 1px solid #fff;
  border-radius: 15px; 
  padding: 5px 8px;
  transform: translate(0%, 40%);
  position: absolute;
  right: 0;
}
.login-popup span i:hover {
  cursor: pointer;
}

.login-popup form h1 {
  width: 100%;
  color: #fff;
  font-weight: 400;
  margin-bottom: 25px;
}

.login-popup form input[type="text"],
.login-popup form input[type="password"] {
  text-align: center;
    border: none;
    color: var(--text-seo);
    font-weight: 400;
    border-radius: 5px;
    outline: none;
    padding: 10px 15px;
    background-color: #eeeeee;
    font-weight: 400;
    font-size: 1.5rem;
    margin-bottom: 20px;
}




.login-popup form button {
  box-shadow: 0px 0px 4px #000000;
  font-family: 'Noto Sans Thai', sans-serif;
  font-size: 1rem;
  outline: none;
  width: 100%;
  font-weight: 400 !important;
  padding: 10px 35px;
  color: #fff;
  background: #186533;
  background: radial-gradient(ellipse farthest-corner at right bottom, #186533 0%, #186533 8%, #3f8a5a 30%, #3f8a5a 40%, transparent 80%), radial-gradient(ellipse farthest-corner at left top, #3f8a5a 0%, #3f8a5a 8%, #257842 25%, #186533 62.5%, #186533 100%);
  border: none;
  margin-bottom: 10px;
  margin: auto;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgb(0 0 0);

}


.login-popup form button:hover{
  transform: scale(0.98) !important;
  transition: all 0.3s ease-in-out !important;

}

.login-popup form button:hover {
  cursor: pointer;
  transform: scale(0.9);
  transition: 300ms ease;
}

button.login-please {
  box-shadow: 0px 0px 4px var(--primary-color);
  font-family: 'Noto Sans Thai', sans-serif;
  font-size: 16px;
  font-weight: 400;
  outline: none;
  width: 100%;
  padding: 18px 32px;
  color: #fff;
  background: var(--primary-gradient);
  border: none;
  margin-bottom: 10px;
  border-radius: 15px;
  margin: auto;
  font-weight: 400;
}

button.login-please:hover {
  cursor: pointer;
  transform: scale(0.9);
  transition: 300ms ease;
}

.btn-block{
  box-shadow: 0px 0px 4px #afafaf !important;
  color: #858585 !important;
  background: linear-gradient(270deg, #bdbdbd, #afafaf) !important;
}

.btn-block:hover{
  cursor: unset !important;
  transform: scale(1) !important;
}

@media only screen and (max-width: 600px) {
  .login-popup form h1 {
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  .login-popup form button {
    margin-top: 15px;
    padding: 10px;
  }
}

/* Log in Popup End*/

/* Reward Popup Start */
.reward-popup {
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  top: 0;
  position: fixed;
  background: rgba(0, 0, 0, 0.7);
}
.ShowReward {
  text-align: center;
  padding: 20px;
  margin: 15px;
  max-width: 600px;
  width: 600px;
  background-color: #fff;
  border-radius: 25px;
}
.reward-bg {
  width: 100%;
}
#reward-name {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 6rem;
  line-height: 6rem;
  padding: 1rem;
}
#reward-congrat {
  font-weight: 700;
  color: #232F3E;
  font-size: 1.5rem;
}
.reward-box h3 {
  font-size: 1.1rem;
  font-weight: 500;
}
.reward-box h4 {
  font-size: .8rem;
  font-weight: 500;
}
#reward-btn{
  width: 100%;
    max-width: 300px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    background: var(--primary-color);
    color: #fff;
    margin-top: 2rem;
    border-radius: 15px;
    border: none;
    box-shadow: 0px 5px 10px #007fff50;
    cursor: pointer;
}
.reward-desc{
  margin-top: 1rem;
}

.reward-desc p{
  text-align: center;
}

.gift-box{
  height: 115px;
}

.gift-box img{
  width: 190px;
  transform: translateY(-50%);
}



@media only screen and (min-width: 600px) {
  .reward-bg {
    height: 40vh;
  }
}

@media only screen and (max-width: 600px) {
  .reward-bg {
    height: 20vh;
  }
}
/* Reward Popup End */

/* Reward Css Start */
.reward-10-bg {
  background: url("../img/reward-10.png") no-repeat center center/cover;
}
.reward-20-bg {
  background: url("../img/reward-20.png") no-repeat center center/cover;
}
.reward-50-bg {
  background: url("../img/reward-50.png") no-repeat center center/cover;
}
.reward-100-bg {
  background: url("../img/reward-100.png") no-repeat center center/cover;
}
.reward-1000-bg {
  background: url("../img/reward-1000.png") no-repeat center center/cover;
}
.reward-iphone-bg {
  background: url("../img/reward-Iphone.png") no-repeat center center/contain;
}
.reward-s21-bg {
  background: url("../img/reward-S21.png") no-repeat center center/contain;
}
.reward-gold-bg {
  background: url("../img/reward-Gold.png") no-repeat center center/contain;
}
/* Reward Css End*/

/* Reciept Popup Start */

.reciept-popup {
  z-index: 30;
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.show-reciept {
  width: 80vw;
  height: 80vh;
  background-color: wheat;
}
/* Reciept Popup End */
