/*General*/
@font-face {
    font-family: 'Averta';
    src: url(../fonts/Averta-Regular.otf);
    font-weight: normal;
}
@font-face {
    font-family: 'Averta';
    src: url(../fonts/Averta-Semibold.otf);
    font-weight: 600;
}
@font-face {
    font-family: 'Averta';
    src: url(../fonts/Averta-Bold.otf);
    font-weight: 700;
}
.custom-popup.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.custom-popup .modal-wrapper{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1.125rem;
    width: 593px;
    border-radius: 10px;
    background-color: #F6F6F6;
    color: #111111;
}
.custom-popup .modal-content{
    
    text-align: center;
    padding: 35px;
}
.custom-popup .modal-content input{
    width: 100%; 
    border-radius: var(--8, 8px);
    border: 1px solid #EEDBBF;
    background: #595959;
    box-sizing: border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing: border-box;
}
.custom-popup .modal-content input[type=text]:focus{
    border: 1px solid #EEDBBF !important;
}
.custom-popup .modal-content h2 {
    margin-bottom: 15px;
    margin-top: 0;;
    font-size: 24px;
    color: #383838;
    text-align: left;
    font-family: Averta, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2.25rem;
}
.custom-popup label{
    color: #383838;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    opacity: 1;
    pointer-events: none;
    transition: .24s;
    font-family: Averta, sans-serif;
    margin-bottom: 4px;
    display: inline-block;
}
.custom-popup form{
    margin-bottom: 0;
}
.custom-popup input{
    background: #fbfbfb;
    font-style: normal;
    font-weight: 400;
    height: 44px !important;
    line-height: 23px;
    outline: 0;
    padding: 10px 12px !important;
    width: 100% !important;
    margin-bottom: 0;
    box-shadow: none !important;
    color: #fff;
}
.custom-popup .form-group {
    text-align: left;
    margin-bottom: 15px;
}
.modal a.button {
    color: #b21c4b;
    text-decoration: none;
}
.modal a.modal-close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: #333;
    text-decoration: none;
    z-index: 1000;
}
.existing-user {
    margin-bottom: 15px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.125rem;
    text-align: left;
}
.existing-user a{
    color: #FBBD18;
    text-decoration: none;
}
.existing-user a:hover{
    color: #FBBD18;
}
a {
    color: #000;
}
.register-confirm-btn,
.login-confirm-btn, .support-confirm-btn, .custom-popup button[type="submit"], #btn_mainsite{
    border-radius: var(--8, 8px);
    background: linear-gradient(186deg, #EEDBBF -130.56%, #BAA078 -59.23%, #EEDBBF 14.94%, #BAA078 76.27%);
    display: flex;
    height: 36px;
    padding: var(--gap-xs-5, 8px) var(--gap-xs-2, 18px);
    justify-content: center;
    align-items: center;
    width: 100%;
    /* font-size: 14px; */
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
}

.support-confirm-btn{
    height: 46px !important;
    border: none !important; 
}

.custom-popup .xac-nhan{
    color: #706f6f;
    font-family: Averta, sans-serif;
    font-size: .875rem;
    line-height: 1.125rem;
    margin-bottom: 20px;
    text-align: left;
}

.custom-popup button[type="submit"] .spinner{
    width: 20px;
    height: 20px;
    display: none;
    position: absolute;
    top: 50%;
    transform: translate(10px, -50%);
}

.info-content {
    margin-bottom: 20px;
}

.info-content p {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.125rem;
}

.info-content .btn {
    margin: 0;
    background-color: #FBBD18;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#thank-you-modal > .modal-content {
    padding: 60px;
}

@media (max-width: 767px){
    .custom-popup .modal-wrapper{
        width: 90vw;
    }
}

/* UPDATE */

