@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Outfit;
}

body {
  height: 90vh;
  max-width: 100vw;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.loginLogo {
  width: 15.5rem;
  height: auto;
}

.login-main-container {
  text-align: center;
}

.login-main-container h2 {
  color: #070a0e;
  margin: 1rem 0;
}

.companyName {
  color: #81171b;
}

.formaline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 400px; /* You can adjust the max width */
}

.login-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.login-form input {
  padding: 10px 8px;
  background: #ffffff;
  border: 1px solid rgb(87, 87, 230);
  border-radius: 10px;
  outline: none;
  color: #1e2329;
  text-align: center;
}

.login-form input::placeholder {
  text-align: center;
}

.login-btn {
  background-color: #81171b;
  color: white;
  border: none;
  outline: none;
  padding: 10px 8px;
}

.error-success {
  position: absolute;
  top: 25px;
  right: -240px;
  color: #fff;
  padding: 10px 9px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 7px;
  border-top-right-radius: 0;
  transition: 1s;
}

.err-display {
  position: absolute;
  top: 25px;
  right: 15px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 10px 9px;
  border-radius: 7px;
  border-top-right-radius: 0;
  transition: 1s;
}

.err-style {
  background: red;
}

.success-style {
  background: green;
}

.signin-signup-div {
  margin-top: 30px;
}

.sign-signup-text {
  color: #1e2329;
  font-size: 14px;
}

.sign-signup-text span {
  color: #81171b;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.sign-signup-text span:hover {
  font-weight: 800;
  text-decoration: underline;
}

.passwordd2 {
  margin-bottom: 20px;
}

.passwordd1 {
  margin-bottom: 0 !important;
}

#username {
  margin-bottom: 15px;
}

.login-form input:focus {
  border: 1px solid hsl(233deg, 100%, 63%);
  box-shadow: 1px hsl(233deg 100% 63% / 25%);
}

.login-btn:hover {
  background-color: #8d171bd3;
}

@media (max-width: 600px) {
  .loginLogo {
    width: 20rem;
  }

  .login-form {
    max-width: 250px;
  }
}
