/* 7.9.71 — inset dividers, neon header, region popover, nalog subhead, chat, mobile board, map */

/* —— Neon header outline —— */
html body.bu-product-page .bu-neon-head,
html body.bu-landing-page .bu-neon-head,
html body [data-landing-header].bu-neon-head {
  position: fixed !important;
  border-bottom: 0 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22) !important;
}
html body [data-landing-header].bu-neon-head::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent 0%, #7af0ff 18%, #2aa3b5 50%, #7af0ff 82%, transparent 100%);
  box-shadow: 0 0 14px rgba(122, 240, 255, 0.65);
  pointer-events: none;
  z-index: 2;
}

/* —— Product dividers: inset, never touch edges —— */
html body.bu-product-page .bu-rule,
html body.bu-product-page hr,
html body.bu-product-page .bu-pro-story,
html body.bu-product-page .bu-pro-grid3,
html body.bu-product-page .bu-pro-grid2,
html body.bu-product-page .bu-pro-split,
html body.bu-product-page .bu-appdl-steps,
html body.bu-product-page .bu-appdl-split,
html body.bu-product-page .bu-pro-close,
html body.bu-landing-page .bu-pro-story {
  border-top: 0 !important;
  box-shadow: none !important;
}
html body.bu-product-page .bu-pro-story,
html body.bu-product-page .bu-pro-grid3,
html body.bu-product-page .bu-pro-grid2,
html body.bu-product-page .bu-pro-split,
html body.bu-product-page .bu-appdl-steps,
html body.bu-product-page .bu-appdl-split,
html body.bu-product-page .bu-blog-chips,
html body.bu-product-page .bu-blog-feature,
html body.bu-product-page .bu-blog-grid {
  position: relative;
}
html body.bu-product-page .bu-pro-story::before,
html body.bu-product-page .bu-pro-grid3::before,
html body.bu-product-page .bu-pro-grid2::before,
html body.bu-product-page .bu-pro-split::before,
html body.bu-product-page .bu-appdl-steps::before,
html body.bu-product-page .bu-appdl-split::before,
html body.bu-product-page .bu-blog-chips::before {
  content: "";
  display: block;
  height: 1px;
  width: min(880px, calc(100% - 72px));
  margin: 0 auto 22px;
  background: linear-gradient(90deg, transparent, rgba(18, 58, 72, 0.18), transparent);
}

/* —— News chips / category visibility —— */
html body .bu-blog-chips {
  justify-content: center !important;
  gap: 8px !important;
  padding: 18px 24px 8px !important;
}
html body .bu-blog-chip {
  min-height: 36px !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  background: #fff !important;
  color: #123a48 !important;
  border: 1.5px solid #b7cdd4 !important;
  font-weight: 800 !important;
  font-size: 13px !important;
}
html body .bu-blog-chip.is-on {
  background: #0b6e86 !important;
  color: #fff !important;
  border-color: #0b6e86 !important;
}
html body .bu-blog-cat,
html body .bu-blog-read {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #0b6e86 !important;
  color: #fff !important;
  font-size: 11px;
  font-weight: 800;
}
html body .bu-blog-feature-body h2 a,
html body .bu-blog-card-body h2 a {
  color: #0e3340 !important;
}

