/* 1. Page Centering (Using Flexbox on the body/container) */
.login-container {
  /* Use flexbox to center the form card horizontally and vertically */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100%;
}


/* 2. Login Card Styling */
.login-card {
  /* The card container */
  width: 100%;
  max-width: 400px; /* Max width for a clean look on large screens */
  padding: 40px;
  background-color: #ffffff; /* White background for the card */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  border-radius: 8px;
}

.login-card h1 {
  text-align: center;
}

/* 3. Form Layout (Using Flexbox for vertical stacking) */
.login-form {
  /* Make the form a flex container */
  display: flex;
  flex-direction: column; /* Stack children vertically */
  gap: 20px; /* Space between the form elements */
}

/* 4. Input Field Group Styling */
.form-field-group {
  display: flex;
  flex-direction: column; /* Stack label and input vertically */
  gap: 5px; /* Small space between label and input */
}

.form-title {
  text-align: center;
  margin-bottom: 25px;
  color: #333;
  font-weight: 600;
}

/* 5. Input and Button Base Styles */
.form-field-group label {
  font-weight: 500;
  color: #555;
  font-size: 0.9rem;
}

.form-field-group input {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-field-group input:focus {
  border-color: #007bff; /* Highlight focus with a primary color */
  outline: none;
}

.sign-in-button {
  padding: 12px;
  border: none;
  border-radius: 4px;
  background-color: #007bff; /* Primary action color */
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.sign-in-button:hover {
  background-color: #0056b3;
}

/* 6. Footer Layout for the "Reset Password" Link */
.form-footer {
  /* Use flexbox to align the link */
  display: flex;
  justify-content: flex-end; /* Push the link to the right */
  margin-top: -10px; /* Pull it slightly closer to the button */
}

.reset-link {
  color: #007bff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.reset-link:hover {
  text-decoration: underline;
  color: #0056b3;
}
