@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');

:root {
    --black: #24252A;
    --white: #fff;
    --off-white: #edf0f1;
    --grey: #aaa;
    --lightblue: #04befe;
    --primary: #006d86;
    --secondary: #4481eb;
    --gradient: linear-gradient(-45deg, var(--primary), #56b592);
}


/* width */
::-webkit-scrollbar {
  width: 0px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}

body, input {
    font-family: 'Ubuntu', sans-serif;
}

.border-error{
  border-color: red;
  border-style: solid;
  border-width: thin;
}
.showPassword{
  position: relative;
  left: 604%;
  bottom: 52px;
}

.container {
    position: relative;
    min-width: 100%;
    min-height: 100vh;
    background-color: var(--white);
    overflow: hidden;
}

.container:before {
    content: '';
    position: absolute;
    width: 2000px;
    height: 2000px;
    border-radius: 50%;
    background: linear-gradient(to right, #085078  0%,#85D8CE  60%, #085078 100%);
    top: -10%;
    right: 48%;
    transform: translateY(-50%);
    z-index: 6;
    transition: 1.8s ease-in-out;
}

.forms-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.signin-signup {
    position: absolute;
    top: 50%;
    left: 75%;
    transform: translate(-50%, -50%);
    width: 50%;
    display: grid;
    grid-template-columns: 1fr;
    z-index: 5;
    transition: 1s 0.7s ease-in-out;
}

.custom-form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 7rem;
    overflow: auto;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    transition: 0.2s 0.7s ease-in-out;
    height: 100vh;
}

.custom-form.sign-in-form {
    z-index: 2;
}

.custom-form.sign-up-form {
    z-index: 1;
    opacity: 0;
}

.title {
    font-size: 2.2rem;
    color: #444;
    margin-bottom: 10px;
    text-align: center;
}

.input-field {
    /* min-width: 300px !important;
    max-width: 400px; */
    width: 100%;
    height: 55px;
    background-color: var(--off-white);
    margin: 5px 0;
    border-radius: 55px;
    display: grid;
    grid-template-columns: 15% 85%;
    padding: 0 0.4rem;
}

.input-field i {
    text-align: center;
    line-height: 55px;
    color: #acacac;
    font-size: 1.1rem;
    font-weight: 500;
}

.input-field .input-text {
    background: none;
    outline: none;
    border: none;
    color: #333;
    line-height: 1;
    font-weight: 600;
    font-size: 1.1rem;
}

.input-field .input-text::placeholder {
    color: #aaa;
    font-weight: 500;
}

.btn {
/*    width: 150px;*/
    height: 49px;
    border: none;
    outline: none;
    border-radius: 49px;
    cursor: pointer;
    background-image: linear-gradient(to right, #085078  0%,#85D8CE  60%, #085078 100%) !important;
    background-size: 200% auto;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    margin: 10px 0;
    transition: .5s;
}

.btn-prev {
  width: 50px;
  height: 49px;
  border: 3px solid var(--grey);
  outline: none;
  border-radius: 50%;
  cursor: pointer;
  background-color: var(--off-white);
  color: var(--grey);
  text-transform: uppercase;
  font-weight: 600;
  margin: 10px 0;
  transition: .5s;
}

.btn-skip {
  width: 150px;
  height: 49px;
  border: 3px solid var(--grey);
  outline: none;
  border-radius: 49px;
  cursor: pointer;
  background-color: var(--white);
  color: var(--grey);
  text-transform: uppercase;
  font-weight: 600;
  margin: 10px 0;
  transition: .5s;
}



.btn:hover,.btn:active,.btn:focus {
  background-position: right center !important; /* change the direction of the change here */
  color: #fff !important;
  text-decoration: none !important;
}

.social-text {
    padding: 0.7rem 0;
    font-size: 1rem;
}

.social-text a {
 color: #24252A;
}

.social-text a:hover {
  color: var(--primary);
 }

.social-media {
    display: flex;
    justify-content: center;
}

.social-icon {
    height: 46px;
    width: 46px;
    border: 1px solid #333;
    margin: 0 0.45rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    border-radius: 50%;
    transition: .3s;
}

.social-icon:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.panels-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.panel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-around;
    text-align: center;
    z-index: 7;
}

.panel .content {
    color: #fff;
    transition: .9s .6s ease-in-out;
}

.panel h3 {
    font-weight: 600;
    line-height: 1;
    font-size: 1.5rem;
}

.panel p {
    font-size: 0.95rem;
    padding: 0.7rem 0;
}

.btn.transparent {
  margin: 0;
  background-image: none !important;
  border: 2px solid #fff;
  width: 130px;
  height: 41px;
  font-weight: 600;
  font-size: 0.8rem;
}

.left-panel {
    pointer-events: all;
    padding: 3rem 17% 2rem 12%;
}

.right-panel { 
    pointer-events: none;
    padding: 3rem 12% 2rem 17%;
}

.image {
    width: 80%;
    transition: 1.1s .4s ease-in-out;
}

.right-panel .content, .right-panel .image {
    transform: translateX(800px); 
}

/* animation */

.container.sign-up-mode:before {
    transform: translate(100%, -50%);
    right: 52%;     
}

.container.sign-up-mode .left-panel .image, 
.container.sign-up-mode .left-panel .content {
    transform: translateX(-800px);
}

.container.sign-up-mode .right-panel .image, 
.container.sign-up-mode .right-panel .content {
    transform: translateX(0px);
}

.container.sign-up-mode .left-panel {
    pointer-events: none;
}

.container.sign-up-mode .right-panel {
    pointer-events: all;
}

.container.sign-up-mode .signin-signup {
    left: 25%;
}

.container.sign-up-mode .custom-form.sign-in-form {
    z-index: 1;
    opacity: 0;
}

.container.sign-up-mode .custom-form.sign-up-form {
    z-index: 2;
    opacity: 1;
}


@media (max-width: 870px) {
    .container {
      min-height: 870px;
      height: 100vh;
    }
    .signin-signup {
      width: 100%;
      top: 95%;
      transform: translate(-50%, -100%);
      transition: 1s 0.8s ease-in-out;
    }
  
    .signin-signup,
    .container.sign-up-mode .signin-signup {
      left: 50%;
    }
    .sign-up-margin {
      margin-top: 50px !important;
    }
  
    .panels-container {
      grid-template-columns: 1fr;
      grid-template-rows: 1fr 2fr 1fr;
    }
  
    .panel {
      flex-direction: row;
      justify-content: space-around;
      align-items: center;
      padding: 2.5rem 8%;
      grid-column: 1 / 2;
    }
  
    .right-panel {
      grid-row: 3 / 4;
    }
  
    .left-panel {
      grid-row: 1 / 2;
    }
  
    .image {
      width: 200px;
      transition: transform 0.9s ease-in-out;
      transition-delay: 0.6s;
    }
  
    .panel .content {
      padding-right: 15%;
      transition: transform 0.9s ease-in-out;
      transition-delay: 0.8s;
    }
  
    .panel h3 {
      font-size: 1.2rem;
    }
  
    .panel p {
      font-size: 0.7rem;
      padding: 0.5rem 0;
    }
  
    .btn.transparent {
      width: 110px;
      height: 35px;
      font-size: 0.7rem;
    }
  
    .container:before {
      width: 1500px;
      height: 1500px;
      transform: translateX(-50%);
      left: 30%;
      bottom: 68%;
      right: initial;
      top: initial;
      transition: 2s ease-in-out;
    }
  
    .container.sign-up-mode:before {
      transform: translate(-50%, 100%);
      bottom: 32%;
      right: initial;
    }
  
    .container.sign-up-mode .left-panel .image,
    .container.sign-up-mode .left-panel .content {
      transform: translateY(-300px);
    }
  
    .container.sign-up-mode .right-panel .image,
    .container.sign-up-mode .right-panel .content {
      transform: translateY(0px);
    }
  
    .right-panel .image,
    .right-panel .content {
      transform: translateY(300px);
    }
  
    .container.sign-up-mode .signin-signup {
      top: 5%;
      transform: translate(-50%, 0);
    }
    .container.sign-up-mode .com-signin-signup {
      top: -1% !important;
    }
  }
  
  @media (max-width: 570px) {
    form {
      padding: 0 1.5rem;
    }
  
    .image {
      display: none;
    }
    .panel .content {
      padding: 0.5rem 1rem;
    }
    .container {
      padding: 1.5rem;
    }
  
    .container:before {
      bottom: 72%;
      left: 50%;
    }
  
    .container.sign-up-mode:before {
      bottom: 28%;
      left: 50%;
    }
    .custom-form {
      padding: 0 2rem;
    }
  }

/* sing-up */

ul.form-stepper {
  counter-reset: section;
  margin-bottom: 1.3rem;
}
ul.form-stepper .form-stepper-circle {
  position: relative;
}
ul.form-stepper .form-stepper-circle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}
.form-stepper-horizontal {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
ul.form-stepper > li:not(:last-of-type) {
  margin-bottom: 0.625rem;
  -webkit-transition: margin-bottom 0.4s;
  -o-transition: margin-bottom 0.4s;
  transition: margin-bottom 0.4s;
}
.form-stepper-horizontal > li:not(:last-of-type) {
  margin-bottom: 0 !important;
}
.form-stepper-horizontal li {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
/* .form-stepper-horizontal li:not(:last-child):after {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  height: 1px;
  content: "";
  top: 32%;
}
.form-stepper-horizontal li:after {
  background-color: #dee2e6;
} */
.form-stepper-horizontal li.form-stepper-completed:after {
  background-color: #4da3ff;
}
.form-stepper-horizontal li:last-child {
  flex: unset;
}
ul.form-stepper li a .form-stepper-circle {
  display: block;
  width: 40px;
  height: 40px;
  margin: auto;
  line-height: 1.7rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.38);
  border-radius: 50%;
}
.form-stepper .form-stepper-active .form-stepper-circle {
  background-color: var(--secondary) !important;
  color: #fff;
}
.form-stepper .form-stepper-active .label {
  color: var(--secondary) !important;
}
.form-stepper .form-stepper-active .form-stepper-circle:hover {
  background-color: #4da3ff !important;
  color: #fff !important;
}
.form-stepper .form-stepper-unfinished .form-stepper-circle {
  background-color: #f8f7ff;
}
.form-stepper .form-stepper-completed .form-stepper-circle {
  background-color: var(--primary) !important;
  color: #fff;
}
.form-stepper .form-stepper-completed .label {
  color: var(--primary) !important;
}
.form-stepper .form-stepper-completed .form-stepper-circle:hover {
  background-color: var(--primary) !important;
  color: #fff !important;
}
.form-stepper .form-stepper-active span.text-muted {
  color: #fff !important;
}
.form-stepper .form-stepper-completed span.text-muted {
  color: #fff !important;
}
.form-stepper .label {
  font-size: 1rem;
  margin-top: 0.5rem;
  text-align: center;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.form-stepper a {
  cursor: default;
}

#progress-bar-container {
  width: 80%;
  display: flex;
  justify-content: center;
}
.d-none {
  display: none;
}

.invi {
  opacity: 0;
}

section {
  display: flex;
  flex-direction: column;

}

section .input-field {
  width: 100%;
}

.name-field {
  display: grid;
  grid-template-columns: 196px 196px;
  grid-column-gap: 0.5rem;
}
.birthdate {
  display: flex;
  flex-direction: column;
}
.b-label {
  margin-top: 5%;
  margin-left: 5%;
}

.b-label p {
  color: #aaa;
  line-height: 1;
  font-weight: 500;
  font-size: 1.1rem;
}

#sufix {
  max-width: 200px;
}

.error {
  margin-bottom: 10px;
  font-size: small;
  color: red;
  align-self: center;
  /* text-align: center; */
}


[type="date"]::-webkit-datetime-edit-month-field, 
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-year-field,
::-webkit-datetime-edit-text {
  color: var(--black);
  padding: 0.1rem;
}
[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 1;
  padding-right: 10%;
  color: #aaa;
}

.checkbox-container {
  display: flex;
  justify-content: flex-start;
  margin-left: 10%;
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
  flex-direction: column;
}

.form-btn-container {
  align-self: flex-start;
  display: flex;
  gap: 10px;
}

#home-btn-right {
  position: absolute;
  top: 0%;
  right: 0%;
  z-index: 6 !important;
  transition: ease-in-out 1s;
}

#home-btn-left {
  position: absolute;
  top: 0%;
  left: 0%;
  z-index: 6 !important;
}

.home-btn {
  margin: 20px 30px;
  height: 46px;
  width: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary);
  font-size: 2.8rem;
  border-radius: 50%;
  transition: .3s;
}

#company-register-form {
  align-content: flex-start;
}

.terms {
  font-size: x-small;
  margin: 5px;
}
.terms a {
  color: #146679 !important;
  cursor: pointer;
}