/* —— Region picker: compact trigger + portaled popover —— */
html body .bu-ed-pick { position: relative; width: 100%; }
html body .bu-ed-btn {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 0 !important;
  border-radius: 12px;
  background: #fff !important;
  color: #0e3340 !important;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
html body .bu-ed-btn .bu-ed-flag,
html body .bu-ed-card .bu-ed-flag {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #0e3340;
  color: #7af0ff;
  font-size: 10px;
  font-weight: 900;
  flex: 0 0 auto;
}
html body .bu-ed-btn .bu-ed-lab {
  color: #0e3340 !important;
  font-size: 13px;
}
html body .bu-ed-pop,
html body .bu-ed-pop-float {
  z-index: 500010 !important;
  width: min(320px, calc(100vw - 16px));
  padding: 12px;
  border-radius: 18px;
  background: #fff !important;
  color: #123a48 !important;
  border: 1px solid #d5e4ea;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.28);
}
html body .bu-ed-pop-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
html body .bu-ed-now {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0b6e86 !important;
}
html body .bu-ed-pop-head strong {
  display: block;
  color: #0e3340 !important;
  font-size: 13px;
  line-height: 1.35;
}
html body .bu-ed-x {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: #eef6f8;
  color: #0e3340;
  font-size: 20px;
  cursor: pointer;
  flex: 0 0 auto;
}
html body .bu-ed-card {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin-bottom: 6px;
  border-radius: 12px;
  text-decoration: none;
  background: #f4fbfa !important;
  color: #123a48 !important;
  border: 1px solid #d5e4ea;
}
html body .bu-ed-card.is-on {
  background: #d7ebe8 !important;
  border-color: #0b6e86;
}
html body .bu-ed-card .bu-ed-copy strong,
html body .bu-ed-card .bu-ed-copy span {
  display: block;
  color: #123a48 !important;
}
html body .bu-ed-card .bu-ed-copy span {
  font-size: 11px;
  font-weight: 650;
  color: #3d6570 !important;
}
html body .bu-edition-markets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
html body .bu-edition-markets a,
html body .bu-edition-markets button {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #d5e4ea;
  background: #fff !important;
  color: #0e3340 !important;
  font-weight: 800;
  font-size: 11px;
  cursor: pointer;
}
html body .bu-edition-markets a.is-on,
html body .bu-edition-markets button.is-on {
  background: #0b6e86 !important;
  color: #fff !important;
  border-color: #0b6e86;
}

/* —— Apps side by side in nav foot —— */
html body .bu-board-sidebar-foot .bu-apps-nav,
html body .bu-neon-side-foot .bu-apps-nav {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
  width: 100% !important;
  flex-direction: row !important;
  margin: 0 0 10px !important;
}
html body .bu-board-sidebar-foot .bu-apps-nav a,
html body .bu-neon-side-foot .bu-apps-nav a {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px;
  min-height: 38px !important;
  padding: 0 8px !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #0e3340 !important;
  border: 0 !important;
  font-weight: 800;
}
html body .bu-board-sidebar-foot .bu-apps-nav a span,
html body .bu-neon-side-foot .bu-apps-nav a span {
  display: none !important;
}
html body .bu-board-sidebar-foot .bu-apps-nav strong,
html body .bu-neon-side-foot .bu-apps-nav strong {
  font-size: 11px !important;
  color: #0e3340 !important;
}

/* —— Cookies accepted chip —— */
html body .bu-legal-ok {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0 10px;
}
html body .bu-legal-ok a {
  color: #cfe8e4 !important;
  font-size: 12px;
  font-weight: 700;
}
html body .bu-legal-ok-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  border: 0;
  background: #fff !important;
  color: #0e3340 !important;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
html body .bu-legal-ok-pill.is-on {
  background: #10b981 !important;
  color: #fff !important;
  cursor: default;
}

/* —— Sidebar scroll hints —— */
html body .bu-neon-side-nav[data-side-scroll],
html body .bu-board-sidebar-nav[data-side-scroll] {
  overflow-y: auto !important;
  min-height: 0;
}
html body .bu-side-more {
  position: sticky;
  z-index: 4;
  display: flex;
  justify-content: center;
  pointer-events: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7af0ff;
}
html body .bu-side-more.is-up { top: 0; }
html body .bu-side-more.is-down { bottom: 0; }
html body .bu-side-more span {
  background: rgba(7, 19, 28, 0.88);
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(122, 240, 255, 0.25);
}

/* —— Nalog sub-header under main header —— */
html body.bu-nalog-page .bu-nalog-subhead {
  position: sticky !important;
  top: 56px !important;
  z-index: 75 !important;
  margin: 0 !important;
  padding: 8px 12px !important;
  background: rgba(244, 251, 250, 0.96) !important;
  border-bottom: 1px solid rgba(18, 58, 72, 0.1);
  backdrop-filter: blur(12px);
}
html body.bu-nalog-page .bu-nalog-tabs-scroll {
  justify-content: flex-start;
  gap: 6px;
}
html body.bu-nalog-page .bu-nalog-tab {
  min-height: 36px;
  padding: 0 14px !important;
  display: inline-flex;
  align-items: center;
  border-radius: 999px !important;
  background: #fff !important;
  color: #123a48 !important;
  border: 1px solid #d5e4ea;
  font-size: 13px !important;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
html body.bu-nalog-page .bu-nalog-tab.is-on {
  background: #0b6e86 !important;
  color: #fff !important;
  border-color: #0b6e86 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(11, 110, 134, 0.25);
}
html body.bu-nalog-page .bu-nalog-tab-pub {
  background: #c45c26 !important;
  color: #fff !important;
  border-color: #c45c26 !important;
}

/* —— Messages inbox —— */
html body .bu-chat-v71 .bu-chat-drawer,
html body .bu-nalog-page .bu-poruke-panel {
  background: #f4fbfa !important;
  color: #123a48 !important;
}
html body .bu-chat-v71 .bu-chat-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px 12px 0;
}
html body .bu-chat-v71 .bu-chat-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #123a48 !important;
  font-weight: 800;
  cursor: pointer;
}
html body .bu-chat-v71 .bu-chat-tabs button.is-on {
  background: #0b6e86 !important;
  color: #fff !important;
}
html body .bu-chat-v71 .bu-chat-search {
  display: grid;
  gap: 8px;
  padding: 10px 12px 8px;
}
html body .bu-chat-v71 [data-chat-search] {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #d5e4ea;
  background: #fff !important;
  color: #123a48 !important;
}
html body .bu-chat-v71 .bu-chat-cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
html body .bu-chat-v71 .bu-chat-cats button {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #d5e4ea;
  background: #fff !important;
  color: #123a48 !important;
  font-weight: 800;
  font-size: 12px;
}
html body .bu-chat-v71 .bu-chat-cats button.is-on {
  background: #0e3340 !important;
  color: #fff !important;
  border-color: #0e3340;
}
html body .bu-chat-v71 .bu-chat-list,
html body .bu-chat-v71 .bu-chat-thread-body {
  background: #fff;
  color: #123a48;
}
html body .bu-chat-v71 .bu-chat-compose input {
  background: #fff !important;
  color: #123a48 !important;
}

