/* SMART FRIENDS — kurasa za umma (landing, karibu, kampuni, mteja, login)
   Usomaji tu: maneno madogo yanapandishwa; haibadilishi rangi/mpangilio wa ukurasa. */
[style*="font-size:9px"], [style*="font-size:10px"], [style*="font-size:10.5px"], [style*="font-size:.65rem"], [style*="font-size:.68rem"], [style*="font-size:.7rem"] { font-size: 12px !important; line-height: 1.4; }
[style*="font-size:11px"], [style*="font-size:11.5px"], [style*="font-size:.72rem"], [style*="font-size:.75rem"] { font-size: 12.5px !important; line-height: 1.45; }
[style*="font-size:12px"], [style*="font-size:12.5px"] { font-size: 13px !important; }
small, .small { font-size: 12.5px; }
input, select, textarea { font-size: 16px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(22,101,52,.35); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ═══ Landing: vitufe vya Ingia/Jiunge kama ikoni juu kulia; menyu ya kulia; vitufe vinavyoelea vidogo ═══ */
.hero-join-wrap { display: none !important; }              /* vitufe vikubwa vya hero vimehamia kwenye ikoni za juu */
.topnav .nav-right { gap: 8px; }
.nav-icon-btn { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.08); color: #fff; font-size: 16px; text-decoration: none; cursor: pointer; padding: 0; }
.nav-icon-btn:hover { background: rgba(255,255,255,.2); color: #fff; }
html body nav.topnav .nav-btns { left: 0 !important; right: auto !important; transform: translateX(-105%) !important; box-shadow: 8px 0 30px rgba(0,0,0,.3) !important; }
html body nav.topnav .nav-btns.open { transform: none !important; }
#lpBtn { width: 48px !important; height: 48px !important; right: 14px !important; bottom: 84px !important; z-index: 9100; touch-action: none; }
#lpPanel { bottom: 140px !important; right: 12px !important; }
#kkNtFab, #lpBtn { touch-action: none; }
.sf-fab-dim { opacity: .28 !important; transition: opacity .25s; }
.sf-fab-dim:hover, .sf-fab-dim:active { opacity: 1 !important; }

/* ═══ Dock ya kurasa za umma ═══ */
body.sf-pub { padding-bottom: 76px; }
.sf-dock { position: fixed; z-index: 9000; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-around; align-items: stretch;
  background: #fff; border-top: 1px solid #e3e8e5; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(16,32,24,.08); }
.sf-dock a, .sf-dock button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: transparent; text-decoration: none;
  color: #5f6f66; font: 600 11.5px/1.1 inherit; font-family: inherit; padding: 4px 2px; border-radius: 12px; min-height: 48px; cursor: pointer; }
.sf-dock i { font-size: 1.2rem; line-height: 1.2; color: var(--ic, #64748b); }
.sf-dock .on { color: #166534; }
.sf-dock .on i { background: #e9f6ee; border-radius: 999px; padding: 4px 14px; }
@media (min-width: 992px) { .sf-dock { left: 50%; right: auto; transform: translateX(-50%); bottom: 16px; width: 440px; border: 1px solid #e3e8e5; border-radius: 18px; } body.sf-pub { padding-bottom: 96px; } }


.topnav #navBurger { margin-right: 10px; }
.topnav { justify-content: flex-start !important; }
.topnav .nav-right { margin-left: auto; }

/* Dock ifichwe fomu ya Jiunge Nasi / dirisha la sehemu likiwa wazi (isizibe vitufe vya chini) */
body:has(.join-section.jm-open) .sf-pubdock,
body:has(#klSecModal.open) .sf-pubdock,
body:has(.topnav .nav-btns.open) .sf-pubdock { display: none !important; }
body:has(.join-section.jm-open) #lpBtn,
body:has(.join-section.jm-open) #lpPanel { display: none !important; }
body:has(.join-section.jm-open) { padding-bottom: 0; }
