/* Ista karbon + plava pozadina kao nova narudžba. */
body {
  background-color: #07090e !important;
  background-image:
    radial-gradient(ellipse 75% 48% at 100% -8%, rgba(37,99,235,.48), transparent 52%),
    radial-gradient(ellipse 55% 42% at -8% 108%, rgba(29,78,216,.38), transparent 50%),
    linear-gradient(45deg, rgba(255,255,255,.035) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.035) 75%),
    linear-gradient(45deg, rgba(255,255,255,.035) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.035) 75%),
    linear-gradient(180deg, #0c1018, #07090e) !important;
  background-size: auto, auto, 8px 8px, 8px 8px, auto !important;
  background-position: 0 0, 0 0, 0 0, 4px 4px, 0 0 !important;
  background-attachment: fixed !important;
}
html.embed .topbar { display: none !important; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px 12px !important;
  padding: 10px 16px !important;
}
.brand { flex: 0 0 auto; white-space: nowrap; }
.nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 320px;
  min-width: 0;
}
.nav a, .tabs .tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 7px 11px;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 750;
  font-size: 12.5px;
  line-height: 1.2;
  white-space: nowrap;
  color: #e8eaed !important;
  background: linear-gradient(180deg, #1d4ed8, #0f172a);
  border: 1px solid rgba(147,197,253,.45);
  box-shadow: 0 8px 18px rgba(15,23,42,.35);
  cursor: pointer;
  transition: transform .15s, filter .15s, box-shadow .15s, border-color .15s;
}
.nav a:hover, .tabs .tab:hover, .tabs .tab.active, .nav a.active {
  transform: translateY(-1px);
  filter: brightness(1.12);
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #3b82f6, #1e3a8a);
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(37,99,235,.35);
}
.tabs { gap: 8px !important; background: transparent !important; flex-wrap: wrap; }
.bell, .mailbtn {
  position: relative;
  background: linear-gradient(180deg, #1d4ed8, #0f172a);
  border: 1px solid rgba(147,197,253,.45);
  color: #fff;
  border-radius: 999px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  margin-left: 8px;
}
.bell b, .mailbtn b {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ef4444;
  color: #fff;
  border-radius: 99px;
  font-size: 10px;
  padding: 1px 5px;
}
.blink { animation: simicBlink 1s steps(2, end) infinite; }
@keyframes simicBlink {
  50% { filter: brightness(1.7); box-shadow: 0 0 0 4px rgba(59,130,246,.55); }
}
.topbar { position: sticky; top: 0; z-index: 120; }
.inbox, .mailinbox {
  position: fixed;
  right: 16px;
  top: 64px;
  width: min(360px, 92vw);
  background: #12151c;
  border: 1px solid #2a3548;
  border-radius: 14px;
  z-index: 230;
  padding: 10px;
  display: none;
  max-height: min(420px, 70vh);
  overflow: auto;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.inbox.on, .mailinbox.on { display: block; }

.hamb { display: none; }
#hambMenu { display: none; }
.mchips { display: none; }

@media (max-width: 800px) {
  html, body { overflow-x: hidden; }
  .topbar {
    position: relative !important;
    padding: 8px 58px 8px 8px !important;
    gap: 8px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
  }
  .brand {
    font-size: 13px !important;
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .nav, .tabs { display: none !important; }
  .hamb {
    display: inline-flex !important;
    position: absolute !important;
    right: 8px !important;
    top: 8px !important;
    margin: 0 !important;
    z-index: 40;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(147,197,253,.45);
    background: linear-gradient(180deg, #1d4ed8, #0f172a);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
  }
  .mchips {
    display: flex;
    gap: 6px;
    align-items: center;
  }
  .mchips a, .mchips span {
    color: #e8eaed;
    text-decoration: none;
    font-size: 12px;
    font-weight: 750;
    padding: 7px 9px;
    border-radius: 999px;
    border: 1px solid rgba(147,197,253,.35);
    background: rgba(15,23,42,.8);
    white-space: nowrap;
  }
  body.menu-open { overflow: hidden; }
  #hambMenu.on {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: fixed;
    z-index: 400;
    left: 8px;
    right: 8px;
    top: 64px;
    max-height: calc(100vh - 80px);
    overflow: auto;
    padding: 12px;
    border-radius: 16px;
    background: #10141c;
    border: 1px solid #2a3548;
  }
  #hambMenu a {
    color: #e8eaed;
    text-decoration: none;
    font-weight: 750;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, #1d4ed8, #0f172a);
  }
  .container, .settings-wrap { padding: 12px !important; max-width: 100% !important; }
  .work, .grid, .stats, .packages, .method-grid, .steps, .row2, .row3, .reads { grid-template-columns: 1fr !important; }
  .card, .card-box, .modal-box, .pkg, .balance { max-width: 100%; }
  .modal.on { align-items: stretch; }
  .modal-box { width: 100% !important; max-width: 100% !important; max-height: 100vh; border-radius: 0; }
  table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  th, td { white-space: nowrap; }
  input, select, textarea, button { max-width: 100%; }
  input, select, textarea { font-size: 16px !important; }
  .hours, .who { flex-direction: column !important; align-items: flex-start !important; gap: 6px !important; }
  .inbox, .mailinbox { left: 8px; right: 8px; width: auto; top: 108px; }
  .bell, .mailbtn { width: 40px; height: 40px; }
}
.contact-strip { display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:center; padding:8px 12px 18px; color:#d5dbe3; font-size:14px; }
.contact-strip a { color:#fff; text-decoration:none; font-weight:750; padding:8px 12px; border-radius:999px; background:linear-gradient(180deg,#1d4ed8,#0f172a); border:1px solid rgba(147,197,253,.45); }
.contact-strip a.wa { background:linear-gradient(180deg,#16a34a,#14532d); }
.contact-strip a.vb { background:linear-gradient(180deg,#7c3aed,#4c1d95); }
.backbtn { display:inline-flex; align-items:center; margin:8px 0 16px; padding:8px 14px; border-radius:10px; color:#fff !important; text-decoration:none; font-weight:750; background:linear-gradient(180deg,#2563eb,#1d4ed8); }

