* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .login-container, .signup-container {
    position: relative;
    z-index: 1;
  }
  
  .login-form {
    background: white;
    padding: 2rem 3rem 2rem 3rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    width: 470px;
    text-align: center;
    padding-bottom: 60px;
  }
  
  .login-form .logo {
    width: auto; 
    height: 100px;
  }
  
  .login-form .error-message {
    color: red;
    font-size: 14px;
    text-align: left;
  }
  
  .login-form h2 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 300;
    color: #333;
  }
  
  .login-form input {
    width: 100%;
    padding: 1.0rem;
    border: 1px solid #000000;
    border-radius: 5px;
    font-size: 14px;
    height: 50px;
  }

  .marbot-5 {
    margin-bottom: 10px;
  }

  .marbot-20 {
    margin-bottom: 5px;
  }
  
  
  .login-form input:focus {
    border: 2px solid #000000;
    outline: none;
  }
  
  .login-form .forgot-link {
    display: block;
    text-align: left;
    margin-bottom: 1rem;
    font-size: 14px;
    color: #337ab7;
    text-decoration: underline;
  }
  
  .login-form button {
    width: 50%;
    padding: 0.8rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .login-form .signup-text {
    margin-top: 8px;
    font-size: 14px;
    font-weight: lighter;
  }
  .login-form .signup-text a {
    font-size: 14px;
    color: #337ab7;
    text-decoration: underline;
  }
  
  /* General alignment for left-aligned form content */
  .login-form h2,
  .login-form input,
  .login-form .forgot-link,
  .login-form .signup-text {
  text-align: left;
  }
  
  /* Adjust button specifically */
  .login-form button {
    width: 63%;
    display: block;
    margin: 1rem 0 0 0; /* top margin and align to the left */
    background-image: none;
    background-color: #296ec6;
    border: none;
    border-radius: .5rem;
    cursor: pointer;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.3333333;
    margin-right: 0;
    margin-left: 0;
    padding: 10px 16px;
    white-space: nowrap;
    color: #fff;
    width: 63%;
    box-shadow: 0 0 30px 0 #dae1f7;
    transition: all 0.3s ease; /* Smooth transition for hover effect */
  }
  
  /* Hover effect */
  .login-form button:hover {
    background-color: #1e5c9e; /* Darker shade on hover */
  }
  
  
  /* Optional: Align input fields consistently */
  .login-form input {
  display: block;
  color: #333;
  }
  
  
  
  @media (max-width: 768px) {
    body, html {
      background: none;
      align-items: flex-start;
      padding: 2rem 1rem;
    }
  
    .login-form, .signup-form {
      border-radius: 0;
      border: none;
    }
  
    .login-container, .signup-container {
      width: 100%;
    }
  }

  /*Sign Up*/

  .signup-container {
    height: 100vh;
    display: flex;
    justify-content: center; /* centers horizontally */
    align-items: center;     /* centers vertically */
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
  }
  

  .signup-form {
    position: relative; /* Needed for absolute positioning inside */
    padding-top: 50px;
    background: white;
    padding: 2rem 3rem 2rem 3rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    width: 470px;
    text-align: center;
    padding-bottom: 60px;
  }

  .signup-form .logo {
    width: auto; 
    height: 100px;
  }

  .sign-form input {
    width: 100%;
    padding: 1.0rem;
    border: 1px solid #000000;
    border-radius: 5px;
    font-size: 14px;
    height: 50px;
  }

  .signup-form .form-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    position: absolute; /* or relative depending on your layout */
    top: 0;
    left: 0;
  }
  
  .signup-form .cancel-link {
    text-decoration: none;
    color: #505050;
    font-size: 16px;
    display: flex;
    align-items: center;
  }

.signup-form .cancel-link:hover {
    color: #333;
}
  
  .cancel-link i {
    margin-right: 5px;
    font-size: 18px;
  }
  
  .signup-form .logo {
    width: auto; 
    height: 100px;
  }

  .signup-form .error-message {
    color: red;
    font-size: 14px;
    text-align: left;
  }
  
  .signup-form h2 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 300;
    color: #333;
  }
  
  .signup-form input {
    width: 100%;
    padding: 1.0rem;
    border: 1px solid #000000;
    border-radius: 5px;
    font-size: 14px;
    height: 50px;
    margin-bottom: 10px;
  }

  .signup-form input:focus {
    border: 2px solid #296ec6;
    outline: none;
  }

  .signup-form button {
    width: 60%;
    padding: 0.8rem;
    background-color: #296ec6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  .signup-form button:hover {
    background-color: #1e5c9e; /* Darker shade on hover */
  }

  .signup-form .alt-login {
    font-size: 14px;
    margin-top: 5px;
  }

   .signup-form h2,
   .signup-form input,
   .signup-form .alt-login {
   text-align: left;
   }

   .checkbox-wrapper {
    display: flex;
    align-items: flex-start;     /* aligns checkbox with top of text */
    gap: 10px;                   /* spacing between checkbox and label */
    justify-content: flex-start;
    margin-top: 10px;
  }
  
  .checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;             /* small nudge to better align visually */
  }
  
  .checkbox-wrapper label {
    font-size: 14px;
    max-width: 400px;            /* optional: control wrapping */
  }
  
  .checkbox-wrapper a {
    color: #007bff;
    text-decoration: underline;
  }

  .alt-login a {
    color: #007bff;
    text-decoration: underline;
  }