:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #18212f;
  background: #f4f7fb;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(100%, 420px);
  padding: 32px;
  border: 1px solid #d6dee9;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgb(24 33 47 / 10%);
}

.eyebrow {
  margin: 0 0 10px;
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-size: 2rem;
  line-height: 1.15;
}

.muted,
.message {
  margin: 0;
  color: #596579;
  line-height: 1.7;
}

.form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #18212f;
  font: inherit;
  font-weight: 400;
}

input:focus {
  border-color: #0f766e;
  outline: 3px solid rgb(15 118 110 / 18%);
}

button {
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  background: #0f766e;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.secondary {
  width: 100%;
  margin-top: 24px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
}

.message[data-type="error"] {
  color: #b42318;
}

.message[data-type="info"] {
  color: #0f766e;
}
