/* Web-only styles for the public pages. Shared card/title/button/link/muted
   rules live in common.css (loaded first). */

:root {
  --espago-blue: rgb(0, 82, 255);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #1f2937;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 40%);
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

/* Web card extends the shared .container */
.container {
  width: 100%;
  max-width: 720px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

p {
  color: #374151;
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto;
}

ul {
  list-style: none;
}

a, a:visited {
  color: var(--espago-blue);
}

.button {
  transition: transform 260ms cubic-bezier(0.34, 1.4, 0.64, 1),
              box-shadow 260ms ease-out;
}

.button:active {
  transform: scale(0.96);
  box-shadow: inset 0 2px 6px rgba(15, 23, 42, 0.3);
  transition-duration: 70ms;
}

@media (prefers-reduced-motion: reduce) {
  .button, .button:active {
    transform: none;
    transition: none;
  }
}

form {
  margin-top: 24px;
  text-align: left;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #374151;
}

.field input {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  color: #1f2937;
  border: 1px solid rgba(31, 41, 55, 0.15);
  border-radius: 8px;
  background: #ffffff;
}

.field input:focus {
  outline: none;
  border-color: var(--espago-blue);
  box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.12);
}

.errors {
  text-align: left;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.errors ul {
  margin: 0;
  padding-left: 0;
}

footer {
  margin-top: 40px;
}
