:root {
  --bg: #040706;
  --bg-2: #09100c;
  --panel: rgba(12, 19, 15, 0.82);
  --panel-2: rgba(9, 14, 11, 0.96);
  --line: rgba(102, 255, 163, 0.16);
  --green: #46f28b;
  --green-2: #20c766;
  --green-soft: rgba(70, 242, 139, 0.12);
  --text: #f3fff8;
  --muted: #adbcaf;
  --muted-2: #7f9184;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 24px;
  --nav-h: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top right, rgba(70, 242, 139, 0.14), transparent 25%),
    radial-gradient(circle at 0% 20%, rgba(70, 242, 139, 0.08), transparent 20%),
    linear-gradient(180deg, #040706 0%, #050907 100%);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  color: #46f28b;
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(70, 242, 139, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 242, 139, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.45), transparent);
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 85% 14%, rgba(70, 242, 139, 0.12), transparent 22%),
    radial-gradient(circle at 20% 65%, rgba(70, 242, 139, 0.06), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(70, 242, 139, 0.05), transparent 25%);
}

.page-wrap {
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  padding: 30px 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.58rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--green-soft);
  color: #9ff8c4;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 900;
  margin-bottom: 1rem;
}

.section-text,
.lead-soft {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.85;
}

.navbar {
  min-height: var(--nav-h);
  background: rgba(4, 7, 6, 0.55);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: 0.25s ease;
}

.navbar.scrolled {
  background: rgba(4, 7, 6, 0.92);
  border-color: rgba(102, 255, 163, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.navbar-brand {
  color: #fff !important;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #9ff8c4, var(--green));
  box-shadow: 0 14px 30px rgba(70, 242, 139, 0.25);
  padding: 0;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-link {
  color: rgba(255, 255, 255, 0.83) !important;
  font-weight: 700;
  position: relative;
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.28rem;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.btn-accent {
  --bs-btn-color: #041008;
  --bs-btn-bg: var(--green);
  --bs-btn-border-color: var(--green);
  --bs-btn-hover-color: #041008;
  --bs-btn-hover-bg: #7bf7b0;
  --bs-btn-hover-border-color: #7bf7b0;
  --bs-btn-active-bg: #7bf7b0;
  --bs-btn-active-border-color: #7bf7b0;
  border-radius: 16px;
  font-weight: 800;
  padding: 0.95rem 1.28rem;
  box-shadow: 0 14px 30px rgba(70, 242, 139, 0.18);
}

.btn-ghost {
  color: #e9fff1;
  border: 1px solid rgba(102, 255, 163, 0.18);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  font-weight: 800;
  padding: 0.95rem 1.28rem;
}

.btn-ghost:hover {
  color: #041008;
  background: var(--green);
  border-color: var(--green);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 50px);
  padding-bottom: 70px;
  position: relative;
}

.hero-net {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-net .node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a9ffd0;
  box-shadow: 0 0 0 9px rgba(70, 242, 139, 0.06), 0 0 24px rgba(70, 242, 139, 0.38);
  animation: pulse 2.8s infinite ease-in-out;
}

.hero-net .line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(70, 242, 139, 0), rgba(70, 242, 139, 0.5), rgba(70, 242, 139, 0));
  transform-origin: left center;
  opacity: 0.65;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.22);
    opacity: 0.78;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 900;
  margin-bottom: 1.2rem;
  max-width: 860px;
}

.hero .lead {
  max-width: 760px;
  color: #d6e5da;
  font-size: 1.18rem;
  line-height: 1.86;
  margin-bottom: 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.hero-badge {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(102, 255, 163, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #ddfdea;
  font-weight: 700;
  font-size: 0.93rem;
}

.glass,
.info-card,
.feature-card,
.stage-card,
.node-card,
.tech-card,
.faq-card,
.contact-card,
.map-panel,
.image-placeholder,
.civic-ribbon,
.problem-card,
.benefit-card {
  background: linear-gradient(180deg, rgba(15, 23, 18, 0.92), rgba(9, 14, 11, 0.94));
  border: 1px solid rgba(102, 255, 163, 0.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-side {
  padding: 1.6rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-side::before {
  content: '';
  position: absolute;
  inset: auto -60px -60px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70, 242, 139, 0.18), transparent 65%);
  pointer-events: none;
}

.hero-side h3,
.map-panel h3,
.contact-card h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bullet-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  color: #dbe9dd;
  border-bottom: 1px dashed rgba(102, 255, 163, 0.12);
}

.bullet-list li:last-child {
  border-bottom: 0;
}

.bullet-icon,
.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(70, 242, 139, 0.12);
  color: #9ff8c4;
  flex: 0 0 46px;
  font-size: 1.12rem;
}

.icon-badge {
  margin-bottom: 1rem;
}

.mesh-external-link a {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--green-soft);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: all 0.2s ease;
}

