* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

body {
    background-color: #f9fafb;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .login-container {
    background: linear-gradient(135deg, #fbfaf5, #f1e9b2);
    padding: 35px 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .login-container h2 {
    text-align: center;
    margin-bottom: 24px;
    color: #1e3a8a;
    font-weight: 600;
  }
  .login-container form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

  .login-container input {
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 18px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.3s ease;
  }

  .login-container input:focus {
    outline: none;
    border-color: #D9C62D;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
  }

  .login-container button {
   
    background-color: #D9C62D;
    color: white;
    padding: 8px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
  }

  .login-container button:hover {
    background-color: #a39422;
  }

  .forgot-password {
    text-align: center;
    margin-top: 10px;
  }

  .forgot-password a {
    font-size: 12px;
    color: #1e3a8a;
    text-decoration: none;
  }

  .forgot-password a:hover {
    text-decoration: underline;
  }

  .error-message {
    font-size: 13px;
    color: #b91c1c;
    margin-bottom: 12px;
    text-align: center;
  }
  .login-container label {
align-self: flex-start;
margin-bottom: 6px;
font-size: 14px;
color: #1e3a8a;
font-weight: 500;
margin-top: 6px;
}
.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input {
  padding-right: 40px; /* Ensure space for the eye icon */
}

.password-wrapper i {
  position: absolute;
    top: calc(50% - 8px); /* moves icon 3px upward */
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #6b7280; /* Neutral gray */
}
