* {
  box-sizing: border-box;
}

input[type=text],
input[type=number],
textarea,
select {
  width: 100%;
}

.contents {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.infoContainer {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 50px 10px;
    gap: 12px;
}

.infos {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
    background-color: #efefef;
    border: 1px solid #dbdada;
    border-radius: 6px;
    overflow-x: hidden;
}


/* Get type */
.getTypeContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    gap: 80px;
    width: 100%;
    max-width: 850px;
}

.getTypeContainer p {
    font-size: 18px;
    color: #232323;
    text-align: center;
}

.getTypeContainer .getType {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    height: 100%;
}
    
.getTypeContainer .getType .getTypeBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 6px;
    width: 250px;
    height: 200px;
    background-color: #f1f1f1;
    border: 1px solid #dbdada;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
}

.getTypeContainer .getType .getTypeBox span {
    font-size: 18px;
    font-weight: bold;
}

.getTypeContainer .getType .getTypeBox:hover {
    background-color: #e9e9e9;
}

.getTypeContainer .getType .getTypeBox.active {
    border: 1px solid rgb(255, 221, 57);
    transform: scale(1.08);
    box-shadow: 0 0 20px 8px rgba(255, 221, 57, 0.1);
} 

.getTypeContainer .getType .getTypeBox.disable {
    opacity: 0.5;
}

.getTypeContainer .getType .getTypeBox.disable img.imgActive,
.getTypeContainer .getType .getTypeBox  img.imgDisable{
    display: none;
}

.getTypeContainer .getType .getTypeBox.disable img.imgDisable {
    display: block;
} 
    
.getTypeContainer .continue {
    width: 220px;
    height: 60px;
    font-size: 18px;
}

input[type=submit]:disabled,
.disabled {
    background: gray;
    opacity: 0.3;
    cursor: no-drop !important;
    box-shadow: none;
}

.loading {
    width: 100%;
    height: 55px;
    background: gray;
    border-radius: 4px;
    border: 1px solid #c4c4c4;
    cursor: no-drop;
    display: none;
}

.loading > div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.lds-ellipsis {
    position: relative;
    width: 80px;
    height: 13px;
    transition: all 0.3s;
}
.lds-ellipsis div {
    position: absolute;
    top: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}

