:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f7fb;
  color: #172033;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

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

.auth-card {
  width: min(100%, 420px);
  background: #ffffff;
  border: 1px solid #d8e0ec;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(37, 55, 88, 0.12);
}

h1 {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.2;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

input {
  width: 100%;
  border: 1px solid #c8d2df;
  border-radius: 6px;
  padding: 12px;
  font: inherit;
}

input:focus {
  border-color: #1167d8;
  outline: 3px solid rgba(17, 103, 216, 0.14);
}

button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: #1167d8;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.switch,
.muted {
  color: #526178;
  line-height: 1.5;
}

.switch {
  margin: 18px 0 0;
}

.error {
  margin: 0 0 16px;
  padding: 12px;
  border-radius: 6px;
  background: #fff1f0;
  color: #b42318;
}
