:root {
  --bg: #f3f5f5;
  --surface: #ffffff;
  --line: #d7dfdf;
  --text: #101314;
  --muted: #576365;
  --brand: #5cc2bd;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 0%, #dde9e8 0%, #f3f5f5 34%), linear-gradient(180deg, #f6f8f8, #edf1f1);
}

.shell {
  width: min(780px, 94%);
  margin: 1.5rem auto;
}

.back-link {
  color: #1a6d69;
  text-decoration: none;
  font-weight: 600;
}

.auth-card {
  margin-top: 0.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
}

.logo {
  width: clamp(180px, 26vw, 320px);
  height: auto;
}

h1 {
  margin: 0.2rem 0 0;
  font-family: "Manrope", sans-serif;
}

p {
  margin: 0;
  color: var(--muted);
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

input,
button {
  width: 100%;
  font: inherit;
  border-radius: 0.55rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 0.62rem 0.74rem;
}

button {
  cursor: pointer;
  font-weight: 600;
}

button.primary {
  border: none;
  background: linear-gradient(120deg, var(--brand), #7ad5d0);
  color: #032221;
}

button.ghost {
  background: #f5f8f8;
}

.switch-copy a {
  color: #1a6d69;
}

.status {
  margin: 0;
  white-space: pre-wrap;
  color: #9a2434;
  min-height: 1rem;
}

@media (max-width: 700px) {
  .row {
    grid-template-columns: 1fr;
  }
}