.mesh-external-link a:hover {
  background: rgba(70, 242, 139, 0.18);
  border-color: rgba(70, 242, 139, 0.35);
  transform: translateY(-1px);
}

.mesh-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(70, 242, 139, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 18px;
}

.mesh-link-title {
  color: var(--text);
  font-weight: 600;
}

.mesh-link-desc {
  font-size: 13px;
  color: var(--muted);
}

.info-card,
.feature-card,
.stage-card,
.node-card,
.tech-card,
.contact-card,
.map-panel,
.image-placeholder,
.problem-card,
.benefit-card {
  padding: 1.55rem;
  height: 100%;
}

.faq-card {
  padding: 1.55rem;
  height: auto;
}

.info-card h4,
.feature-card h4,
.stage-card h4,
.node-card h4,
.tech-card h4,
.faq-card h4,
.problem-card h4,
.benefit-card h4 {
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
}

.info-card p,
.feature-card p,
.stage-card p,
.node-card p,
.tech-card p,
.faq-answer,
.contact-line,
.image-placeholder p,
.problem-card p,
.benefit-card p {
  color: var(--muted);
  line-height: 1.78;
  margin-bottom: 0;
}

.civic-ribbon {
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.civic-ribbon strong {
  font-size: 1.05rem;
}

.civic-ribbon span {
  color: var(--muted);
}

.diag-wrap {
  position: relative;
  min-height: 420px;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(4, 7, 6, 0.3), rgba(4, 7, 6, 0.85)),
    radial-gradient(circle at 28% 22%, rgba(70, 242, 139, 0.12), transparent 18%),
    radial-gradient(circle at 75% 58%, rgba(70, 242, 139, 0.09), transparent 22%),
    #07100b;
  border: 1px solid rgba(102, 255, 163, 0.12);
}

.diag-wrap::before,
.diag-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(70, 242, 139, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 242, 139, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.diag-node {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #b8ffd7;
  box-shadow: 0 0 0 14px rgba(70, 242, 139, 0.06), 0 0 30px rgba(70, 242, 139, 0.35);
  z-index: 2;
  animation: pulse 3s infinite ease-in-out;
}

.diag-node.center {
  width: 22px;
  height: 22px;
  box-shadow: 0 0 0 18px rgba(70, 242, 139, 0.08), 0 0 34px rgba(70, 242, 139, 0.45);
}

.diag-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, rgba(70, 242, 139, 0), rgba(70, 242, 139, 0.78), rgba(70, 242, 139, 0));
  transform-origin: left center;
  z-index: 1;
  opacity: 0.86;
}

.diag-label {
  position: absolute;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(7, 14, 10, 0.88);
  border: 1px solid rgba(102, 255, 163, 0.14);
  color: #effef4;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  z-index: 3;
  backdrop-filter: blur(6px);
}

.stage-card {
  position: relative;
  overflow: hidden;
}

.stage-no {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(102, 255, 163, 0.08);
}

