@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@600&family=Roboto:wght@300&display=swap");
/**** new colors that are implemented on dashboard *****\ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #FFF;
}

h1,
h2,
h3,
p {
  margin: 0;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100vh;
}

.login-img-container {
  background-image: url("../images/background.1a3a40035c2d.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.6);
  background-blend-mode: multiply;
  --webkit-background-blend-mode: multiply;
  --moz-background-blend-mode: multiply;
}

.login-page-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100vh;
  overflow-y: hidden;
}

/* Styling for the textual content on the left side */
.welcome-text {
  color: white;
  text-align: left;
}

.welcome-text a:link {
  color: white;
}

.welcome-text h1 {
  font-size: 5rem;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.5rem;
  font-family: "Rajdhani", sans-serif;
}

.welcome-text h2 {
  margin-bottom: 20px;
  font-family: "Rajdhani", sans-serif;
}

.welcome-text p {
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5rem;
  font-family: "Roboto", sans-serif;
}

.form {
  padding: 2.5rem;
  text-align: left;
  background: #f3f3f9;
  border-radius: 15px;
}

.form input {
  font-family: "Roboto", sans-serif;
  outline: 0;
  width: 100%;
  margin: 10px 0 20px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 14px;
  border-radius: .5rem;
  border: 1px solid #9c9fb7;
}

.form button {
  padding: .75em 1.5em;
  font-size: .875rem;
  color: #FFF;
  font-weight: 600;
  text-decoration: none;
  display: block;
  border: 2px solid transparent;
  border-radius: 100vmax;
  background: linear-gradient(90deg, #575a9c 0%, #783f92 100%);
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  width: 100%;
}

.form .message {
  text-align: right;
  font-weight: bold;
  margin: -6px 0 20px;
  color: #706b6b;
  font-size: 12px;
}

.form .message a {
  color: #4CAF50;
  text-decoration: none;
}

.alert-success {
  color: green;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 0 auto;
}

.alert-error {
  color: red;
}

.form-label {
  font-weight: 600;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.login-header {
  display: flex;
  justify-content: center;
  padding: 10px;
}

.login-header img {
  max-width: 30%;
}

.forgot-password-link {
  text-decoration: unset;
}

.reach-out-mobile {
  display: none;
}

/* Styling for forget-password page  */
.forget-password {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Media query for tablets and smaller devices */
@media (max-width: 768px) and (min-width: 425px) {
  .login-page-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
  }
  .welcome-text {
    margin-top: 3rem;
  }
  .welcome-text h1 {
    font-size: 3rem;
  }
  .welcome-text h2 {
    font-size: 1.8rem;
    margin: 0;
  }
  .login-page {
    margin: 0;
  }
  .reach-out-desktop {
    display: none;
  }
  .form {
    margin: 1rem;
    max-width: 500px;
  }
  .reach-out-mobile {
    display: block;
    color: white;
    margin: 36px 0 100px;
    text-align: left;
    padding-left: 14px;
  }
  .reach-out-mobile a:link {
    color: white;
  }
  .login-header img {
    max-width: 25%;
  }
}

@media (max-width: 425px) {
  .login-page-container {
    flex-direction: column;
    align-items: center;
  }
  .welcome-text {
    margin-top: 3rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .welcome-text h1 {
    font-size: 2rem;
    line-height: 1rem;
  }
  .welcome-text h2 {
    font-size: 1rem;
    line-height: 1rem;
    margin-bottom: 2px;
    text-align: center;
  }
  .welcome-text p {
    font-size: 1rem;
  }
  .login-page {
    padding: 8px;
    margin: 0;
  }
  .login-header img {
    max-width: 30%;
    margin-top: 20px;
  }
  .form {
    padding: 16px;
    margin: 0;
    font-size: small;
  }
  .reach-out-desktop {
    display: none;
  }
  .reach-out-mobile {
    font-size: small;
    display: block;
    color: white;
    margin: 36px 0 180px;
    text-align: center;
  }
  .reach-out-mobile a:link {
    color: white;
  }
}

@media (min-width: 1445px) {
  .welcome-text h1 {
    font-size: 6rem;
    line-height: 1.2;
  }
  .welcome-text h2 {
    font-size: 3em;
    margin-bottom: 30px;
  }
  .welcome-text p {
    font-size: 1.5em;
    line-height: 1.2;
  }
  .form {
    max-width: 600px;
    font-size: 1.1rem;
  }
  .form input {
    font-size: 16px;
  }
  .form button {
    font-size: 1rem;
    padding: 1em 2em;
  }
  .login-header img {
    max-width: 35%;
  }
  .reach-out-desktop {
    font-size: 1.2em;
  }
  .login-page-container {
    margin: 0 8rem;
    gap: 9rem;
  }
}

@media (max-width: 1440px) and (min-width: 1025px) {
  .welcome-text h1 {
    font-size: 5rem;
  }
  .welcome-text h2 {
    font-size: 2.2em;
  }
  .welcome-text p {
    font-size: 1.2em;
  }
  .form input {
    font-size: 14px;
  }
  .form button {
    font-size: .875rem;
    padding: .75em 1.5em;
  }
  .login-header img {
    max-width: 30%;
  }
  .reach-out-desktop {
    font-size: 1.2em;
  }
  .login-page-container {
    margin: 0 4rem;
    gap: 11rem;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .form {
    padding: 2rem;
  }
  .form input {
    padding: .75rem;
  }
  .login {
    margin-bottom: 0;
  }
  .login-page-container {
    margin: 0 4rem;
    gap: 6rem;
  }
}
