/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }
  
  body, html {
    height: 100%;
    width: 100%;
    overflow: hidden;
  }
  
  .container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
  }
  
  /* Left Panel */
  .left-panel {
    /* flex: 0 0 33%; Takes up 33% of the screen width */
    background: url('assets/LMS-Banner.png') no-repeat center center;
    background-size: cover;
    transition: all 0.3s;
    min-width: 480px;
    width: 580px;
  }

  /* whole right side */
  .whole-right-side {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .admin-option {
    align-self: flex-end;
    margin-top: 2rem;
    margin-right: 4rem;
  }

  /* Right Panel */
  .right-panel {
    flex: 1; /* Takes up the remaining space */
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .form-container {
    width: 90%;
    max-width: 400px;
  }
  
  .form-title {
    margin-bottom: 30px;
    color: #1C252E;
    font-size: 24px;
  }
  
  .form-group {
    margin-bottom: 20px;
    text-align: left;
    position: relative; /* This is necessary to position the eye icon correctly */
  }

  .labelText {
    margin-left: 5px;
    font-size: 0.9rem;
    color: #637381;
  }
  
  input {
    padding-bottom: 10px;
    font-size: 1rem;
    outline: none;
  }
  
  input:focus {
    border-color: #f96845;
  }
  
  .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  a {
    color: #ef5c59;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  .btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(to right, #EF5C59, #F47358, #FE9D57);
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
    max-width: 420px;
    height: 48px;
    margin-top: 10px;
  }
  
  .btn:hover {
    /* background: linear-gradient(to right, #ff764a, #f96845); */
    background: linear-gradient(to left, #EF5C59, #F47358, #FE9D57);
  }
  
  .signup-text {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 40px;
    color: #8E8FA0;
  }
  
  .signup-text a {
    font-weight: bold;
    color: #f96845;
  }

  .formInputs {
    width: 100%;
    max-width: 400px;
    height: 100%;
    border: none;
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
  }

  .wholeInput {
    border-radius: 10px;
    height: 60px;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid rgba(145, 158, 171, 0.5);
}
  
  /* Media Query for Small Screens */
  @media screen and (max-width: 960px) { 
    .container {
      flex-direction: column; /* Stack the left and right panels vertically */
    }
  
    .left-panel {
      /* flex: 0 0 auto; */
      width: 100%;
      height: 440px;
      min-width: 100%;
    }
  
    .right-panel {
      flex: 1;
      height: auto;
      margin-top: 40px;
    }
  }

  @media screen and (max-width: 465px) {
    .left-panel {
        height: 220px;
    }
    .right-panel {
        align-items: start;
    }
    .admin-option {
      margin-top: 1.5rem;
      margin-right: 1.5rem;
    }
  }

  /* down fow password eye icon */

  .password-toggle-icon {
    position: absolute;
    top: 54%;
    right: 15px; /* Adjust this to ensure it aligns nicely inside the input */
    transform: translateY(-50%);
    cursor: pointer;
}

  .password-toggle-icon i {
    font-size: 18px;
    color: #333;
    transition: color 0.3s ease-in-out;
}

  .password-toggle-icon i:hover {
    color: #000;
}

  input[type="password"] {
    padding-right: 40px; /* Ensure enough space for the eye icon */
}

/* down for form errors */

.error-message {
  color: red;
  font-size: 0.875rem;
  margin-top: 5px;
}

/* form loader */

.hidden {
  display: none;
}

#loader {
  width: 30px;
  height: 30px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #f96845;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 10px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}