.map-shell {
  position: relative;
  min-height: 460px;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(4, 7, 6, 0.25), rgba(4, 7, 6, 0.82)),
    repeating-linear-gradient(90deg, rgba(70, 242, 139, 0.05) 0, rgba(70, 242, 139, 0.05) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(0deg, rgba(70, 242, 139, 0.05) 0, rgba(70, 242, 139, 0.05) 1px, transparent 1px, transparent 80px),
    radial-gradient(circle at 20% 30%, rgba(70, 242, 139, 0.09), transparent 20%),
    radial-gradient(circle at 70% 50%, rgba(70, 242, 139, 0.06), transparent 18%),
    #09100c;
  border: 1px dashed rgba(102, 255, 163, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.map-shell .placeholder-inner {
  max-width: 460px;
  position: relative;
  z-index: 2;
}

.map-shell .placeholder-inner i {
  font-size: 3.3rem;
  color: #9ff8c4;
  margin-bottom: 1rem;
  display: inline-block;
}

.map-shell .map-node {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #b8ffd7;
  box-shadow: 0 0 0 10px rgba(70, 242, 139, 0.05), 0 0 20px rgba(70, 242, 139, 0.34);
  animation: pulse 3s infinite ease-in-out;
}

.map-shell .map-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, rgba(70, 242, 139, 0), rgba(70, 242, 139, 0.58), rgba(70, 242, 139, 0));
  transform-origin: left center;
  opacity: 0.8;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 0.86rem;
  border-radius: 999px;
  border: 1px solid rgba(102, 255, 163, 0.14);
  background: rgba(70, 242, 139, 0.08);
  color: #dffdeb;
  font-size: 0.92rem;
  font-weight: 700;
}

.timeline {
  position: relative;
  padding-left: 1rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.28rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(70, 242, 139, 0.6), rgba(70, 242, 139, 0.08));
}

.timeline .stage-card {
  margin-bottom: 1rem;
}

.timeline .stage-card::before {
  content: '';
  position: absolute;
  left: -1.07rem;
  top: 1.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(70, 242, 139, 0.14);
}

#faq {
  position: relative;
  padding-bottom: 100px;
}

#faq .faq-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

#faq .faq-answer {
  display: none;
  padding-top: 12px;
}

#faq .faq-card.open .faq-answer {
  display: block;
}

#kontakt {
  position: relative;
  z-index: 2;
}

.faq-card {
  margin-bottom: 1rem;
}

.faq-btn {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 0;
  font-weight: 800;
  font-size: 1.04rem;
}

.faq-answer {
  display: none;
  padding-top: 1rem;
}

.faq-card.open .faq-answer {
  display: block;
}

.faq-card .faq-btn i {
  transition: transform 0.2s ease;
}

.faq-card.open .faq-btn i {
  transform: rotate(45deg);
}

.contact-line {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-line i {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(70, 242, 139, 0.13);
  color: #9ff8c4;
  flex: 0 0 40px;
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.15rem;
  border-radius: 16px;
  background: var(--green);
  color: #041008;
  font-weight: 900;
  margin-top: 0.6rem;
}

.contact-cta:hover {
  background: #7af7af;
}

.footer {
  padding: 36px 0 52px;
  border-top: 1px solid rgba(102, 255, 163, 0.08);
  color: var(--muted);
}

.footer small {
  color: var(--muted-2);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Sekcje: Co zwykle zawodzi / Co można zyskać ===== */

#co-zawodzi,
#co-mozna-zyskac {
  position: relative;
}

#co-zawodzi .info-card,
#co-mozna-zyskac .info-card {
  height: 100%;
}

#co-zawodzi .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 800;
  background: linear-gradient(180deg, #1fc95b 0%, #16a34a 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.22);
  flex-shrink: 0;
}

#co-zawodzi .info-card h4,
#co-mozna-zyskac .info-card h4 {
  margin-bottom: 12px;
}

#co-zawodzi .info-card p,
#co-mozna-zyskac .info-card p {
  margin-bottom: 0;
}

#co-mozna-zyskac .info-card {
  position: relative;
  overflow: hidden;
  padding-left: 26px;
}

#co-mozna-zyskac .info-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.08);
}

#co-zawodzi .section-title,
#co-mozna-zyskac .section-title {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

#co-zawodzi .lead-soft,
#co-mozna-zyskac .lead-soft {
  color: rgba(226, 232, 240, 0.78);
}

/* ===== MAPA ===== */

#meshtasticMap {
  width: 100%;
  height: 560px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(102, 255, 163, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 1;
}

.map-live-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.map-top-controls {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  width: 142px;
}

