/* Create account */
.ecomm-create-account-box{
  max-width: 470px;
  margin: 0 auto;
  padding: 40px 30px;
  border: 1px solid #ECECEC;
  border-radius: 10px;
}
.ecomm-create-account-box h4{
  font-size: 20px;
  color: #0E5AA7;
  font-weight: 600;
  margin-bottom: 5px;
  text-align: center;
  letter-spacing: 0.05em;
}
.ecomm-create-account-box p{
  font-size: 14px;
  color: #333333;
  margin-bottom: 0;
  text-align: center;
}
.ecomm-create-account-box p span{
  font-weight: 500;
}
.ecomm-ca-wrap{
  margin-top: 15px;
}
.ecomm-ca-wrap .ecomm-ca-label{
  text-align: right;
}
.ecomm-ca-wrap .ecomm-ca-label a{
  font-size: 14px;
  display: inline-block;
  color: #333333;
  text-decoration: underline;
  margin-bottom: 10px;
}
.ecomm-form-input{
  margin-bottom: 20px;
}
.ecomm-form-submitbtn-box{
  margin-top: 30px;
}
.ecomm-form-input .form-control{
  height: 40px;
  border: 1px solid #E3E3E3;
  border-radius: 5px;
  font-size: 14px;
  color: #333333;
  letter-spacing: 0.05em;
  font-weight: 400;
  padding: 10px 14px;
  box-shadow: none;
}
.ecomm-form-input .iti {
  display: block;
}
.ecomm-form-input .iti--separate-dial-code .iti__selected-flag{
  background-color: transparent;
  border-right: 1px solid #E3E3E3;
  width: 80px;
}
.ecomm-form-input .iti--separate-dial-code .iti__selected-dial-code{
  font-size: 12px;
  color: #333333;
  letter-spacing: 0.5px;
}
.ecomm-form-input .iti__selected-flag .iti__flag{
  border-radius: 50%;
  width: 15px;
  height: 15px;
}
.ecomm-form-input .iti__arrow{
  width: 8px;
  height: 8px;
  border: 1px solid #333333;
  rotate: 45deg;
  border-top: 0;
  border-left: 0;
  margin-top: -5px;
}
.ecomm-ca-submit-btn{
  background: #0E5AA7;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 100%;
  border-radius: 30px;
  border: 0;
  transition: 0.3s all;
}
.ecomm-ca-submit-btn:hover{
  background: #0E5AA7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}
.ecomm-codeinputs{
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  margin-top: 30px;
}
.ecomm-codeinputs .form-control{
  width: 57px;
  height: 50px;
  text-align: center;
  color: #0E5AA7;
  font-size: 20px;
  font-weight: 500;
  padding: 5px;
  box-shadow: none;
  border: 1px solid #E3E3E3;
}
.ecomm-codeinputs .form-control.input-valid,
.ecomm-codeinputs .form-control:focus{
  border-color: #0E5AA7;
}
.ecomm-signuplink{
  margin-top: 20px;
  text-align: center;
}
.ecomm-signuplink p{
  font-size: 12px;
  color: #666666;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}
.ecomm-signuplink p + .back-link{
  margin-top: 8px;
}
.ecomm-signuplink .back-link{
  font-size: 12px;
  color: #0E5AA7;
  letter-spacing: 0.05em;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  transition: 0.5s all;
}
.ecomm-signuplink .back-link:hover{
  gap: 12px;
}
.ecomm-signuplink p + p{
  margin-top: 10px;
}
.ecomm-signuplink p a{
  text-decoration: underline;
  color: #0E5AA7;
  font-weight: 600;
}
.ecomm-signuplink-log{
  margin-top: 20px;
}
.ecomm-signuplink-log p{
  font-size: 14px;
  color: #666666;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}
.ecomm-signuplink-log p a{
  text-decoration: underline;
  color: #0E5AA7;
  font-weight: 600;
}
.ecomm-inline-input{
  display: flex;
  justify-content: space-between;
}
.ecomm-form-group .checkbox{
  position: relative;
  display: inline-flex;
}
.ecomm-form-group .checkbox input{
  position: absolute;
  left: 0;
  display: none;
}
.ecomm-form-group .checkbox span {
  font-size: 14px;
  color: #333333;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  padding-left: 24px;
  position: relative;
}
.ecomm-form-group .checkbox span::before {
  content: '';
  border-radius: 3px;
  border: 1px solid #0E5AA7;
  width: 18px;
  height: 18px;
  transition: 0.5s all;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}
.ecomm-form-group .checkbox span::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  border: 2px solid #fff;
  width: 10px;
  height: 6px;
  border-top: 0;
  border-right: 0;
  rotate: -45deg;
  opacity: 0;
  transition: 0.5s all;
}
.ecomm-form-group .checkbox input:checked ~ span::before{
  background: #0E5AA7;
}
.ecomm-form-group .checkbox input:checked ~ span::after {
  opacity: 1;
}
.ecomm-form-group .ecomm-ftpassword {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.ecomm-form-group .ecomm-ftpassword span{
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 90, 167,.1);
  font-size: 12px;
  color: #0E5AA7;
  line-height: 1;
  border-radius: 50%;
  text-decoration: none;
  margin-right: 8px;
  font-weight: 500;
}
.ecomm-form-group .ecomm-ftpassword a{
  font-size: 14px;
  color: #333333;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-decoration: underline;
}
.ecomm-form-group .ecomm-ftpassword a:hover{
  color: #0E5AA7;
}
.password-input{
  position: relative;
}
.viewpass{
  position: absolute;
  top: 20px;
  transform: translateY(-50%);
  right: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
}
.viewpass svg{
  width: 16px;
}

/* Auth Modal */
.ecomm-auth-modal .modal-content{
  border: 1px solid #ECECEC;
  border-radius: 10px;
  background-color: #fff;
  max-width: 470px;
  margin: 0 auto;
}
.ecomm-auth-modal .modal-body{
  padding: 40px 30px;
}
.ecomm-auth-modal .ecomm-create-account-box{
  background-color: transparent;
  padding: 0;
  max-width: 100%;
  border: 0;
  border-radius: 0;
}
.ecomm-auth-modal .btn-close{
  position: absolute;
  top: 20px;
  right: 20px;
}
label.error{
  font-size: 12px;
  color: #EE2527;
}
label.success-message{
    display: block;
    background: #c7ffc9;
    padding: 4px 14px;
    border-radius: 5px;
    position: relative;
    margin: 10px 0;
    text-align: center;
    font-size: 12px;
    color: #000;
}
.ecomm-termbox{
  max-width: 270px;
  margin: 0 auto;
}
.ecomm-termbox p{
  font-size: 13px;
  color: #000;
  text-align: center;
}
.ecomm-termbox p a{
  color: #0E5AA7;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1199px) {
  
}

@media (max-width: 991px) {
  .ecomm-auth-modal .modal-dialog {
    height: 100%;
    margin: 0;
    padding: 10px 10px 0;
    display: flex;
    align-items: flex-end;
    max-width: 100%;
    transform: translateY(50%)!important;
    transition: transform 0.6s ease-out!important;
  }
  .ecomm-auth-modal.show .modal-dialog {
    transform: translateY(0)!important;
  }
  .ecomm-auth-modal .modal-content{
    border-radius: 10px 10px 0 0  ;
  }
  .ecomm-auth-modal .btn-close {
    width: 36px;
    height: 36px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -60px;
    background-size: 33%;
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .ecomm-create-account-box{
    padding: 30px 25px;
    max-width: 400px;
  }
  .ecomm-codeinputs .form-control{
    width: 40px;
    height: 40px;
    font-size: 13px;
  }
  .ecomm-auth-modal .modal-body{
    padding: 30px 25px;
  }
}

@media (max-width: 575px) {
  .ecomm-inline-input{
    flex-direction: column;
  }
  .ecomm-form-group .ecomm-ftpassword{
    justify-content: flex-start;
  }
  .ecomm-form-group+.ecomm-form-group{
    margin-top: 12px;
  }
  .ecomm-auth-modal .modal-body {
    padding: 30px 20px;
  }
}
