* {
    box-sizing: border-box;
  }

  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #74ebd5, #acb6e5);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
  }
  /* Remove default eye icon in Chrome, Safari, Edge */
  input[type="password"]::-ms-reveal,
  input[type="password"]::-ms-clear {
    display: none;
  }

  input[type="password"]::-webkit-credentials-auto-fill-button,
  input[type="password"]::-webkit-clear-button,
  input[type="password"]::-webkit-inner-spin-button {
    display: none;
  }

  input[type="password"] {
    /* Optional: Ensure consistent appearance */
    padding-right: 2.5rem; /* Space for your custom eye icon */
  }

  .login-box {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 400px;
  }

  h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
  }

  label {
    font-size: 14px;
    color: #444;
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
  }

  input[type="text"],
  input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: none;
    border-radius: 12px;
    background-color: #f0f0f0;
    font-size: 15px;
  }

  input:focus {
    background-color: #e0e0e0;
    outline: none;
  }

  button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background-color: #4a90e2;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
  }

  button:hover {
    background-color: #357ab8;
  }

  .forgot-link {
    text-align: center;
    margin-top: 15px;
  }

  .forgot-link a {
    color: #4a90e2;
    text-decoration: none;
  }

  .forgot-link a:hover {
    color: #357ab8;
  }

  @media (max-width: 480px) {
    .login-box {
      padding: 30px 20px;
    }
  }
  .eye-icon {
  display: none; /* Hide by default */
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  padding-bottom: 20px;
  cursor: pointer;
  font-size: 18px;
  color: #555;
  user-select: none;
}
.flash-container {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.flash-messages {
  padding: 10px;
  background-color:#e00b0b ;
  color: #ffffff ;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  list-style-type: none;
  margin: 0;
}

.flash-messages li {
  margin: 5px 0;
}