.map-top-controls .btn,
.map-top-controls .map-control-btn,
.node-picker-toggle {
  width: 142px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(102, 255, 163, 0.16) !important;
  background: rgba(9, 14, 11, 0.90) !important;
  color: #f3fff8 !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.map-top-controls .btn:hover,
.map-top-controls .map-control-btn:hover,
.node-picker-toggle:hover {
  transform: translateY(-1px);
  background: rgba(70, 242, 139, 0.16) !important;
  border-color: rgba(70, 242, 139, 0.45) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.map-top-controls .btn i,
.map-top-controls .map-control-btn i,
.node-picker-toggle i {
  width: 18px;
  min-width: 18px;
  text-align: center;
  color: #9ff8c4;
  font-size: 14px;
  line-height: 1;
}

.node-picker-count {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 6px;
  border-radius: 999px;
  background: #22c55e;
  color: #08130c;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.node-picker-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 320px;
  max-width: min(320px, calc(100vw - 32px));
  max-height: 420px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(11, 17, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  display: none;
  z-index: 1210;
}

.node-picker-panel.open {
  display: block;
}

.node-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.node-picker-close {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.node-picker-close:hover {
  color: #fff;
}

.node-picker-search-wrap {
  padding: 12px 14px 10px;
}

.node-picker-search {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}

.node-picker-search::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.node-picker-search:focus {
  border-color: rgba(34, 197, 94, 0.55);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.selected-node-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 12px;
}

.selected-node-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.24);
  color: #dcfce7;
  font-size: 12px;
  font-weight: 700;
}

.selected-node-chip button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  line-height: 1;
  font-size: 14px;
  padding: 0;
}

.node-picker-list {
  max-height: 250px;
  overflow: auto;
  padding: 0 8px 10px;
}

.node-picker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.16s ease;
}

.node-picker-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.node-picker-item input[type="checkbox"] {
  accent-color: #16a34a;
  transform: scale(1.05);
}

.node-picker-item-name {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.node-picker-empty {
  padding: 12px 14px 16px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.node-selector-box {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 9999;
  width: 260px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(10, 14, 18, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.node-selector-box .form-label,
.node-selector-box small {
  color: #fff;
}

#nodeConnectionSelect {
  min-height: 180px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
}

#nodeConnectionSelect:focus {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.08);
}

#nodeConnectionSelect option {
  background: #10161c;
  color: #fff;
  padding: 6px 8px;
}

.connection-chart-wrap {
  width: 320px;
  height: 205px;
  position: relative;
}

.connection-chart-wrap canvas {
  display: block;
  width: 320px !important;
  height: 205px !important;
}

.connection-hover-meta {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.35;
  color: #d9e6dd;
}

.connection-popup.compact {
  min-width: 332px;
  padding: 0;
}

.connection-popup-head {
  margin-bottom: 6px;
}

.connection-popup.compact h6 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.connection-popup-subrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.connection-distance {
  font-size: 12px;
  line-height: 1.2;
  color: #5f5f5f;
}

.connection-status-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.connection-status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  white-space: nowrap;
}

.connection-status-pill.ok {
  background: rgba(34, 197, 94, 0.14);
  color: #15803d;
  border-color: rgba(34, 197, 94, 0.35);
}

.connection-status-pill.bad {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.28);
}

.connection-chart-wrap {
  width: 336px;
  height: 215px;
}

.connection-chart-wrap canvas {
  width: 336px !important;
  height: 215px !important;
}



.leaflet-popup-content .connection-popup.compact {
  margin: 0;
}

.leaflet-popup-content-wrapper {
  padding: 8px 10px;
  border-radius: 16px;
}

.leaflet-popup-content {
  margin: 8px 10px;
}

/* ===== LEAFLET / MARKERY ===== */

.leaflet-container {
  background: #07100b;
  font-family: "Inter", sans-serif;
}

.leaflet-overlay-pane {
  z-index: 400 !important;
}

.leaflet-marker-pane {
  z-index: 650 !important;
}

.leaflet-tooltip-pane {
  z-index: 700 !important;
}

.leaflet-div-icon {
  background: transparent !important;
  border: none !important;
}

.mesh-node {
  background: transparent !important;
  border: 0 !important;
  overflow: visible !important;
}

.mesh-node-inner {
  position: relative;
  width: 18px;
  height: 18px;
  overflow: visible;
  transform-origin: 50% 50%;
  transition: transform 0.2s ease;
}

.mesh-node-badge {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 0.15s ease;
  pointer-events: auto;
}

.mesh-node-badge i {
  font-size: 10px;
  line-height: 1;
}

.mesh-node-stem {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: 2px;
  height: 12px;
  background: currentColor;
  opacity: 0.7;
  transition: opacity 0.15s ease;
  pointer-events: auto;
}

