:root {
  --auth-blue: #4285f5;
  --auth-text: #394665;
  --auth-muted: #64748b;
  --auth-border: #d0d7de;
  --auth-danger: #b42318;
  --auth-ok: #166534;
}

.auth-page {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(66, 133, 245, 0.18), transparent 42%),
    radial-gradient(circle at bottom right, rgba(15, 61, 122, 0.12), transparent 36%),
    #f3f6fb;
  color: var(--auth-text);
  font-family: Arial, Helvetica, sans-serif;
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.auth-card {
  width: min(420px, 100%);
  background: #ffffff;
  border: 1px solid rgba(208, 215, 222, 0.9);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(31, 45, 61, 0.16);
  padding: 28px 28px 24px;
}

.auth-logo-wrap {
  display: flex;
  justify-content: center;
  min-height: 48px;
  margin-bottom: 16px;
}

.auth-logo {
  max-width: 225px;
  max-height: 48px;
  object-fit: contain;
}

.auth-title {
  margin: 0 0 8px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}

.auth-subtitle {
  margin: 0 0 20px;
  text-align: center;
  color: var(--auth-muted);
  font-size: 14px;
  line-height: 1.5;
}

.auth-form {
  display: grid;
  gap: 8px;
}

.auth-label {
  font-size: 14px;
  font-weight: 700;
}

.auth-field {
  width: 100%;
  height: 42px;
  margin-bottom: 6px;
  padding: 0 10px;
  border: 1px solid var(--auth-border);
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 14px;
}

.auth-field:focus {
  border-color: var(--auth-blue);
  outline: 3px solid rgba(66, 133, 245, 0.18);
}

.auth-button {
  height: 42px;
  margin-top: 4px;
  border: 0;
  border-radius: 5px;
  background: var(--auth-blue);
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}

.auth-button:hover {
  filter: brightness(0.96);
}

.auth-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.auth-status {
  min-height: 18px;
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--auth-danger);
}

.auth-status.is-success {
  color: var(--auth-ok);
}

.auth-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--auth-muted);
}

.auth-footer a {
  color: var(--auth-blue);
  font-weight: 600;
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}
