/* Podstawy */
:root {
  --brand: #690072;
  --text: #111827;
  --muted: #6b7280;
  --bg: #ffffff;
  --ring: rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  min-height: 100vh;       /* pełna wysokość */
  display: flex;           /* kolumna */
  flex-direction: column;  /* treść + stopka */
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* Layout logowania */
.auth {
  flex: 1;                 /* wypełnij dostępną wysokość, stopka spada na dół */
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth__card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 32px 28px;
}

.auth__brand { text-align: center; margin-bottom: 20px; }
.auth__logo {
  height: 100px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  margin-bottom: 14px;
}
.auth__title {
  margin: 0;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .5px;
  color: var(--brand);
  text-transform: uppercase;
}

/* Formularz */
.auth__form .field { margin: 14px 0; }
.field label {
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--brand);     /* wyraźna, fioletowa ramka */
  border-radius: 10px;
  outline: none;
  font-size: 15px;
  transition: box-shadow .15s, border-color .15s;
}
.field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(105,0,114,0.15);
}

.btn {
  display: inline-block;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { filter: brightness(0.96); }
.btn--primary:active { transform: translateY(1px); }

.auth__aux { margin: 12px 0 0; text-align: center; font-size: 13px; }
.link--muted { color: var(--muted); text-decoration: none; cursor: default; }

/* Stopka */
.footer {
  margin-top: auto;
  background: var(--brand);
  color: #fff;             /* biały tekst na fiolecie */
}
.footer__inner {
  text-align: center;
  padding: 16px 12px;
  font-size: 14px;
}
