@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

html, body {
  height: 100%;
}

body.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  background: #f7fafc;
  margin: 0;
}

.auth-wrapper {
  width: 100%;
  max-width: 400px;
  padding: 16px;
}

.auth-card {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.auth-card h1 {
  text-align: center;
  margin-bottom: 28px;
  color: #2d3748;
  font-weight: 600;
  font-size: 1.5rem;
}

.auth-card .form-group {
  margin-bottom: 18px;
}

.auth-card .form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #4a5568;
  font-size: 0.875rem;
}

.auth-card .form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9375rem;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: #2d3748;
}

.auth-card .form-group input::placeholder {
  color: #a0aec0;
}

.auth-card .form-group input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.auth-card .btn-primary {
  width: 100%;
  padding: 12px 24px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.auth-card .btn-primary:hover {
  background: #0056b3;
}

.auth-card .btn-primary:active {
  background: #004d99;
}

.auth-card .field-error {
  color: #e53e3e;
  font-size: 0.875rem;
  text-align: center;
  margin-bottom: 14px;
}

.auth-link {
  text-align: center;
  margin-top: 20px;
  font-size: 0.875rem;
  color: #718096;
}

.auth-link a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.auth-card label .text-muted {
  color: #a0aec0;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 28px 22px;
  }
}
