.login-form-section {
  margin: 2rem auto;
  max-width: 600px; /* increase max-width */
  width: 400px; /* set fixed width */
  background: var(--bg-color);
  color: var(--secondary-text-color);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Login form styles */
.login-form {
  display: flex;
  flex-direction: column;
}

/* Input styles */
.login-input {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid var(--secondary-bg-color);
  border-radius: 5px;
  background: var(--input-bg-color);
  color: var(--text-color);
}
.login-input:focus {
  background: var(--secondary-text-color);
  color: var(--text-color);
}

.login-input.error {
  border-color: var(--error-color);
}

/* Button styles */
.login-submit-btn {
  width: 100%;
  background: var(--primary-color);
  color: var(--text-color);
  border: none;
  padding: 0.75rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.login-submit-btn:hover {
  background: var(--gradient-end);
}

/* Link styles */
.login-link-group {
  text-align: right !important; /* Aligns content inside the label */
}

/* Link styles */
.login-link-group .login-forgot-link {
  color: var(--secondary-color);
  text-decoration: none;
}

.login-link-group .login-forgot-link:hover {
  text-decoration: underline;
}

/* Registration section */
.login-registration {
  text-align: center;
  margin-top: 1rem;
}

.login-registration .login-register-link {
  color: var(--secondary-color);
  text-decoration: none;
}

.login-registration .login-register-link:hover {
  text-decoration: underline;
}
