.login {
  background: #ffffff;
  min-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 8%;
}

.login-box {
  display: flex;
  width: 100%;
  max-width: 1100px;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.login-form {
  width: 45%;
}

.tabs {
  display: flex;
  gap: 25px;
  margin-bottom: 35px;
}

.tabs h2 {
  font-size: 22px;
  cursor: pointer;
  font-weight: 600;
}

.tabs .active {
  color: #154f77;
}
.tabs .inactive {
  color: #bbb;
}

.input-group {
  background: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 30px;
  display: flex;
  align-items: center;
  padding: 12px 18px;
  margin-bottom: 18px;
}

.input-group img {
  width: 18px;
  opacity: 0.7;
  margin-right: 10px;
}

.input-group input {
  border: none;
  outline: none;
  width: 100%;
}

.forgot {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 14px;
  color: #154f77;
}

.btn-green {
  width: 100%;
  background: #154f77;
  border: none;
  padding: 12px;
  color: #fff;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}
.btn-green:hover {
  background: #154f77;
}

.login-image {
  width: 45%;
  display: flex;
  justify-content: center;
}

.login-image img {
  width: 100%;
  max-width: 450px;
}

.form { display: none; }
.form.active { display: block; }

.tabs h2 {
  transition: 0.3s;
}

.tabs .active {
  color: #154f77;
  border-bottom: 2px solid #154f77;
  padding-bottom: 4px;
}

.tabs .inactive {
  color: #bbb;
}

.login-image img {
  max-width: 300px; 
  width: 80%;
}

@media (max-width: 900px) {

  .login {
    padding: 20px;
  }

  .login-box {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .login-form {
    width: 100%;
  }

  .login-image {
    display: none;
  }
}

@media (max-width: 500px) {

  .tabs {
    justify-content: center;
  }

  .input-group {
    padding: 10px 14px;
  }

  .btn-green {
    padding: 14px;
    font-size: 16px;
  }
}