#register-modal .modal-content {
    background: linear-gradient(
      to bottom,
      rgba(47, 42, 34, 0) 0%,
      rgba(246, 215, 142, 1) 100%
    );
    background-attachment: fixed;
    border-radius: 10px;
    position: relative;
    padding: 1px;
  }
  
  #register-modal .modal-content::after {
    content: "";
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    left: 1px;
    background: linear-gradient(
      to bottom,
      rgba(47, 42, 34, 1) 0%,
      rgba(14, 14, 14, 1) 100%
    );
    display: block;
    border-radius: 10px;
  }
  
  #register-modal .formcontent{
    background: url(https://choigsoc88.vip/wp-content/uploads/2024/06/bg-form.png) bottom center no-repeat;
    background-size: 100% auto;
    position: relative;
    z-index: 1;
  }
  
  .formlogo {
    width: 60%;
    display: block;
    margin: 0px auto;
    transform: translateY(-20px);
  }
  
  .formbox {
    display: flex;
    padding-bottom: 1rem;
  }
  
  .thumb-form {
    width: 38%;
  }
  
  .thumb-form > img {
    transform: scale(1.3) translate(8%, 12%);
  }
  
  .tab-content {
    width: 62%;
    padding: 1.5rem 0 0 1.5rem;
    margin: 0;
    position: relative;
    z-index: 3;
  }
  
  #form .tab-content {
    width: 100%;
    padding: 1.5rem 0 0 1.5rem;
    margin: 0;
    position: relative;
    z-index: 3;
  }
  
  #register-modal .nav-tabs {
    width: 89%;
    border: none !important;
    margin: 0 0 0.8rem;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
  }
  
  #register-modal .nav-tabs > li > a {
    position: relative;
    text-decoration: none;
    width: 100%;
    height: 100%;
    color: #f6d78e;
    display: block;
    font-size: 20px;
    font-weight: 700;
  }

  #register-modal .nav-tabs > li.active > a > img:first-child {
    display: none;
  }
  
  #register-modal .nav-tabs > li.active > a > img:last-child {
    display: block;
    position: relative;
    z-index: 1;
    height: 43px;
  }
  
  #register-modal .nav-tabs > li > a > img:first-child {
    display: block;
    height: 42px;
    margin-top: 0.5px;
  }
  
  #register-modal .nav-tabs > li > a > img:last-child {
    display: none;
    position: relative;
    height: 43px;
    z-index: 0;
  }
  
  form {
    width: 90%;
    margin: 0;
    position: relative;
  }
  
  .form-group {
    position: relative;
    margin-bottom: 1rem;
  }
  
  #form .nav-tabs {
    width: 65%;
    border: none !important;
    margin: 0 auto 2rem;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
  }
  
  #register-modal .nav-tabs > li > a {
    position: relative;
    text-decoration: none;
    width: 100%;
    height: 100%;
    color: #fff;
    display: block;
    font-size: 16px;
    font-weight: 700;
  }
  
  #form .form-group-icon {
    position: absolute;
    left: 15px;
    top: 0;
    cursor: pointer;
    height: 46px;
    width: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
  }
  
  #form .nav-tabs li {
    flex: 1;
  }
  
  #form .nav-tabs li:first-child {
    margin-right: -4.5%;
  }
  
  #form .nav-tabs li:last-child {
    margin-left: -4.5%;
  }
  
  #form .nav-tabs > li.active > a > img:first-child {
    display: none;
  }
  
  #form .nav-tabs > li.active > a > img:last-child {
    display: block;
    position: relative;
    z-index: 1;
    height: 43px;
  }
  
  #form .nav-tabs > li > a > img:first-child {
    display: block;
    height: 42px;
    margin-top: 0.5px;
  }
  
  #form .nav-tabs > li > a > img:last-child {
    display: none;
    position: relative;
    height: 43px;
    z-index: 0;
  }
  
  selector .field_form {
    background: linear-gradient(
      to right,
      rgba(118, 99, 75, 1) 0%,
      rgba(118, 99, 75, 1) 31%,
      rgba(118, 99, 75, 0) 100%
    );
    border-radius: 10px;
    padding: 1px;
  }
  
  selector .form-control {
    height: 57px;
    background: #252324 !important;
    border: none !important;
    outline: none !important;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 14px;
    color: #fff !important;
    border-radius: 10px;
  }
  
  input::-webkit-input-placeholder {
    color: #fff !important;
    font-weight: 600;
  }
  
  input:-moz-placeholder {
    color: #fff !important;
    font-weight: 600;
  }
  
  input::-moz-placeholder {
    color: #fff !important;
    font-weight: 600;
  }
  
  input:-ms-input-placeholder {
    color: #fff !important;
    font-weight: 600;
  }
  /* .btnsubmit button:hover,
  .btnsubmit-join button:hover {
    transform: scale(1.1);
  } */
  .btnsubmit{
      text-align: right;
  }
  .btnsubmit button, .btnsubmit-join button {
      background: 0 0;
      border: none;
      outline: 0;
      margin: 0 auto;
      transition: ease .3s;
      text-align: right;
  }
  .btnsubmit img{
      width: 147px;
  }
  .tab-content>.tab-pane{
          display: none;
  }
  .tab-content>.active {
      display: block;
  }
  .tab-content>.active {
      display: block;
  }
  selector .register-confirm-btn:focus{
      background: none;
      outline: none;
  }
  

  #register-modal .tab-content li a{
    border-radius: 8px;
    border: solid 2px rgba(238, 219, 191, 0);
    width: 150px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--8, 8px);
    background: linear-gradient(6deg, #363635 13.37%, #5A5958 75.49%, #363635 136.1%);
  }
  #register-modal .tab-content li.active a{
    background: linear-gradient(92deg, #BAA078 13.23%, #EEDBBF 88.03%);
    border: 2px solid var(--G1, #EEDBBF);
    color: #000;
  }

  /* cskh-modal */
  #cskh-modal .modal-content , #thankyou-modal .modal-content {
    background-color: #25211b;
    color: #fff;
  }
  #cskh-modal .modal-content{
    color: #fff;
  }
  #cskh-modal .modal-content h2{
    color: #fff;
  }

  @media (max-width: 767px){
    .tab-content{
        width: 100%;    
        padding: 0 0 0 1.5rem;
    }
    .thumb-form{
        display: none;
    }
     #thankyou-modal .modal-content{
        padding: 30px 15px;
    }
  }
