/* Apply gradient background to body */
/* Apply gradient background to body */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Inter';
}
html {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
  /* Set minimum height to occupy full viewport height */
  display: flex;
  flex-direction: column; /* Stack children vertically */
  background-image: linear-gradient(
    118.68deg,
    rgba(250, 111, 64, 0.1) -23.45%,
    rgba(211, 201, 233, 0.2) 25.94%,
    rgba(248, 248, 249, 0.4) 75.33%
  );
  justify-content: space-between;
  min-height: 100vh;
}

.navbar {
  display: flex;
  align-items: baseline;
  padding: 0.5rem 2rem;
  border: 1px solid #d3c9e9;
  overflow: hidden;
  color: #943535;
  width: 100%;
}

.navbar .left {
  display: flex; /* Add flex display to the left div */
  align-items: center; /* Align items vertically */
}

.logo {
  display: flex !important;
  align-items: baseline;
  text-decoration: none;
  gap: 0.25rem;
}
.logo img {
  width: 32px;
}
.logo-text {
  color: #583b91;
  font-weight: 700;
  font-size: 14px;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center; /* Center items horizontally */
  text-align: center;
  width: 100%;
  flex: 1;
  padding: 1rem 2rem;
  gap: 4rem;
}
/* Title paragraph */

/* .container .title img {
  width: 150px;
} */
.container .forms-container {
  width: 60%;
  max-width: 780px;
  border-radius: 15px;
  background-color: white;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.title p {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1c1c1c;
}

/* Other paragraphs */

footer {
  /* Set the width to 95% */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  width: 100%;
}
footer a {
  color: #0266d6;
  font-weight: 100;
}

.left {
  display: flex;
  align-items: center;
}

.left p {
  opacity: 35%;
  margin-right: 20px; /* Add margin between elements */
}

.right {
  display: flex;
  align-items: center;
}

.right a {
  margin-left: 20px; /* Adjust spacing between links */
}

.logintitle {
  font-family: 'Nunito', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 30px;
  line-height: 49px;
  text-align: center;
  background: linear-gradient(180deg, #583b91 0%, #fa6f40 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 320px;
}
.login-form .input-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0.5rem;
}

.login-form label {
  margin-left: 0.2rem;
  color: #666666;
  display: none;
}

.login-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  color: #242424e0;
}

.submit-btn {
  width: 100%;
  max-width: 320px;
  padding: 1rem 2rem;
  border-radius: 8px;
  align-self: center;
  border: none;
  margin-top: 1rem;
  background-color: #fa6f40;
  font-size: 1rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.login-form .submit-btn:hover {
  background-color: #dd5021;
}

.google-sign-in-btn {
  background-color: transparent; /* Remove default button background */
  border: none; /* Remove border */
  cursor: pointer; /* Change cursor to pointer */
  display: flex;
  gap: 0.85rem;
  align-items: center;
  color: #1c1c1c;
  font-family: 'Nunito', sans-serif;
  border: 1px solid #afaeaeab;
  border-radius: 15px;
  padding: 0.35rem 1.25rem;
  font-size: 1rem;
}

.dvider {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 450px;
}
.dvider .hr {
  width: 30%;
  border-bottom: 1px solid #0000001a;
  width: 40%;
}
.dvider p {
  color: #00000066;
}

.error-message {
  color: #ff3860;
  padding: 0.5rem 0;
}

.signup-prompt {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  width: 20rem;
  font-size: 16px;
  align-self: center;
  color: #00000066;
}

.register-link {
  color: #000000;
  text-decoration: underline;
}

.register-link:hover {
  text-decoration: underline;
}

.forgot-link {
  color: #593286;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Nunito';
  text-decoration: none;
  text-align: right;
  margin-top: -1rem;
}

.back-link {
  display: block;
  text-align: center;
  margin-top: 1rem;
  color: #007bff;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* Custom Google Sign-in button */
#customBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: #444;
  width: 190px;
  border: thin solid #888;
  box-shadow: 1px 1px 1px grey;
  white-space: nowrap;
  border-radius: 5px;
  cursor: pointer;
}

#customBtn:hover {
  box-shadow: 1px 1px 1px #333;
}

.icon {
  background: url('/path/to/google-icons.png') transparent 5px 50% no-repeat;
  display: inline-block;
  vertical-align: middle;
  width: 42px;
  height: 42px;
}

.password-group {
  display: flex;
  flex-direction: row;
}

.toggle-password {
  font-family: 'Poppins';
  font-size: 16px;
  background: none;
  border: none;
  color: #666666; /* Use a color that matches your design */
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
  width: 100%;
  /* Adjust spacing as necessary */
}

/* Media Queries for Mobile View */
@media only screen and (max-width: 992px) {
  .container {
    flex-direction: column;
  }
  .title {
    min-width: 100%;
  }
  .title img {
    display: none;
  }
  .forms-container {
    min-width: 100%;
  }
}
@media only screen and (max-width: 600px) {
  .container {
    padding: 3rem 0.3rem;
  }

  .navbar {
    width: 100%;
  }

  .login-form input {
    width: 100%;
  }
  .input-group {
    width: 100%;
  }
  .signup-prompt {
    max-width: 100%;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .left,
  .right {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .right a {
    margin-left: 0;
  }
}