/* —— Logout dialog —— */
html body .bu-logout-dlg {
  position: fixed;
  inset: 0;
  z-index: 500020;
  display: grid;
  place-items: center;
  background: rgba(7, 19, 28, 0.55);
  padding: 16px;
}
html body .bu-logout-dlg[hidden] { display: none !important; }
html body .bu-logout-card {
  width: min(380px, 100%);
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  color: #123a48;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.3);
}
html body .bu-logout-card strong { display: block; font-size: 18px; margin-bottom: 6px; }
html body .bu-logout-card p { margin: 0 0 16px; color: #3d6570; }
html body .bu-logout-actions { display: flex; gap: 8px; justify-content: flex-end; }
html body .bu-logout-stay {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #d5e4ea;
  background: #fff;
  color: #0e3340;
  font-weight: 800;
  cursor: pointer;
}
html body .bu-logout-go {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: #c45c26;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

/* —— Mobile board cards + map —— */
@media (max-width: 820px) {
  html body.bu-board-page .bu-feed .bu-item.bu-row.compact,
  html body.bu-board-page .bu-feed .bu-item {
    display: grid !important;
    grid-template-columns: 1fr auto;
    gap: 6px 10px;
    margin: 8px 10px !important;
    padding: 12px !important;
    border-radius: 16px !important;
    background: #fff !important;
    color: #123a48 !important;
    border: 1px solid #d5e4ea !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    min-height: 0 !important;
  }
  html body.bu-board-page .bu-feed .bu-item,
  html body.bu-board-page .bu-feed .bu-item strong,
  html body.bu-board-page .bu-feed .bu-item span,
  html body.bu-board-page .bu-feed .bu-item p,
  html body.bu-board-page .bu-feed .bu-item small {
    color: #123a48 !important;
  }
  html body.bu-board-page .bu-board-map,
  html body.bu-board-page #bu-map-pane,
  html body.bu-board-page #bu-map {
    border-radius: 18px !important;
    overflow: hidden !important;
    background: #d7e2ee !important;
  }
}
html body.bu-board-page .leaflet-container {
  background: #d7e2ee !important;
  font-family: inherit !important;
}
html body.bu-board-page .leaflet-popup-content-wrapper,
html body.bu-board-page .leaflet-popup-tip {
  background: #fff !important;
  color: #123a48 !important;
  border-radius: 14px;
}
html body.bu-board-page .leaflet-popup-content {
  color: #123a48 !important;
  margin: 10px 12px !important;
}
html body.bu-board-page .leaflet-control-zoom a {
  background: #fff !important;
  color: #0e3340 !important;
  border: 0 !important;
}
html body.bu-board-page .leaflet-bar {
  border: 0 !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16) !important;
}
