:root {
  --navy: #001850;
  --orange: #F85810;
  --orange-hover: #e04e0e;
  --text: #1a1a2e;
  --muted: #5a6278;
  --border: #e2e5ed;
  --surface: #EBEEF3;
  --danger: #c0262d;
  --radius: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Satoshi', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

.shell {
  max-width: 420px;
  margin: 0 auto;
  padding: 48px 16px;
}

.logo {
  display: block;
  height: 32px;
  margin: 0 auto 32px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

h1 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
}

.muted { color: var(--muted); line-height: 1.5; margin: 0 0 20px; }
.small { font-size: 14px; margin: 0; }
.muted strong { color: var(--text); word-break: break-all; }

label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font: inherit;
  font-size: 16px; /* 16px = iOS nie zoomuje przy wpisywaniu */
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 16px;
}

input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 24, 80, 0.12);
}

button, .button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: var(--orange);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 150ms ease;
}

button:hover, .button:hover { background: var(--orange-hover); }
button:disabled { opacity: 0.6; cursor: default; }

button.secondary {
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--border);
}

button.secondary:hover { background: var(--surface); }

.error {
  color: var(--danger);
  font-size: 14px;
  margin: -8px 0 16px;
}

a { color: var(--navy); }

.loading { text-align: center; color: var(--muted); }
