* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  width: 100%;
  height: 100vh;
  background-image: url("/assets/login-bg.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container {
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-logo {
  width: 100px;
  margin-bottom: 0.5rem;
}

.login-header h1 {
  font-size: 1.2rem;
  color: #00d492;
  margin-bottom: 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.login-header p {
  color: #ffffffd9;
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.login-form .form-group {
  margin-bottom: 1.5rem;
}

.login-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #ffffffe6;
  font-weight: 500;
}

.login-form input {
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  border: 1px solid #006a4e;
  border-radius: 6px;
  font-size: 1rem;
  color: #ffffff;
  transition:
    border 0.3s,
    background 0.3s;
}

.login-form input:focus {
  border-color: #00d492;
  outline: none;
}

.login-form input::placeholder {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* Password field wrapper (was inline style="position: relative;") */
.password-field-group {
  position: relative;
}

/* Password input needs extra right padding to make room for the eye icon
   (was inline style="padding-right: 30px;") */
.password-field-group input {
  padding-right: 30px;
}

/* Eye icon toggle button (was inline style="position: absolute; top: 38px; right: 10px; cursor: pointer;") */
.toggle-password-icon {
  position: absolute;
  top: 40px;
  right: 10px;
  cursor: pointer;
  color: #006a4e;
}

.toggle-password-icon:hover {
  color: #00d492;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

.form-options label {
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
}

.form-options input[type="checkbox"] {
  margin-right: 0.5rem;
  accent-color: #006a4e;
}

.btn-forgot-password {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #ffffff;
  font-weight: 500;
}

.btn-forgot-password:hover {
  color: #00d492;
}

.btn-login {
  width: 100%;
  padding: 0.75rem;
  border: none;
  background-color: #006a4e;
  color: #ffffff;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-login:hover {
  background-color: #005a42;
}

/* Fixed footer credit line (was inline style="position: fixed; bottom: 16px; width: 100%; text-align: center; font-size: 13px;") */
.login-footer {
  position: fixed;
  bottom: 16px;
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: white;
}

.login-footer-link {
  color: #006a4e;
  text-decoration: none;
}

.login-footer-link:hover {
  color: #00d492;
}

@media (max-width: 480px) {
  .login-header h1 {
    font-size: 1.2rem;
  }

  .login-header p {
    font-size: 0.8rem;
  }
}
