:root {
  --auth-bg: #f1f3f5;
  --auth-card: #ffffff;
  --auth-accent: #007765;
  --auth-text: #1f2328;
  --auth-muted: #6c757d;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background: radial-gradient(circle at top, #ffffff 0%, #f1f3f5 55%, #e7ecef 100%);
  color: var(--auth-text);
}

.auth-card {
  width: min(420px, 100%);
  background: var(--auth-card);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 26, 27, 0.12);
  padding: 28px;
  display: grid;
  gap: 18px;
}

.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.auth-logo {
  height: 40px;
  width: auto;
}

.auth-title {
  font-size: 24px;
  font-weight: 700;
}

.auth-subtitle {
  color: var(--auth-muted);
  font-size: 14px;
}

.auth-error {
  background: #fff4f4;
  color: #b42318;
  border: 1px solid #f8d7d5;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
}

.auth-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--auth-muted);
}

.auth-field input {
  border: 1px solid #d9e0e4;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--auth-text);
  font-family: inherit;
}

.auth-field input:focus {
  outline: 3px solid rgba(0, 119, 101, 0.18);
  border-color: var(--auth-accent);
}

.auth-field-error {
  color: #b42318;
  font-size: 12px;
}

.auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-btn {
  border: none;
  background: var(--auth-accent);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  font-size: 0.95rem;
}

.auth-btn:hover {
  background: #005e52;
}

.auth-link {
  text-align: center;
  font-size: 13px;
  color: var(--auth-muted);
}

.auth-link a {
  color: var(--auth-accent);
  font-weight: 600;
  text-decoration: none;
}

.auth-link a:hover {
  text-decoration: underline;
}
