/* login.css */

body.centered {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #f0f4f8, #ffffff);
  font-family: 'Segoe UI', sans-serif;
}

.login-container {
  background-color: #fff;
  padding: 3rem 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.logo-img {
  width: 80px;
  margin-bottom: -1rem;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 700;
  color: #93c23e;
  margin-bottom: 0.25rem;
}

.subtext {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: #666;
}

.subtext a {
  color: #93c23e;
  text-decoration: none;
  font-weight: 600;
}

.login-form {
  text-align: left;
}

.login-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.login-form input[type="email"],
.login-form input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.login-form input:focus {
  border-color: #93c23e;
  outline: none;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  gap: 0.5rem;
}

.checkbox-wrapper {
  display: flex;
  align-items: center; /* ensures vertical centering */
}

.checkbox-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  appearance: none;
  border: 2px solid #ccc;
  border-radius: 4px;
  margin-right: 0.5rem;
  vertical-align: middle;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  /* Removed margin-top to fix alignment */
}

.checkbox-wrapper input[type="checkbox"]:checked {
  background-color: #93c23e;
  border-color: #93c23e;
}

.checkbox-wrapper input[type="checkbox"]::after {
  content: "";
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked::after {
  opacity: 1;
}

.checkbox-label {
  display: inline;
  margin-left: 0;
}

.forgot-link {
  margin-left: auto;
  color: #93c23e;
  text-decoration: none;
  font-weight: 500;
}

.checkbox-group a {
  margin-left: auto;
}

.login-button {
  width: 100%;
  padding: 0.75rem;
  background-color: #93c23e;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-button:hover {
  background-color: #7ca633;
}

  
  