/* =====================
   AUTH / LOGIN PAGE
   ===================== */

.auth-body{
  min-height:100vh;
  background:var(--bg);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.auth-wrap{
  width:100%;
  max-width:460px;
}

.auth-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:20px;
  padding:28px 24px 26px;
  box-shadow:var(--shadow);
}

/* --- TYTUŁ --- */
.auth-title{
  margin:0;
  font-size:26px;
  font-weight:800;
  text-align:center;
}

.auth-sub{
  margin:6px 0 22px;
  text-align:center;
  color:var(--muted);
  font-size:14px;
}

/* --- FORM --- */
.auth-form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.field span{
  display:block;
  font-size:13px;
  font-weight:600;
  margin-bottom:6px;
  color:var(--text);
}

/* INPUTY – RAMKA ZAWSZE WIDOCZNA */
.field input{
  width:100%;
  height:48px;
  padding:0 14px;
  border:1.5px solid #d1d5db;
  border-radius:14px;
  background:#fff;
  font-size:15px;
}

/* fokus */
.field input:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(37,99,235,.15);
}

/* --- PRZYCISK --- */
.btn-primary{
  height:52px;
  margin-top:8px;
  border:none;
  border-radius:16px;
  background:var(--accent);
  color:#111111;
  font-size:16px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(37,99,235,.25);
  align-self: center;
  min-width: 200px;
}

/* hover tylko desktop */
@media (hover:hover){
  .btn-primary:hover{
    filter:brightness(1.05);
  }
}

/* --- ALERT --- */
.alert{
  background:#fee2e2;
  border:1px solid #fecaca;
  color:#7f1d1d;
  padding:12px 14px;
  border-radius:14px;
  font-size:14px;
  margin-bottom:16px;
}

/* stopka */
.auth-foot{
  margin-top:18px;
  text-align:center;
  font-size:12px;
  color:var(--muted);
}