@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

  :root {
    --primary-button: #36D902;
    --primary-text: white;
    --primary-background: white;
  }

  *{

    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  p, div, h1 {
    font-family: 'Quicksand', sans-serif;
  }

  .center-items {
    align-items: center;
  }

  .center-text {
    text-align: center;
  }

  .center-justify {
    justify-content: center;
  }

  body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;    /* Remove any default margins */
  }
  
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    margin: auto 0;
  }
  


  .image-container {
    text-align: center;
    margin-bottom: 30px;
  }

  .form-image {
    height: auto;
    width: 100%;
    max-width: 190px;
  }

  form {
    text-align: left;
    font-weight: 600;
    max-width: 400px;
    width: 100%;
    background-color: var(--primary-background);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
  }

  /* Make form groups evenly spaced */
  .form-group {
    margin-bottom: 15px;
    position: relative; /* Ensure relative positioning */
  }

  .form-group input[type="password"] {
    padding-right: 40px; /* Space for the icon */
    height: 40px; /* Ensure consistent height */
    line-height: normal;
  }
  

  .FormTitle {
    padding: 10px;
    font-weight: 700;
    margin-top: -40px;
    margin-bottom: 30px;
    font-size: 35px;
  }

    /* Default submit button style */
    .submitButton {
      background-color: var(--primary-button);
      color: var(--primary-text);
      padding: 10px;
      width: 100%;
      border: none;
      margin-top: 20px;
      border-radius: 50px;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      transition: background-color 0.3s ease, transform 0.2s ease;
    }
    
    /* Button style during active click/touch */
    .submitButton:active, 
    .submitButton.clicked {
      background-color: var(--hover-button, #1DC834);
    }
    
    /* For animation after touch release */
    .submitButton.clicked.releasing {
      transform: scale(1);
      background-color: var(--primary-button);
    }
    @media (hover: hover) and (pointer: fine) {
  .submitButton:hover {
    background-color: var(--hover-button, #1DC834);
  }
}
    
  .position-relative {
    position: relative;
  }
  
  .eye-icon {
    position: absolute;
    top: 0;
    right: 10px;c
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #aaa;
    pointer-events: auto;
  }
  
  
  .eye-icon i {
    margin: 0;
    padding: 0;
    font-size: 18px; /* Adjust size as needed */
    line-height: 1;
    vertical-align: middle;
  }
  
  .eye-icon:hover {
    color: #333;
  }
  /* Pop-out animation */
  @keyframes popOut {
    0% {
      transform: scale(0.5);
      opacity: 0;
    }
    50% {
      transform: scale(1.1);
      opacity: 1;
    }
    100% {
      transform: scale(1);
    }
  }

  .pop-out {
    animation: popOut 0.6s ease-out;
  }

  .text-danger {
    color: red;
    margin-top: 10px;
  }

  /* Responsive Styles */
  @media screen and (max-width: 768px) {
    body {
      padding: 30px 15px; /* Equal padding top and bottom */
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .container {
      width: 100%;
      max-width: 400px;
      padding: 30px 20px; /* Equal padding top and bottom */
      margin: auto 0;
      height: auto !important;
      min-height: auto;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .image-container {
      margin-bottom: 20px;
      padding: 0;
    }

    .form-image {
      max-width: 180px; /* Increased size */
      margin: 0 auto 20px;
      display: block;
    }

    form {
      padding: 30px;
      width: 100%;
      max-width: 100%;
      box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
      margin: 0; /* Remove top margin */
    }

    .FormTitle {
      font-size: 28px;
      margin-top: -20px;
      margin-bottom: 20px;
    }

    .submitButton {
      padding: 12px;
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 0.5px;
    }
  }

  @media screen and (max-width: 480px) {
    body {
      padding: 20px 10px; /* Equal padding top and bottom */
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0;
    }

    .container {
      padding: 25px 15px; /* Equal padding top and bottom */
      height: auto !important;
      margin: auto 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    form {
      padding: 25px;
      margin: 0;
    }

    .form-image {
      max-width: 160px;
      margin: 0 auto 15px;
    }

    .FormTitle {
      font-size: 24px;
      margin-bottom: 15px;
    }

    .submitButton {
      padding: 12px;
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0.5px;
    }
  }

  .login-wrapper {
    display: flex;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
  }

  .welcome-section {
    flex: 1;
    background: #f8f9fa;
    padding: 40px;
  }

  .welcome-section h2 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 20px;
  }

  .welcome-section .lead {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 30px;
  }

  .features ul {
    list-style: none;
    padding: 0;
  }

  .features li {
    margin: 15px 0;
    font-size: 1.1rem;
    color: #555;
  }

  .form-section {
    flex: 1;
    padding: 40px;
  }

  .input-wrapper {
    position: relative;
    width: 100%;
  }

  .input-wrapper input[type="password"],
  .input-wrapper input[type="text"] {
    padding-right: 40px; /* Space for the icon */
    height: 40px; /* Ensure consistent height */
    line-height: normal;
  }

  .eye-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #aaa;
    pointer-events: auto;
  }

  .eye-icon i {
    font-size: 18px; /* Adjust size as needed */
    line-height: 1;
    vertical-align: middle;
  }