@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-image: url("../Resources/SA_login_bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
}

.container {
  width: 30%;
  height: 60vh;
  min-width: 300px;
}

.login-form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  box-shadow: #262424 0px 0px 20px 0px;
  background-color: #262424;
  border-radius: 8px;
  height: 100%;
}

h2 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  color: white;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
  width: 80%;
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: white;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

i {
  position: absolute;
  left: 10px;
  top: 10px;
  font-size: 2.5rem;
  cursor: pointer;
  color: white;
  z-index: 1;
}

button {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  width: 40%;
  min-width: 150px;
  padding: 10px;
  height: 50px;
  background-color: #eac00d;
  color: #262424;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  margin-top: 30px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

button:hover {
  background-color: #d2ad0a;
  transition: all 0.5s;
  transform: scale(1.05);
}

.logo-container {
  position: absolute;
  height: auto;
  width: 25%;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10; /* Ensure it's above the background image */
}

.protech-logo {
  width: 80px;
  height: 80px;
  aspect-ratio: 1/1;
  margin-bottom: 10px;
}

.protech-text {
  font-size: 4rem;
  font-weight: bold;
  color: white; /* Adjust color as needed */
}
.color-shift {
  color: #d7f266;
  font-weight: 700;
}

.forgot_password {
  margin-top: 20px;
}

.forgot_password a {
  color: white;
  font-size: 0.8rem;
  text-decoration: none;
}
.forgot_password a:hover {
  text-decoration: underline;
}
@media screen and (max-width: 992px) {
  .container {
    width: 90%;
    min-height: fit-content;
    height: 60%;
  }

  .login-form {
    height: 100%;
    padding: 20px;
  }

  .logo-container {
    width: 50%;
    top: 30%;
  }
  h2{
    font-size: clamp(1.4rem, 2vw, 1.75rem);
  }

  .protech-text {
    font-size: 3rem;
  }

  button {
    font-size: clamp(1rem, 2vw, 1.4rem);
    width: 40%;
    min-width: 150px;
  }
  label{
    font-size: 0.9rem;
  }
  .form-group input {
    width: 100%;
    min-width: 200px;
  }
}