/* Steps */
.steps {
    width:100% ;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.steps h3 {
    font-size:20px;
    color: #232323;
}

.steps .step {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    background-color: #efefef;
    border: 1px solid #dbdada;
    border-radius: 6px;
    box-shadow: 0 0 8px 3px rgba(0, 0, 0, 0.03);
}

.steps .step.stepSuccess {
  border-color: #5fe61b;
}

.steps .step .stepTitle {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    height: 100%;
}

.step .stepTitle .textStep {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}

.steps .step i {
    flex-shrink: 0;
    color: #454545;
    width: 20px;
}

.steps .step i.fa-arrow-left {
    font-size: 24px;
}

.steps .step .stepTitle i {
    font-size: 20px;
}

.steps .step .stepTitle span {
    font-size: 20px;
    color: #232323;
}

.steps .step .stepComplete {
  width: 35px;
  height: 35px;
  display: none;
}

.steps .step.stepSuccess .stepComplete {
  display: block;
}

.steps .step.stepSuccess i.fa-arrow-left {
  display: none;
}

/* getPersonalInfo */
.infos p {
    font-size: 16px;
    color: #232323;
    padding: 0;
    margin: 0;
}

.infos .personalInfo {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.infos .personalInfo .row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.infos .personalInfo .field {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Get files */
.infos .boxFile {
    width: calc(100% - 10px);
    height: 70px;
    background-color: #f6f6f6;
    border: 1px solid #dbdada;
    border-radius: 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: space-between;
    padding-left: 10px;
}

.infos .boxFile .imageFile {
    width: 75px;
    height: 100%;
    background-color: #d9d9d9;
    border-radius: 0 8px 8px 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.infos .boxFile .urlFile {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 0 10px;
}

.infos .boxFile .statusFile {
    width: 90px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.infos .boxFile .statusFile > div {
    width: 100%;
    height: 35px;
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    background-color: #ffdd39;
    cursor: pointer;
    font-family: 'yekan',tahoma;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.infos .boxFile .statusFile > div:hover {
    background-color: #242424;
    border: 1px solid #000;
    color: #fff;
}

.infos .boxFile .statusFile div.activeLoading span, 
.infos .boxFile .statusFile div.activeCheck span {
    display: none;
}

.infos .boxFile .statusFile .uploadLoading {
    display: none;
    transform: scale(0.4);
    position: absolute;
    top: -23px;
    left: -23px;
}

.infos .boxFile .statusFile div.activeLoading, 
.infos .boxFile .statusFile div.activeCheck {
    border-radius: 50%;
    width: 35px;
}

.infos .boxFile .statusFile div.activeCheck {
    background: none;
    border: 0;
}

.infos .boxFile .statusFile div.activeLoading .uploadLoading,
.infos .boxFile .statusFile div.activeCheck .uploadCheck {
    display: flex;
}

.infos .boxFile .statusFile .uploadCheck {
    transform: scale(0.1);
    position: absolute;
    top: -110px;
    left: -112px;
    display: none;
}

/* Upload loading */
.lds-roller,
.lds-roller div,
.lds-roller div:after {
  box-sizing: border-box;
}
.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7.2px;
  height: 7.2px;
  border-radius: 50%;
  background: currentColor;
  margin: -3.6px 0 0 -3.6px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 62.62742px;
  left: 62.62742px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 67.71281px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 70.90963px;
  left: 48.28221px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 70.90963px;
  left: 31.71779px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 67.71281px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 62.62742px;
  left: 17.37258px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12.28719px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Checked button */
@keyframes check__border--entrance {
    100% {
      transform: rotateZ(315deg);
    }
  }
  @keyframes check__check--entrance {
    0% {
      opacity: 0;
    }
  }
  @keyframes check__check-top--entrance {
    0% {
      height: 0px;
    }
  }
  @keyframes check__check-bottom--entrance {
    0% {
      width: 0px;
    }
  }
  .check {
    position: relative;
    height: 256px;
    width: 256px;
    border-radius: 50%;
    box-shadow: 0 10px 5px rgba(0, 0, 0, 0.02);
  }
  .check__border, .check__check {
    position: absolute;
  }
  .check__border {
    border: 24px solid #5fe61b;
    border-right-color: transparent;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    transform: rotateZ(-45deg);
    animation: check__border--entrance 0.5s ease;
  }
  .check__border::before, .check__border::after {
    content: "";
    width: 24px;
    height: 24px;
    background: #5fe61b;
    position: absolute;
  }
  .check__border::before {
    top: 9px;
    right: 11px;
    border-radius: 0 50% 50% 50%;
  }
  .check__border::after {
    bottom: 9px;
    right: 11px;
    border-radius: 50% 50% 50% 0%;
  }
  .check__check {
    transform: rotateZ(45deg);
    top: -15%;
    right: 20%;
    bottom: 30%;
    left: 45%;
    animation: check__check--entrance 0.4s ease;
  }
  .check__check-top, .check__check-bottom {
    position: absolute;
    background: #5fe61b;
    border-radius: 12px;
  }
  .check__check-top {
    width: 24px;
    right: 0;
    height: 100%;
    bottom: 0;
    animation: check__check-top--entrance 0.3s ease 0.3s backwards;
  }
  .check__check-bottom {
    height: 24px;
    left: 0;
    width: 100%;
    bottom: 0;
    animation: check__check-bottom--entrance 0.3s ease backwards;
  }
  
  body {
    height: 100vh;
    min-width: 420px;
    min-height: 420px;
    margin: 0;
    display: flex;
    justify-content: center;
  }

/* Popup */
.popup {
  width: 100%;
  height: 100%;
  background-color: #23232358;
  position: fixed;
  display: none;
  overflow-y: auto;
}

.popup .popupBody {
  display: flex;
  max-width: 700px;
  width: calc(100% - 20px);
  background-color: #fff;
  border-radius: 8px;
  flex-direction: column;
  justify-content: space-between;
  max-height: calc(100% - 20px);
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.popup .popupBody .popupHeader {
  width: 100%;
  height: 45px;
  border-bottom: 1px solid #e7e7e7;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.popup .popupBody .popupContent {
  height: 100%;
  overflow-y: auto;
  background-color: #f9f9f9;
  padding: 20px;
}

.popup .popupBody .popupContent p {
  color: #232323;
  font-size: 16px;
  text-align: justify;
  padding: 0;
  margin: 0;
  margin-bottom: 20px;
}

.popup .popupBody .popupContent ul > li > span {
  color: #232323;
  font-weight: bold;
}

.popup .popupBody .popupContent ul > li > ol,
.popup .popupBody .popupContent > ul  {
  line-height: 30px;
}

.popup .popupBody .popupFooter {
  height: 45px;
  flex-shrink: 0;
  /* box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); */
  border-top: 1px solid #e7e7e7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding:  0 20px;
}

.popup .popupBody .popupFooter input[type=submit] {
  width: 64px;
  height: 30px;
}

.popup .popupBody .popupFooter input[type=checkbox] {
  width: 20px;
  height: 20px;
}

.popup .popupBody .popupFooter label {
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 4px;
  user-select: none;
}

input[type=text].error, 
input[type=password].error, 
select.error, 
textarea.error, 
input[type=number].error,
.infos .boxFile.error {
  border-color: #f66a6a;
}

/* Login */
.container, .boxes, .boxBody {
  display: flex;
}
.container {
  max-width: 470px; 
  width: calc(100% - 50px); 
  box-sizing: border-box; 
  justify-content: space-between; 
  align-items: center; 
  border-radius: 10px;
  padding: 50px 20px;
  flex-direction: column;
  gap: 16px;
}
.container * {
  box-sizing: border-box;
}
.container .boxes {
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  gap: 40px;
  box-sizing: border-box;
}
.container .boxes .boxHeader {
  font-size: 22px;
}

.container .boxes .boxBody {
  width: 100%;
  gap: 10px;
  flex-direction: column;
}

.container .boxes .boxBody.flexEnd {
  justify-content: flex-end;
}

.container .boxes .boxBody .field input{
  box-sizing: border-box;
  width: 100%;
  height: 55px;
  outline: 0;
  text-align:center;
  font-size: 16px;
}

.container .boxes .boxBody .field input[type=number]:disabled {
  opacity: 0.5;
  cursor: no-drop !important;
}

.container .boxes .boxBody .field .btnVerifyCode,
.container .boxes .boxBody .field.verifyCode {
  display: none;
}

.container .boxes .boxBody .sendAgain span {
  color: #ff902c;
  cursor: pointer;
}

.container .boxes .boxBody .field .changeNumber {
  display:none; 
  color: #ff902c; 
  cursor: pointer; 
  text-align: left;
  font-size: 16px;
  margin-bottom: 5px;  
}

.timer {
  display: none;
}

@media only screen and (max-width: 1000px) {
  
  .getTypeContainer .getType {
    flex-direction: column;
  }

  .getTypeContainer .getType .getTypeBox {
    height: 150px;
  }
  
  .getTypeContainer {
    gap: 40px;
  }
  
  .getTypeContainer p {
    font-size: 16px;
    width: 285px;
  }

  .steps {
    padding: 0 16px;
  }

}

.loading-upload-file, .popup-rules {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.591);
  display: none;
}

.loading-upload-file > div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 150px;
  height: 150px;
  border-radius: 8px;
  padding: 8px;
}

.loading-upload-file > div p {
  margin: 0;
}

.popup-rules {
  background-color: #000;
  z-index: 1111;
}

.popup-rules > div {
  position: absolute;
  top:50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 8px;
  width: calc(100% - 16px);
  max-width: 700px;
  height: 90%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.popup-rules div .popup-top {
  height: 100%;
  padding: 8px;
  overflow-y: auto;
}

.popup-rules div .popup-bottom {
  width: 100%;
  padding: 8px;
  background-color: #eee;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}