.mesh-node-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: auto;
}

.mesh-node,
.mesh-node-inner,
.mesh-node-badge,
.mesh-node-stem,
.mesh-node-dot,
.mesh-node-badge span,
.mesh-node-badge i {
  pointer-events: auto !important;
}

.mesh-node.labels-hidden .mesh-node-badge {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mesh-node.labels-hidden .mesh-node-stem {
  opacity: 0;
  visibility: hidden;
}

.mesh-node.dragging-node,
.mesh-node.dragging-node * {
  cursor: grabbing !important;
}

.badge-green {
  background: rgba(0, 0, 0, 0.88);
  color: #00ff6a;
  border: 1px solid rgba(0, 255, 106, 0.35);
}

.badge-red {
  background: rgba(0, 0, 0, 0.88);
  color: #ff4d4f;
  border: 1px solid rgba(255, 77, 79, 0.35);
}

.mesh-node-dot.badge-green {
  background: #00ff6a;
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 2px rgba(0, 255, 106, 0.16);
}

.mesh-node-dot.badge-red {
  background: #ff4d4f;
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.16);
}

.mesh-node-badge span {
  color: #fff !important;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== POPUPY / PROFILE ===== */

.connection-popup {
  min-width: 340px;
}

.connection-popup h6 {
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 700;
}

.connection-meta {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}

.line-selected {
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}

.connection-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 10px;
}

.connection-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.connection-status-pill.ok {
  background: rgba(34, 197, 94, 0.16);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.connection-status-pill.bad {
  background: rgba(239, 68, 68, 0.16);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

/* ===== BAZA WIEDZY ===== */

.knowledge-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 12px;
  text-decoration: none;
  color: #0b1f14;
  background: linear-gradient(135deg, #00ff84, #3cffb5);
  box-shadow: 0 8px 25px rgba(0, 255, 132, 0.35);
  transition: all 0.25s ease;
}

.knowledge-btn i {
  font-size: 18px;
}

.knowledge-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 255, 132, 0.45);
  background: linear-gradient(135deg, #1aff95, #55ffc2);
}

.kb-page-hero {
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: 18px;
}

.kb-hero-panel {
  padding: 2.2rem;
  background: linear-gradient(180deg, rgba(15, 23, 18, 0.92), rgba(9, 14, 11, 0.94));
  border: 1px solid rgba(102, 255, 163, 0.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.kb-hero-panel::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70, 242, 139, 0.14), transparent 68%);
  pointer-events: none;
}

.kb-page-title {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 900;
  margin: 0 0 1rem;
  max-width: 980px;
  color: var(--text);
}

.kb-page-lead {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
  max-width: 920px;
  margin: 0;
}

.kb-list-section {
  padding-top: 0;
  padding-bottom: 90px;
}

.kb-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.kb-count {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
}

