html,
body,
#app {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  color: #1c1917;
  background: #fafaf9;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.navbar a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

main {
  padding: 2rem 1.5rem 4rem;
}

.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-sm { max-width: 24rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.pb-4 { padding-bottom: 1rem; }

label, .label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.7rem;
  border: 1px solid #d6d3d1;
  border-radius: 0.4rem;
  font: inherit;
  background: white;
}

.btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.55rem 0.8rem;
  border-radius: 0.4rem;
  border: 1px solid #065f46;
  background: #065f46;
  color: white;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.btn-soft {
  background: white;
  color: #1c1917;
  border-color: #d6d3d1;
}

.divider {
  text-align: center;
  color: #78716c;
  font-size: 0.875rem;
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: 0.4rem;
  background: #ecfdf5;
  font-size: 0.875rem;
}

@media (prefers-color-scheme: dark) {
  body { color: #fafaf9; background: #1c1917; }
  input[type="email"], input[type="password"], input[type="text"] {
    background: #292524;
    color: inherit;
    border-color: #44403c;
  }
  .btn-soft { background: #292524; color: inherit; border-color: #44403c; }
  .alert { background: #064e3b; }
}
