/* panel-stopka.css — style stopki, baneru cookies i okna nowej wersji (partials/footer.php).
   Ładowane w footer.php w tym samym miejscu co wcześniej blok <style> (kolejność bez zmian). */

/* ---------- footer.php blok 1/2 (linia 4) ---------- */
html { height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; }
body > .topbar,
body > nav.navbar { flex-shrink: 0; }
main { flex: 1 0 auto; }

.footer-bar a {
  transition: color .2s ease, opacity .2s ease;
}
.footer-bar a:hover { color: #e2e8f0 !important; text-decoration: none !important; }

/* === FOOTER NEW === */
.footer-bar{
  background: #0a0f1d;
  border-top: 1px solid rgba(255,255,255,.06) !important;
}
.footer-top{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; flex-wrap:wrap;
  padding: 14px 0 10px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.footer-brand{ display:flex; align-items:center; gap:8px; }
.footer-brand img{ height:20px; }
.footer-brand-copy{ font-size:12px; color:#4b5563; }
.footer-links{ display:flex; gap:8px; }
.footer-links a{
  font-size:12px; color:#4b5563; text-decoration:none;
  padding:4px 10px; border-radius:6px;
  border:1px solid rgba(255,255,255,.06);
  transition: all .12s;
}
.footer-links a:hover{
  color:#e2e8f0 !important;
  border-color:rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  text-decoration:none !important;
}
.footer-bottom{
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:8px; padding:10px 0 12px;
}
.footer-tags{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.footer-tag{
  display:inline-flex; align-items:center; gap:5px;
  font-size:10px; font-weight:700;
  padding:3px 9px; border-radius:999px; letter-spacing:.04em;
}
.footer-tag-version{ background:rgba(59,130,246,.10); border:1px solid rgba(59,130,246,.18); color:#60a5fa; }
.footer-tag-chip{    background:rgba(239,68,68,.08);   border:1px solid rgba(239,68,68,.16);   color:#f87171; }
.footer-tag-ecu{     background:rgba(16,185,129,.08);  border:1px solid rgba(16,185,129,.16);  color:#34d399; }
.footer-copy{ font-size:11px; color:#1f2937; }

/* COOKIE BAR – wersja mniejsza */
.cookie-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 99999;
  display: none;
}

.cookie-box {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(10, 16, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  border-radius: 12px;
  padding: 10px 12px;
  color: #cbd5e1;
  backdrop-filter: blur(8px);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: .85rem;
  line-height: 1.4;
}

.cookie-text a {
  color: #fff;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-btn-accept {
  background: #dc3545;
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
}

.cookie-btn-accept:hover {
  background: #bb2d3b;
}

.cookie-btn-more {
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  color: #cbd5e1;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: .8rem;
  text-decoration: none;
}

.cookie-btn-more:hover {
  color: #fff;
  border-color: rgba(255,255,255,.25);
}

/* ---------- footer.php blok 2/2 (linia 585) ---------- */
.app-update-modal-premium{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(220,53,69,.20);
  background:
    radial-gradient(circle at top left, rgba(220,53,69,.14), transparent 35%),
    linear-gradient(145deg, #0b1220 0%, #0f172a 52%, #09101d 100%);
  box-shadow:
    0 24px 80px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.03);
  color: #e5e7eb;
}

.app-update-glow{
  position: absolute;
  inset: auto auto -80px -80px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(220,53,69,.18), transparent 70%);
  pointer-events: none;
}

.app-update-wrap{
  position: relative;
  padding: 28px;
}

.app-update-head{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.app-update-icon{
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background:
    linear-gradient(180deg, rgba(220,53,69,.22), rgba(220,53,69,.10));
  border: 1px solid rgba(220,53,69,.22);
  color: #ff5a6b;
  font-size: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 10px 24px rgba(220,53,69,.12);
}

.app-update-head-copy{
  min-width: 0;
}

.app-update-eyebrow{
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(255,255,255,.42);
  margin-bottom: 4px;
}

.app-update-title{
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

.app-update-version-row{
  margin-top: 8px;
}

.app-update-version-badge{
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(220,53,69,.12);
  border: 1px solid rgba(220,53,69,.22);
  color: #ff6b7a;
  font-size: .82rem;
  font-weight: 700;
}

.app-update-body{
  margin-bottom: 22px;
}

.app-update-text{
  color: rgba(255,255,255,.72);
  font-size: .98rem;
  line-height: 1.6;
}

.app-update-actions{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.app-update-btn-primary,
.app-update-btn-secondary{
  min-height: 46px;
  border-radius: 14px;
  padding: 0 18px;
  font-weight: 700;
  transition: .18s ease;
}

.app-update-btn-primary{
  background: linear-gradient(180deg, #dc3545, #bb2d3b);
  border: 1px solid rgba(255,255,255,.06);
  color: #fff;
  box-shadow: 0 10px 24px rgba(220,53,69,.18);
}

.app-update-btn-primary:hover{
  background: linear-gradient(180deg, #e14b5a, #c52f3e);
  color: #fff;
  transform: translateY(-1px);
}

.app-update-btn-secondary{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
}

.app-update-btn-secondary:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  color: #fff;
}

#appUpdateModal .modal-dialog{
  padding: 12px;
}

#appUpdateModal .modal-content{
  background-clip: padding-box;
}

#appUpdateModal .btn:focus,
#appUpdateModal .btn:active{
  box-shadow: none;
}

@media (max-width: 575.98px){
  .app-update-wrap{
    padding: 22px 18px;
  }

  .app-update-head{
    align-items: flex-start;
  }

  .app-update-title{
    font-size: 1.15rem;
  }

  .app-update-text{
    font-size: .93rem;
    line-height: 1.5;
  }

  .app-update-actions{
    flex-direction: column;
  }

  .app-update-btn-primary,
  .app-update-btn-secondary{
    width: 100%;
  }
}
