.auth-page {
  background: #f4f8fa;
  min-height: 100vh;
}

.auth-main {
  display: grid;
  justify-items: center;
  padding-block: clamp(24px, 8vw, 72px);
}

.auth-card {
  width: min(100%, 440px);
  padding: clamp(20px, 5vw, 36px);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
}

.auth-card h1 {
  margin: 0 0 20px;
  font-size: clamp(25px, 6vw, 34px);
}

.auth-card form,
.auth-card label {
  display: grid;
  gap: 8px;
}

.auth-card form {
  gap: 16px;
}

.auth-card label {
  font-weight: 700;
}

.auth-card input,
.auth-card select {
  width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}

.auth-card button {
  min-height: 46px;
  border-radius: 10px;
  background: #0d9488;
  color: #fff;
  font: inherit;
  font-weight: 700;
}

.auth-card button:disabled {
  opacity: .6;
}

.auth-error {
  color: #b91c1c;
}

.auth-footer {
  margin: 18px 0 0;
}

.auth-footer a {
  color: #0f766e;
  text-decoration: underline;
}

.auth-login .auth-card {
  border-top: 4px solid #008f83;
  box-shadow: 0 12px 36px #143f3914;
}

.auth-login h1 {
  margin-bottom: 4px;
  letter-spacing: -.04em;
}

.auth-intro {
  margin: 0 0 20px;
  color: #475569;
}

.auth-card button {
  box-shadow: 0 4px 10px #0f766e33;
}

.auth-card .auth-google {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #102037;
  box-shadow: 0 3px 8px #1020371a;
}

.auth-provider-status {
  margin: 6px 0 0;
  color: #475569;
  font-size: 13px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block: 18px;
  color: #475569;
  font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid #dce5e7;
}

.auth-main {
  padding-block: clamp(16px, 4vw, 48px);
}

.auth-card {
  padding: clamp(18px, 4vw, 30px);
  font-size: 14px;
}

.auth-card h1 {
  font-size: clamp(22px, 5vw, 28px);
}

.auth-card form {
  gap: 12px;
}

.auth-card label {
  font-size: 14px;
  font-weight: 600;
}

.auth-card input,
.auth-card select,
.auth-card button {
  min-height: 44px;
}

.auth-card small {
  color: #475569;
}

.auth-password-field {
  position: relative;
  margin-top: -6px;
}

.auth-password-field input {
  padding-inline-end: 66px;
}

.auth-card .auth-password-field button {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  min-width: 58px;
  background: transparent;
  box-shadow: none;
  color: #0f766e;
  font-size: 13px;
}

.auth-card button[type="submit"]:disabled {
  background: #e2e8f0;
  color: #475569;
  box-shadow: none;
  opacity: 1;
}