.kb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.kb-card {
  background: linear-gradient(180deg, rgba(15, 23, 18, 0.92), rgba(9, 14, 11, 0.94));
  border: 1px solid rgba(102, 255, 163, 0.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.kb-card:hover {
  transform: translateY(-6px);
  border-color: rgba(102, 255, 163, 0.22);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.kb-card-image-link {
  display: block;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.kb-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kb-card:hover .kb-card-image {
  transform: scale(1.04);
}

.kb-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.kb-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.kb-card-category {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.78rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--green-soft);
  color: #9ff8c4;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kb-card-date {
  color: var(--muted-2);
  font-size: 0.88rem;
  font-weight: 600;
}

.kb-card-title {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kb-card-title a {
  color: var(--text);
  text-decoration: none;
}

.kb-card-title a:hover {
  color: #9ff8c4;
}

.kb-card-excerpt {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 1.2rem;
  flex: 1;
}

.kb-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  padding: 0.9rem 1.1rem;
  border-radius: 16px;
  background: var(--green);
  color: #041008;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(70, 242, 139, 0.18);
  transition: 0.22s ease;
}

.kb-readmore:hover {
  background: #7af7af;
  color: #041008;
  transform: translateY(-2px);
}

.kb-empty {
  padding: 2.2rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(15, 23, 18, 0.92), rgba(9, 14, 11, 0.94));
  border: 1px solid rgba(102, 255, 163, 0.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.kb-empty h3 {
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}

.kb-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.kb-grid a,
.kb-hero-panel a,
.kb-list-section a {
  text-decoration: none;
}

.kb-card a,
.kb-card a:link,
.kb-card a:visited,
.kb-card a:hover,
.kb-card a:active {
  text-decoration: none;
}

.kb-card-title a,
.kb-card-title a:link,
.kb-card-title a:visited {
  color: var(--text) !important;
}

.kb-card-title a:hover,
.kb-card-title a:active {
  color: #9ff8c4 !important;
}

.kb-card-image-link,
.kb-card-image-link:link,
.kb-card-image-link:visited,
.kb-card-image-link:hover,
.kb-card-image-link:active {
  color: inherit !important;
  text-decoration: none !important;
}

.kb-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(70, 242, 139, 0.12);
  border: 1px solid rgba(70, 242, 139, 0.25);
  color: #9ff8c4;
  font-size: 13px;
  font-weight: 700;
}

.kb-card[data-status="coming"] {
  opacity: 0.85;
}

.kb-card-image-disabled {
  cursor: default;
}

.kb-card-title-disabled {
  color: inherit;
  text-decoration: none;
  cursor: default;
  display: inline-block;
}

/* ===== ARTYKUŁY ===== */

.article-title {
  font-size: 2.2rem;
  margin: 0 0 18px 0;
  line-height: 1.15;
}

.article-hero img {
  width: 100%;
  margin-bottom: 25px;
}

.article-page-hero {
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: 20px;
}

.article-content-wrap {
  padding-top: 0 !important;
}

.article-cover-wrap {
  margin-bottom: 0;
}

.article-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 40px 0;
}

.highlight {
  font-size: 1.2rem;
  font-weight: 600;
  color: #46f28b;
}

.cta-box {
  background: rgba(70, 242, 139, 0.05);
  border: 1px solid rgba(70, 242, 139, 0.2);
  padding: 20px;
  border-radius: 12px;
  margin-top: 30px;
}

.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.article-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}

.article-breadcrumb a:hover {
  color: #46f28b;
}

.article-breadcrumb span {
  color: rgba(255, 255, 255, 0.72);
}

.article-breadcrumb .breadcrumb-title {
  white-space: normal;
  word-break: break-word;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.article-category-badge,
.article-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-lead {
  margin-top: 0;
  margin-bottom: 24px;
}

.article-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-content h3 {
  margin-top: 24px;
  margin-bottom: 10px;
}

.article-content ul {
  margin-bottom: 20px;
}

/* ===== LORASTATS ===== */

.lorastats-node-wrap {
  background: transparent !important;
  border: 0 !important;
  overflow: visible !important;
}

.lorastats-node {
  position: relative;
  width: 14px;
  height: 14px;
  overflow: visible;
}

.lorastats-node-badge {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  max-width: 110px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.lorastats-node.nowosadecki .lorastats-node-badge {
  background: linear-gradient(135deg, #19c37d, #0f8f5d);
}

.lorastats-node.gorlicki .lorastats-node-badge {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.lorastats-node-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(0, 0, 0, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

/* ===== LOGIN ===== */

.login-btn {
  border-radius: 20px;
  padding: 6px 10px !important;
  transition: all 0.2s ease;
}

.login-btn:hover {
  color: #00ff6a !important;
  background: rgba(0, 255, 106, 0.08);
}

body.logged-in .login-btn {
  color: #00ff6a !important;
  font-weight: 500;
}

.logout-icon {
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  transition: all 0.2s ease;
}

.logout-icon:hover {
  color: #ff4d4d;
  transform: translateY(-1px);
}

/* ===== MODAL / TABELA NODÓW ===== */

#userNodesModal .modal-dialog {
  max-width: 95vw;
}

#userNodesModal .modal-body {
  overflow-x: hidden;
}

.user-nodes-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#userNodesTable {
  min-width: 1700px;
  white-space: nowrap;
}

#userNodesTable th,
#userNodesTable td {
  white-space: nowrap;
  vertical-align: middle;
}

/* ===== RESPONSYWNOŚĆ ===== */

@media (max-width: 1199.98px) {
  .navbar-collapse {
    background: rgba(5, 8, 6, 0.98);
    border: 1px solid rgba(102, 255, 163, 0.08);
    border-radius: 20px;
    padding: 1rem;
    margin-top: 0.8rem;
  }

  .kb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  section {
    padding: 90px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 10vw, 4.3rem);
  }

  .diag-wrap,
  .map-shell {
    min-height: 360px;
  }

  #co-zawodzi .info-card,
  #co-mozna-zyskac .info-card {
    min-height: auto;
  }

  #co-mozna-zyskac .info-card::before {
    top: 20px;
    bottom: 20px;
  }
}

