/* Full-page centering and background */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: url('/Pictures/ABG.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Form container */
.container {
  width: 400px;
  max-width: 600px;
  padding: 20px;
}

/* Login box with blur */
.login-box {
  background: rgba(18, 92, 0, 0.6); /* translucent green */
  border: 1px solid white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 8px 30px rgba(1, 1, 1, 0.5);
  color: #fff;
  text-align: center;
}

/* Profile icon */
.user-icon {
  width: 100px;
  margin-bottom: 0px;
}

/* Input fields */
.login-box input[type="text"],
.login-box input[type="password"] {
  width: 90%;
  padding: 12px 15px;
  margin: 10px 0;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 1);
  color: black;
  font-size: 16px;
}

.login-box input::placeholder {
  color: gray;
}

 .login-box h2 {
    font-size:2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    margin-top: 1rem;
  }
/* Forgot password link */
.forgot-password {
  display: block;
  text-align: right;
  font-size: 14px;
  color: white;
  margin-bottom: 20px;
  text-decoration: none;
}

.forgot-password:hover {
  text-decoration: underline;
}

.login-btn {
  position: relative;
  overflow: hidden;
  background-color: #4CAF50; /* base color */
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  z-index: 1;
  transition: color 0.4s ease;
}

.login-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(0deg, #2e7d32, #96ffa7); /* diagonal colors */
  z-index: -1;
  transition: transform 0.25s ease;
  transform: translateY(100%);
}


.login-btn:hover::before {
  transform: translateX(0);
}

.login-btn:hover {
  color: white;
}


/* Create account text */
.create-account {
  margin-top: 30px;
  font-size: 16px;
  color: white;
}

.create-account a {
  color: #96ffa7;
  text-decoration: none;
}

.create-account a:hover {
  color: #006411;
  text-decoration: underline;
}

@media (max-width: 768px) {
    body {
        width: 100%;
        height: 100%;
        margin-top: -100px;
    }
  .container {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .login-box {
    padding: 30px 20px;
    border-radius: 15px;
  }

  .user-icon {
    width: 80px;
  }

  .login-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .login-box input[type="text"],
  .login-box input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    box-sizing: border-box;
  }

  .forgot-password {
    font-size: 12px;
    margin-bottom: 15px;
  }

  .login-btn {
    padding: 10px;
    font-size: 15px;
  }

  .create-account {
    font-size: 14px;
    margin-top: 20px;
  }
}

/* Prevent Edge and WebKit from showing default password reveal icon */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-inner-spin-button,
input[type="password"]::-webkit-clear-button {
    display: none !important;
    -webkit-appearance: none;
}



/** 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: url('background-image.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.login-box {
    background: #9fbc95;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 350px; 
}

.user-icon {
    width: 60px;
    margin-bottom: 15px;
}

input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.forgot-password {
    display: block;
    font-size: 14px;
    color: #0b62a4;
    text-decoration: none;
    margin-bottom: 15px;
    padding-bottom: 4px;
}
.forgot-password:hover {
    color: #1b5e20;
}
.login-btn {
    background: #2e7d32;
    color: white;
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 40px;
    font-size: 18px;
    cursor: pointer;
}

.login-btn:hover {
    background: #1b5e20;
}

.create-account {
    margin-top: 15px;
    font-size: 14px;
}

.create-account a {
    color: black;
    font-weight: bold;
    text-decoration: none;
} **/

/* Login button */
/**

.login-btn {
  width: 100%;
  padding: 12px;
  background-color: #4CAF50;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-btn:hover {
  background-color: #45a049;
}
**/
