/* login.css */

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Page Background */
body {
  background-color: #111;  /* Dark background consistent with header & footer */
  color: #fff;
  font-family: 'Open Sans', sans-serif;
}

/* Wrapper to center the login card */
.login-wrapper {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: #111; /* Matches overall dark theme */
}

/* Login Card Styling */
.login-card {
  background: #1a1a1a;  /* Slightly lighter dark for contrast */
  width: 100%;
  max-width: 500px;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  text-align: center;
}

/* Login Title */
.login-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  color: #00A650;  /* Brand accent */
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

/* Error Message */
.error-message {
  color: #ff4d4d;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 1rem;
  text-align: center;
}

/* Form Styling */
.login-card form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

/* Form Groups */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.75rem;
  text-align: left;
}

.form-group label {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 0.5rem;
}

.form-group input {
  padding: 0.65rem;
  font-size: 1rem;
  border: 1px solid #333;
  border-radius: 4px;
  background-color: #222;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
}

/* Submit Button */
.submit-btn {
  background-color: #00A650;
  color: #fff;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  transition: background 0.3s ease;
  width: 100%;
  margin-top: 1rem;
}
.submit-btn:hover {
  background-color: #00B85C;
}

/* Signup Redirect */
.signup-redirect {
  margin-top: 1.5rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: #aaa;
}
.signup-redirect a {
  color: #00A650;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}
.signup-redirect a:hover {
  color: #00B85C;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .login-card {
    padding: 1.5rem;
  }
  .login-title {
    font-size: 2rem;
  }
  .form-group input {
    font-size: 0.95rem;
  }
  .submit-btn {
    font-size: 0.95rem;
  }
}
