.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  padding: 2rem;
}

.login-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  width: 100%;
  max-width: 400px;
}

.login-card h2 {
  margin: 0 0 1.5rem 0;
  color: var(--color-text);
  text-align: center;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-focus);
}

.form-group input:disabled {
  background: var(--color-muted-bg);
  cursor: not-allowed;
}

.login-button {
  width: 100%;
  padding: 0.75rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.login-button:hover:not(:disabled) {
  background: var(--color-primary-dark);
}

.login-button:disabled {
  background: var(--color-border);
  cursor: not-allowed;
}

.login-error {
  padding: 0.75rem;
  background: #ffebee;
  border: 1px solid #ffcdd2;
  border-radius: var(--radius-sm);
  color: var(--color-danger);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.form-footer {
  margin-top: 1rem;
  text-align: center;
}

.forgot-password-link {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.forgot-password-link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}
