:root {
  --ink: #231f20;
  --muted: #5b6470;
  --line: #e3e7ec;
  --brand-green: #00a69d;
  --brand-blue: #005aa2;
  --danger: #c2410c;
  --bg: #f4f7f9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Quicksand", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(0, 166, 157, 0.14), transparent 60%),
    radial-gradient(900px 500px at 110% 110%, rgba(0, 90, 162, 0.14), transparent 60%),
    var(--bg);
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  gap: 24px;
}

.card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 12px 40px rgba(35, 31, 32, 0.08);
  border-top: 4px solid var(--accent);
}

.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.brand__mark { height: 40px; width: auto; }
.brand__product { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.1; }
.brand__tenant { margin: 2px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; }

h1 { font-size: 18px; margin: 0 0 6px; }
p.lead { margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.5; }

label { display: block; font-size: 13px; font-weight: 700; margin: 14px 0 6px; }

input[type="email"], input[type="password"] {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
}

input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 22px;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.button:hover { filter: brightness(1.05); }
.button--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); margin-top: 10px; }

.alert {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff4ed;
  color: var(--danger);
  font-size: 14px;
  font-weight: 600;
}

.field-error { display: block; color: var(--danger); font-size: 13px; margin-top: 4px; }

.footer img { height: 22px; opacity: 0.7; }
