*, :before, :after {
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: #ECECEC;
}

input::-ms-reveal,
input::-ms-clear {
  display: none;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100dvh;
}

.icon {
  font-size: 100px;
  color: #00ADF5;
}

.content {
  text-align: center;
}

.content h1 {
  font-size: 30px;
  margin-bottom: 20px;
}

.content p {
  font-size: 18px;
  margin-bottom: 20px;
}

.btn-login {
  display: inline-block;
  padding: 10px 20px;
  background-color: #00ADF5;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid transparent;
  margin-top: 20px;
}

.btn-login:hover {
  background-color: #ECECEC;
  color: #00ADF5;
  border-color: #00ADF5;
}

.login-wrapper {
  width: 100%;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ECECEC;
}

.background-content {
  width: 70%;
  height: 100%;
}

.background-content img {
  width: 100%;
  height: auto;
  object-fit: scale-down;
}

.login-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e5e5e5;
  height: 100%;
  border-bottom-left-radius: 25px;
  border-top-left-radius: 25px;
  padding-inline: 15px;
}

.login-card,
.register-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 35px 30px;
  max-width: 455px;
  width: 100%;
  -webkit-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.1);
  -moz-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.1);
  box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.1);
}

.image-container {
  text-align: center;
}

.image-container img {
  max-width: 325px;
  height: auto;
  max-height: 80px;
}

.oauth-button {
  display: flex;
  column-gap: 15px;
  padding-top: 15px;
  padding-bottom: 15px;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 8px;
  background-color: #fff;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0px 4px 15px 0px rgba(0,0,0,0.11);
  -moz-box-shadow: 0px 4px 15px 0px rgba(0,0,0,0.11);
  box-shadow: 0px 4px 15px 0px rgba(0,0,0,0.11);
}

.logo-wrapper {
  margin-bottom: 37px;
}

.logo-wrapper h2 {
  margin-bottom: 10px;
}

.oauth-button i {
  font-size: 20px;
}

.oauth-button.google-btn i  {
  color: #DB4437;
  transition: all 0.3s ease;
}

.oauth-button.google-btn:hover {
  background-color: #DB4437;
  color: #fff;
}

.oauth-button.google-btn:hover i  {
  color: #fff;
}

.divider {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: #0000001a;
  margin-top: 20px;
  margin-bottom: 20px;
}

.divider span {
  position: absolute;
  top: -8px;
  left: 50%;
  color: #787878d9;
  font-size: 16px;
  font-weight: 600;
  background-color: #fff;
  width: 45px;
  text-align: center;
  transform: translate(-50%, 0px);
}

.login-input-container,
.register-input-container {
  display: flex;
  flex-direction: column;
  row-gap: 15px;
}

.input-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  background-color: #ECECEC;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 63px;
}

.input-wrapper:hover {
  border: 1px solid #00ADF5;
}

.input-wrapper input:focus {
  outline: none;
  background-color: transparent !important;
}

.input-wrapper input:-webkit-autofill,
.input-wrapper input:-webkit-autofill:hover, 
.input-wrapper input:-webkit-autofill:focus, 
.input-wrapper input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #ECECEC inset !important;
}

.input-wrapper.error {
  border: 1px solid red;
  color: red;
}

.input-wrapper.error input {
  color: red;
}

.input-wrapper .input-icon {
  margin-right: 10px;
}

.input-wrapper .input-icon i {
  font-size: 20px;
}

.text-wrapper {
  width: 100%;
  position: relative;
}

.text-wrapper .input-title{
  font-size: 13px;
  position: absolute;
  top: 2px;
  left: 5px;
  transition: all .3s ease;
  pointer-events: none;
}

.text-wrapper .input-field {
  border: none;
  outline: none;
  background-color: transparent;
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  margin-top: 7px;
}

.text-wrapper .input-field:focus + .input-title,
.text-wrapper .input-field.full + .input-title,
.text-wrapper .input-field:-webkit-autofill + .input-title,
.text-wrapper .input-field:-webkit-autofill:hover + .input-title,
.text-wrapper .input-field:-webkit-autofill:focus + .input-title,
.text-wrapper .input-field:-webkit-autofill:active + .input-title{
  top: -7px;
  left: 0;
  font-size: 10px;
}

.password-toggle i {
  cursor: pointer;
  color: #000 !important;
}

.remember-forgot {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
  flex-direction: column;
  gap: 10px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 10px;
}

.remember-me input {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #000;
  cursor: pointer;
}

.remember-me label {
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

.forgot-password a {
  font-size: 12px;
  font-weight: 600;
  color: #00ADF5;
  text-decoration: none;
}

.forgot-password a:hover {
  text-decoration: underline;
}

.have-a-account {
  font-size: 12px;
  margin-top: 20px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  text-align: center;
}

.have-a-account a {
  color: #00ADF5;
  text-decoration: none;
}

.have-a-account a:hover {
  text-decoration: underline;
}

.login-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.login-btn-submit {
  padding: 15px 20px;
  border-radius: 8px;
  background-color: #00ADF5;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  width: 100%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-btn-submit.disabled {
  pointer-events: none;
  opacity: 0.8;
  cursor: not-allowed;
}

.login-btn-submit:hover {
  background-color: #fff;
  color: #00ADF5;
  border-color: #00ADF5;
}

.error-message {
  color: red;
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

@media (min-width: 640px) {}
@media (min-width: 768px) {}
@media (min-width: 1024px) {}
@media (min-width: 1280px) {
  .register-card {
    max-width: 650px;
  }

  .register-input-container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
  }

  .name-register {
    flex: auto;
    width: 100%;
  }

  .email-register,
  .repeat-email-register,
  .password-register,
  .repeat-password-register {
    flex: auto;
    width: 48%;
  }
}
@media (min-width: 1536px) {
  .register-card {
    max-width: 455px;
  }
  .register-input-container {
    flex-direction: column;
    gap: 15px;
  }
  .name-register {
    flex: auto;
    width: 100%;
  }

  .email-register,
  .repeat-email-register,
  .password-register,
  .repeat-password-register {
    flex: auto;
    width: 100%;
  }
}

