/* strefa-auth — strona logowania. Kolory z auth_config.php przez zmienne --accent, --accent-hover, --bg. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg, #0a0e1a);
  color: #D1D5DB;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: -50%;
  background: radial-gradient(ellipse at center top, color-mix(in srgb, var(--accent, #2563eb) 14%, transparent) 0%, transparent 60%);
  z-index: 0;
}
.sa-card {
  position: relative; z-index: 1;
  background: rgba(22, 30, 50, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  width: 100%; max-width: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.sa-card h1 { font-size: 1.5rem; font-weight: 700; color: #fff; text-align: center; margin-bottom: 0.5rem; }
.sa-mark { color: var(--accent, #2563eb); }
.sa-subtitle { text-align: center; font-size: 0.85rem; color: #8B95A5; margin-bottom: 2rem; }
label { display: block; font-size: 0.8rem; font-weight: 500; color: #9CA3AF; margin-bottom: 0.4rem; }
input[type="text"], input[type="password"] {
  width: 100%; padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px; color: #fff;
  font: inherit; font-size: 0.95rem;
  outline: none; transition: border-color 0.2s;
  margin-bottom: 1.25rem;
}
input:focus-visible { border-color: var(--accent, #2563eb); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #2563eb) 30%, transparent); }
button {
  width: 100%; padding: 0.8rem;
  background: var(--accent, #2563eb); color: #fff;
  border: none; border-radius: 10px;
  font: inherit; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s, transform 0.2s;
}
button:hover { background: var(--accent-hover, #3b82f6); transform: translateY(-1px); }
button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sa-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #F87171; border-radius: 8px;
  padding: 0.6rem 1rem; font-size: 0.85rem;
  margin-bottom: 1.25rem; text-align: center;
}
.sa-brand { text-align: center; margin-top: 1.5rem; font-size: 0.75rem; color: #6B7280; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } button:hover { transform: none; } }
