:root{
  --bg1:#070b1d;
  --bg2:#081a3a;
  --card: rgba(255,255,255,.09);
  --card2: rgba(255,255,255,.06);
  --stroke: rgba(255,255,255,.14);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --blue:#3aa0ff;
  --blue2:#1b63ff;
  --good:#4cffb3;
  --bad:#ff5a7a;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(58,160,255,.25), transparent 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(27,99,255,.25), transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  overflow-x:hidden;
}

.bg-orb{
  position:fixed;
  width:520px;height:520px;border-radius:50%;
  filter: blur(40px);
  opacity:.45; z-index:-1;
  animation: float 10s ease-in-out infinite;
}
.orb1{ left:-140px; top:140px; background: radial-gradient(circle at 30% 30%, rgba(58,160,255,.7), transparent 60%); }
.orb2{ right:-160px; top:40px; background: radial-gradient(circle at 30% 30%, rgba(27,99,255,.65), transparent 60%); animation-duration: 12s; }
@keyframes float{0%,100%{transform:translateY(0) translateX(0)}50%{transform:translateY(-18px) translateX(10px)}}

.topbar{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(14px);
  background: rgba(6,10,28,.55);
  border-bottom:1px solid var(--stroke);
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px;
}

.brand{display:flex; gap:12px; align-items:center}
.logo{
  width:42px; height:42px; border-radius:14px;
  background: linear-gradient(135deg, rgba(58,160,255,.95), rgba(27,99,255,.95));
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
  box-shadow:0 10px 30px rgba(27,99,255,.35);
  animation: pop .9s ease both;
}
@keyframes pop{from{transform:scale(.92);opacity:.3}to{transform:scale(1);opacity:1}}
.brand-name{font-weight:900; letter-spacing:.3px}
.brand-sub{font-size:12px; color:var(--muted); margin-top:2px}

.nav{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.nav a{
  color:var(--text); text-decoration:none;
  padding:10px 12px; border-radius:14px;
  transition: transform .15s ease, background .15s ease;
}
.nav a:hover{ background: rgba(255,255,255,.06); transform: translateY(-1px); }

.container{max-width:980px; margin:22px auto; padding:0 16px;}
.grid{display:grid; gap:14px;}
.grid.two{grid-template-columns:repeat(2, minmax(0,1fr));}
@media (max-width:900px){ .grid.two{grid-template-columns:1fr;} }

.card{
  background: linear-gradient(180deg, var(--card), var(--card2));
  border:1px solid var(--stroke);
  border-radius:18px;
  padding:16px;
  box-shadow:0 10px 40px rgba(0,0,0,.25);
  position:relative;
  overflow:hidden;
}
.card::after{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(400px 200px at 10% 0%, rgba(58,160,255,.22), transparent 60%);
  pointer-events:none;
  opacity:.6;
}
.card>*{position:relative}

.h1{font-size:28px; margin:0 0 10px}
.h2{font-size:18px; margin:0 0 10px}
.muted{color:var(--muted)}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.05);
  font-size:13px;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(58,160,255,.9), rgba(27,99,255,.9));
  color:white; cursor:pointer; text-decoration:none;
  transition: transform .15s ease, filter .15s ease;
  user-select:none;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.07); }
.btn.ghost{ background: rgba(255,255,255,.05); }
.btn.danger{ background: linear-gradient(135deg, rgba(255,90,122,.9), rgba(255,90,122,.65)); }

form .row{display:grid; grid-template-columns:1fr 1fr; gap:12px;}
@media (max-width:720px){ form .row{grid-template-columns:1fr;} }

label{display:block; margin-top:12px; font-weight:800;}
input, select{
  width:100%;
  margin-top:8px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color:var(--text);
  outline:none;
}
input:focus, select:focus{
  border-color: rgba(58,160,255,.7);
  box-shadow:0 0 0 4px rgba(58,160,255,.15);
}

.alert{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.06);
  margin:10px 0;
}
.alert.ok{ border-color: rgba(76,255,179,.35); }
.alert.bad{ border-color: rgba(255,90,122,.35); }

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 10px;
}
.table th{
  text-align:left;
  color:var(--muted);
  font-weight:800;
  font-size:13px;
  padding:0 10px 6px;
}
.table td{
  padding:12px 10px;
  background: rgba(255,255,255,.06);
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.table tr td:first-child{ border-left:1px solid rgba(255,255,255,.08); border-radius:14px 0 0 14px;}
.table tr td:last-child{ border-right:1px solid rgba(255,255,255,.08); border-radius:0 14px 14px 0;}

.footer{
  max-width:980px;
  margin:18px auto 32px;
  padding:0 16px;
  color:var(--muted);
  font-size:13px;
}

.fade-in{ opacity:0; transform: translateY(6px); animation: fade .6s ease forwards; }
@keyframes fade{ to{ opacity:1; transform: translateY(0);} }

.spinner{
  width:16px;height:16px;border-radius:50%;
  border:2px solid rgba(255,255,255,.25);
  border-top-color: rgba(255,255,255,.9);
  animation: spin .9s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg);} }

.logo img {
  height: 50px;      /* możesz zmienić */
  width: auto;
  display: block;
}

header .logo {
  display: flex;
  align-items: center;
}