@media (max-width: 768px) {
  #meshtasticMap {
    height: 60vh !important;
  }

  .node-picker {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .node-picker-toggle {
    width: 100%;
    justify-content: center;
  }

  .node-picker-panel {
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .kb-grid {
    grid-template-columns: 1fr;
  }

  .kb-hero-panel {
    padding: 1.5rem;
  }

  .kb-card-body {
    padding: 1.1rem;
  }

  .kb-card-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 575.98px) {
  .section-kicker {
    font-size: 0.75rem;
  }

  .hero-badges {
    gap: 0.55rem;
  }

  .hero-badge,
  .tag-chip {
    font-size: 0.84rem;
  }

  .diag-wrap,
  .map-shell {
    min-height: 320px;
  }

  #co-zawodzi .icon-badge {
    min-width: 46px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 0.98rem;
  }

  #co-zawodzi .info-card .d-flex {
    gap: 0.85rem !important;
  }

  #co-mozna-zyskac .info-card {
    padding-left: 22px;
  }

  #co-mozna-zyskac .info-card::before {
    width: 4px;
  }
}

/* ==============================
   Mesh Admin / Testy Meshtastic
   ============================== */

.mesh-admin-page {
  padding-top: calc(var(--nav-h) + 30px);
  padding-bottom: 60px;
}

.mesh-admin-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.mesh-admin-title {
  font-weight: 900;
  margin-bottom: 0;
}

.mesh-admin-subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 15px;
}

.mesh-add-btn {
  font-weight: 700;
  border-radius: 10px;
  padding: 7px 12px;
}

/* Buttons / actions */
.offers-actions {
  display: inline-flex;
  gap: 4px;
}

.offers-actions .btn {
  font-weight: 700;
  border-radius: 9px !important;
  padding: 4px 8px;
  font-size: 12px;
}

/* Badges */
.mesh-badge,
.sample-pill {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.mesh-badge {
  padding: 5px 10px;
}

.sample-pill {
  padding: 5px 9px;
}

.mesh-badge-active {
  background: rgba(34, 197, 94, 0.2);
  color: #9ff8c4;
}

.mesh-badge-draft {
  background: rgba(255, 255, 255, 0.08);
  color: #ccc;
}

.sample-rssi {
  background: rgba(34, 197, 94, 0.2);
  color: #9ff8c4;
}

.sample-snr {
  background: rgba(59, 130, 246, 0.2);
  color: #bfdbfe;
}

.sample-hops {
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
}

/* Forms */
.readonly-field {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #9ff8c4 !important;
}
/* Mobile fix: Mesh Admin */
@media (max-width: 576px) {
  .mesh-admin-page {
    padding-top: calc(var(--nav-h) + 16px);
    padding-left: 10px;
    padding-right: 10px;
  }

  .mesh-admin-panel {
    padding: 16px;
    border-radius: 22px;
    overflow: hidden;
  }

  .mesh-admin-panel > .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 12px;
  }

  .mesh-admin-title {
    font-size: 24px;
    line-height: 1.1;
  }

  .mesh-admin-subtitle {
    margin-bottom: 0;
  }

  .mesh-admin-panel .btn {
    width: 100%;
  }

  .dataTables_wrapper {
    width: 100%;
    overflow-x: auto;
  }

  .dataTables_length,
  .dataTables_filter {
    text-align: left !important;
    width: 100%;
  }

  .dataTables_filter label,
  .dataTables_length label {
    width: 100%;
  }

  .dataTables_filter input {
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 6px;
  }

  .dataTables_length select {
    max-width: 90px;
  }

  table.dataTable {
    min-width: 900px;
  }

  .dataTables_paginate {
    overflow-x: auto;
    white-space: nowrap;
    text-align: center !important;
  }
}