/* Monly — paneli u Monly sistemu.
   Prodavac, agent-panel, investitor-panel i moj-profil su građeni na starom
   navy/plavom sloju (theme-navy.css, panel-premium.css, prodavac.css,
   investitor-panel.css, moj-profil.css). Ovaj sloj ne dira raspored ni
   ponašanje: mijenja samo boje, ivice, sjene i tipografiju, po istim
   pravilima kao javni dio sajta (monly-pocetna.css / monly.css):
   crna tipografija na bijelom, hairline #e6e7e9, radijus 4 px, bez sjena,
   zelena samo za pozitivna stanja. */

@font-face{font-family:'Inter Tight';font-style:normal;font-weight:400 800;font-display:swap;src:url('assets/fonts/inter-var-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:400 800;font-display:swap;src:url('assets/fonts/inter-var-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- 1. Tokeni: sve plavo/navy postaje Monly neutralno ---------- */
body.theme-navy,
body.mp-body,
body.panel-ui {
  --navy: #0c0d0f;
  --navy-deep: #0c0d0f;
  --brand: #0c0d0f;
  --brand-dark: #000000;
  --brand-2: #3a3e45;
  --brand-soft: #f4f4f5;
  --blue: #0c0d0f;
  --blue-dark: #000000;
  --blue-soft: #f4f4f5;
  --green: #15803d;
  --gold: #6b7079;
  --ink: #0c0d0f;
  --text: #3a3e45;
  --muted: #6b7079;
  --line: #e6e7e9;
  --soft: #f4f4f5;
  --surface: #ffffff;
  --field: #ffffff;
  --panel: #ffffff;
  --danger: #b42318;
  --r: 4px;
  --pd-green: #15803d;
  --pd-gold: #6b7079;
  --pd-line: #e6e7e9;
  --pd-ink: #0c0d0f;
  --pd-muted: #6b7079;
  --shadow: none;
  --domis-display: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --domis-ui: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --domis-mono: 'Inter Tight', system-ui, sans-serif;
  --mp-navy: #0c0d0f;
  --mp-deep: #0c0d0f;
  --mp-deep-2: #3a3e45;
  --mp-brass: #6b7079;
  --mp-brass-soft: #f4f4f5;
  --mp-cream: #ffffff;
  --mp-line: #e6e7e9;
  --mp-ink: #0c0d0f;
  --mp-muted: #6b7079;
  background: #ffffff;
  color: #3a3e45;
  font-family: var(--domis-ui);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 2. Zaglavlje: bijelo, hairline, crno ---------- */
body :is(.topbar, .top, header.topbar) {
  background: #ffffff !important;
  border-bottom: 1px solid #e6e7e9 !important;
  box-shadow: none !important;
  color: #0c0d0f;
}
body :is(.topbar-inner, .topbar .nav) { border-color: #e6e7e9 !important; }

body .brand,
body .brand:visited {
  color: #0c0d0f !important;
  font-family: var(--domis-display);
  font-weight: 700 !important;
  letter-spacing: -.03em;
}
body .brand-symbol {
  background: #0c0d0f !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}
body :is(.main-nav, .nav-links) a,
body :is(.login-link, .nav-actions a:not(.post-button)) {
  color: #3a3e45 !important;
  font-size: 12.5px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-weight: 500 !important;
}
body :is(.main-nav, .nav-links) a:hover,
body :is(.login-link, .nav-actions a:not(.post-button)):hover { color: #0c0d0f !important; }

/* ---------- 3. Dugmad: crna, radijus 4 px, bez sjene ---------- */
body :is(.post-button, .nav-cta, .btn, .button, .mp-btn, .ui-empty-btn) {
  background: #0c0d0f !important;
  color: #ffffff !important;
  border: 1px solid #0c0d0f !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-family: var(--domis-ui);
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  padding: 0 16px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity .16s, background .16s, color .16s, border-color .16s;
}
body :is(.post-button, .nav-cta, .btn, .button, .mp-btn, .ui-empty-btn):hover {
  background: #26282b !important;
  border-color: #26282b !important;
  opacity: 1 !important;
}
body :is(.btn, .button, .mp-btn).ghost,
body button.ghost {
  background: #ffffff !important;
  color: #0c0d0f !important;
  border-color: #e6e7e9 !important;
}
body :is(.btn, .button, .mp-btn).ghost:hover { border-color: #0c0d0f !important; background: #ffffff !important; }

body :is(.post-button, .nav-cta) { min-height: 34px; padding: 0 13px; font-size: 12.5px !important; }

/* javni profil prodavaca: glavna radnja ispod praznog stanja */
body .pv-cta,
body .pv-back a {
  background: #0c0d0f !important;
  color: #ffffff !important;
  border: 1px solid #0c0d0f !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 10px 16px !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}
body .pv-cta:hover { background: #26282b !important; color: #ffffff !important; }
body .pv-back a { background: #ffffff !important; color: #0c0d0f !important; border-color: #e6e7e9 !important; }
body .pv-back a:hover { border-color: #0c0d0f !important; }
body :is(.pv-card, .pv-tabs, .pv-grid) { border-color: #e6e7e9 !important; box-shadow: none !important; }
body .pv-tabs button.is-active { color: #0c0d0f !important; border-color: #0c0d0f !important; }
body .pv-cover { background: #0c0d0f !important; }

/* dugmad sa .primary / .block (specifičniji selektori od gornjih) */
body :is(.btn, .button, .mp-btn).primary,
body :is(.btn, .button).block,
body :is(.btn, .button).primary.block {
  background: #0c0d0f !important;
  color: #ffffff !important;
  border-color: #0c0d0f !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}
body :is(.btn, .button).primary:hover { background: #26282b !important; }
/* sekundarna dugmad u koloni (ghost + block) ostaju bijela sa ivicom */
body :is(.btn, .button, .mp-btn).ghost.block,
body :is(.btn, .button, .mp-btn).block.ghost,
body :is(.btn, .button, .mp-btn).ghost {
  background: #ffffff !important;
  color: #0c0d0f !important;
  border: 1px solid #e6e7e9 !important;
  box-shadow: none !important;
}
body :is(.btn, .button, .mp-btn).ghost.block:hover,
body :is(.btn, .button, .mp-btn).ghost:hover {
  background: #fafafa !important;
  border-color: #0c0d0f !important;
}

/* brend u zaglavlju: crn, bez plavog slova */
body.theme-navy :is(.brand, .brand span, .brand-word, .brand-word b),
body.mp-body :is(.brand, .brand span) {
  color: #0c0d0f !important;
}
body.theme-navy .brand-symbol,
body.mp-body .brand-symbol {
  background: #0c0d0f !important;
  color: #ffffff !important;
  border-radius: 4px !important;
}

/* akcenat u naslovu i točka u natpisu: bez zlatne i plave */
body :is(h1, h2) span { color: #0c0d0f !important; }
body .eyebrow span,
body .kicker span { background: #0c0d0f !important; }
body .eyebrow { color: #6b7079 !important; }
body .topbar .brand .brand-symbol,
body .topbar .brand-symbol,
body.theme-navy .brand-symbol,
body.mp-body .brand-symbol {
  color: #ffffff !important;
  background: #0c0d0f !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  border-radius: 4px !important;
}

/* ---------- 4. Kartice, paneli, blokovi ---------- */
body :is(.panel, .card, .block, .mp-card, .mp-editor, .mp-follow-card,
         .billing-panel, .billing-profile, .agency-info, .agency-team,
         .agent-photo-field, .ui-pf-side) {
  background: #ffffff !important;
  border: 1px solid #e6e7e9 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}
body :is(.panel, .card, .mp-card, .mp-editor) h1,
body :is(.panel, .card, .mp-card, .mp-editor) h2,
body :is(.panel, .card) h3 {
  font-family: var(--domis-display);
  color: #0c0d0f !important;
  letter-spacing: -.02em;
  font-weight: 600 !important;
}

/* ---------- 5. Naslovi i tekst ---------- */
body h1, body h2, body h3, body h4, body h5, body h6 {
  font-family: var(--domis-display) !important;
  color: #0c0d0f !important;
  letter-spacing: -.022em;
}
body h1 { font-weight: 700; }
body p, body li, body dd, body .muted { color: #3a3e45; }
body :is(small, .note, .hint, .sub, time) { color: #6b7079; }
body a { color: #0c0d0f; }
body a:hover { text-decoration: underline; text-underline-offset: 3px; }

body :is(.eyebrow, .kicker, .tag) {
  color: #6b7079 !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 10.5px;
  font-weight: 600;
}

/* panel-premium uvodi svoju zlatnu — neutralisemo je na Monly crnu/sivu */
body.panel-ui,
body :is(.panel-ui, .pp) {
  --pp-gold: #0c0d0f;
  --pp-gold-soft: #f4f4f5;
  --pp-gold-line: #e6e7e9;
  --gold: #6b7079;
  --gold-soft: #f4f4f5;
  --gold-line: #e6e7e9;
}
body :is(.tabs, .panel-tabs, .pp-tabs) :is(button, a).active::after,
body :is(.tabs, .panel-tabs, .pp-tabs) [aria-selected="true"]::after {
  background: #0c0d0f !important;
  height: 2px !important;
  border: 0 !important;
  box-shadow: none !important;
}
body :is(.tabs, .panel-tabs, .pp-tabs) :is(button, a).active,
body :is(.tabs, .panel-tabs, .pp-tabs) [aria-selected="true"] {
  border-color: #0c0d0f !important;
  box-shadow: none !important;
}

/* ---------- 6. Forme ---------- */
body :is(input, select, textarea) {
  background: #ffffff !important;
  border: 1px solid #e6e7e9 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-family: var(--domis-ui);
  font-size: 13px;
  color: #0c0d0f;
  min-height: 40px;
}
body textarea { min-height: 90px; padding: 10px 12px; }
body :is(input, select, textarea):focus {
  border-color: #0c0d0f !important;
  box-shadow: none !important;
  outline: 2px solid #0c0d0f !important;
  outline-offset: -1px;
}
body label { color: #3a3e45; font-size: 12.5px; font-weight: 500; }
body :is(input, select)[type=checkbox], body input[type=radio] {
  min-height: 0; accent-color: #0c0d0f;
}

/* ---------- 7. Tabele, liste, redovi ---------- */
body table { border-collapse: collapse; }
body :is(th) {
  color: #6b7079 !important;
  font-size: 10.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid #e6e7e9 !important;
  background: #ffffff !important;
}
body :is(td) { border-bottom: 1px solid #e6e7e9 !important; color: #3a3e45; }
body :is(tr:hover td) { background: #fafafa; }

body :is(.agency-invite-row, .agency-info-grid > *, .billing-invoices li,
         .billing-notice, .agent-photo-actions, .agency-gallery-head) {
  border-color: #e6e7e9 !important;
  background: #ffffff !important;
}

/* ---------- 8. Statusi, oznake, obavijesti ---------- */
body :is(.badge, .pill, .status, .chip, .tag-pill) {
  border-radius: 4px !important;
  border: 1px solid #e6e7e9 !important;
  background: #ffffff !important;
  color: #3a3e45 !important;
  box-shadow: none !important;
  font-size: 11px;
  font-weight: 600;
}
body :is(.badge, .pill, .status, .chip).is-on,
body :is(.badge, .pill, .status, .chip).active,
body :is(.badge, .pill, .status).ok,
body :is(.badge, .pill, .status).is-success,
body .active > .badge {
  background: #0c0d0f !important;
  border-color: #0c0d0f !important;
  color: #ffffff !important;
}
body :is(.ok, .success, .is-success, .legal-status.ok) { color: #15803d !important; }
body :is(.error, .danger, .is-error) { color: #b42318 !important; }

body :is(.billing-notice, .form-status, .mp-empty, .ui-empty) {
  background: #fafafa !important;
  border: 1px solid #e6e7e9 !important;
  border-radius: 4px !important;
  color: #3a3e45 !important;
}
body .form-status.success { color: #15803d !important; }
body .form-status.error { color: #b42318 !important; }

/* statusne oznake projekata (bile mesingane, zaobljene) */
body .ip-project-status,
body [class*="ip-project-status"] {
  background: #f4f4f5 !important;
  border: 1px solid #e6e7e9 !important;
  color: #3a3e45 !important;
  border-radius: 4px !important;
  font-weight: 600;
  letter-spacing: .04em;
}
body .ip-project-status.is-useljivo,
body .ip-project-status.is-done,
body [class*="ip-project-status"].is-useljivo {
  background: #f0fdf4 !important;
  border-color: #bbf7d0 !important;
  color: #15803d !important;
}

/* ---------- 9. Tabovi u panelu: crna linija umjesto plave ---------- */
body :is(.tabs, .panel-tabs, .mp-tabs) { border-bottom: 1px solid #e6e7e9 !important; }
body :is(.tabs, .panel-tabs, .mp-tabs) :is(button, a) {
  color: #6b7079 !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 2px;
}
body :is(.tabs, .panel-tabs, .mp-tabs) :is(button, a):hover { color: #0c0d0f !important; }
body :is(.tabs, .panel-tabs, .mp-tabs) :is(button, a).active,
body :is(.tabs, .panel-tabs, .mp-tabs) [aria-selected="true"] {
  color: #0c0d0f !important;
  border-bottom-color: #0c0d0f !important;
  background: transparent !important;
}

/* ---------- 10. Podnožje ---------- */
body :is(.footer, footer, .foot) {
  background: #ffffff !important;
  border-top: 1px solid #e6e7e9 !important;
  color: #6b7079;
  box-shadow: none !important;
}
body .footer-links a, body .footer-inner a { color: #3a3e45 !important; font-size: 12px; }
body .footer-links a:hover { color: #0c0d0f !important; }
body .footer-inner { color: #6b7079; }

/* ---------- 10b. Korisnički čip i inicijali ---------- */
body :is(.account-chip, .account-avatar) {
  background: #f4f4f5 !important;
  border: 1px solid #e6e7e9 !important;
  border-radius: 4px !important;
  color: #3a3e45 !important;
  box-shadow: none !important;
}
body .account-chip-initials { color: #3a3e45 !important; font-weight: 600; }
body .footer-inner .brand-symbol,
body .foot .brand-symbol,
body footer .brand-symbol { color: #ffffff !important; background: #0c0d0f !important; }
body .agent-photo-preview span { color: #6b7079 !important; }
body .agent-photo-preview { background: #f4f4f5 !important; }

/* ---------- 11. Avatari, slike, galerija ---------- */
body :is(.mp-avatar, .agent-photo-preview, .agency-gallery img, .avatar) {
  border-radius: 4px !important;
  border: 1px solid #e6e7e9 !important;
  box-shadow: none !important;
  background: #f4f4f5;
}
body .agent-photo-preview img { border-radius: 4px !important; }

/* ---------- 12. Posebno: moj-profil (mp-*) ---------- */
body.mp-body :is(.mp-card-head, .mp-admin-card, .mp-admin-tool) {
  border-color: #e6e7e9 !important;
  background: #ffffff !important;
  box-shadow: none !important;
  border-radius: 4px !important;
}
body.mp-body :is(.mp-card-head) { border-bottom: 1px solid #e6e7e9 !important; }
body.mp-body :is(.mp-card-sub, .mp-empty p) { color: #6b7079 !important; }
body.mp-body :is(.brass, .mp-brass) { color: #6b7079 !important; border-color: #e6e7e9 !important; }
body.mp-body :is(.dark, .mp-deep) { background: #0c0d0f !important; color: #ffffff !important; }

/* ---------- 12b. moj-profil: gornji blok (bio tamni navy gradient) ---------- */
body.mp-body .mp-hero {
  background: #ffffff !important;
  border: 1px solid #e6e7e9 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  color: #3a3e45 !important;
}
body.mp-body .mp-hero::before { background: none !important; }
body.mp-body .mp-hero h1 { color: #0c0d0f !important; }
body.mp-body .mp-hero :is(.mp-kicker, .mp-meta, .mp-membership-label, .mp-plan-note) { color: #6b7079 !important; }
body.mp-body .mp-avatar {
  background: #0c0d0f !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 4px !important;
  font-family: var(--domis-display);
  font-weight: 700;
}
body.mp-body .mp-hero .mp-btn.ghost,
body.mp-body .mp-hero .mp-btn.outline {
  background: #ffffff !important;
  border: 1px solid #e6e7e9 !important;
  color: #0c0d0f !important;
  box-shadow: none !important;
}
body.mp-body .mp-hero .mp-btn.ghost:hover,
body.mp-body .mp-hero .mp-btn.outline:hover { border-color: #0c0d0f !important; background: #fafafa !important; color: #0c0d0f !important; }
body.mp-body .mp-btn.brass,
body.mp-body .mp-hero .mp-btn.brass {
  background: #0c0d0f !important;
  border: 1px solid #0c0d0f !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
body.mp-body .mp-btn.brass:hover,
body.mp-body .mp-hero .mp-btn.brass:hover { background: #26282b !important; color: #ffffff !important; }

/* traka sa brojevima: bijela, hairline */
body.mp-body .mp-stats {
  background: #ffffff !important;
  border-top: 1px solid #e6e7e9 !important;
  color: #0c0d0f !important;
}
body.mp-body .mp-stat { border-color: #e6e7e9 !important; background: transparent !important; }
body.mp-body .mp-stat :is(b, strong) { color: #0c0d0f !important; font-family: var(--domis-display); }
body.mp-body .mp-stat :is(small, span) { color: #6b7079 !important; }

/* kartica paketa */
body.mp-body .mp-membership {
  background: #ffffff !important;
  border: 1px solid #e6e7e9 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  color: #3a3e45 !important;
}
body.mp-body .mp-membership :is(h2, h3, b, strong) { color: #0c0d0f !important; }
body.mp-body .mp-plan-bar { background: #e6e7e9 !important; }
body.mp-body .mp-plan-bar > * { background: #0c0d0f !important; }
body.mp-body :is(.mp-plan-row, .mp-membership-actions) { border-color: #e6e7e9 !important; }

/* lijeva traka i tabovi */
body.mp-body .mp-rail { border-color: #e6e7e9 !important; background: #ffffff !important; }
body.mp-body :is(.mp-rail-group, .mp-sections, .mp-panel, .mp-work) {
  border-color: #e6e7e9 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}
body.mp-body :is(.mp-tabs) { border-color: #e6e7e9 !important; }
body.mp-body .mp-tabs .mp-rail-ico { color: #6b7079 !important; }
body.mp-body .mp-tabs button.active .mp-rail-ico,
body.mp-body .mp-tabs button:hover .mp-rail-ico { color: #0c0d0f !important; }
body.mp-body .mp-pill.brass { background: #f4f4f5 !important; color: #3a3e45 !important; border: 1px solid #e6e7e9 !important; border-radius: 4px !important; }
body.mp-body #mpPlanPrice,
body.mp-body .mp-plan-price { color: #6b7079 !important; }
body.mp-body .mp-tab-count { background: #f4f4f5 !important; color: #3a3e45 !important; border-color: #e6e7e9 !important; }

/* ---------- 12c. Privatni dio agencije u panelu ---------- */
body :is(.agency-member-link, .agency-promote) { color: #0c0d0f !important; }
body .agency-promote {
  background: #f4f4f5 !important;
  border: 1px solid #e6e7e9 !important;
  border-radius: 4px !important;
  padding: 3px 8px;
  font-weight: 600;
  text-decoration: none !important;
}
body .agency-remove { color: #b42318 !important; }
body :is(.agency-member-row, .agency-invite-row) {
  border-radius: 4px !important;
  border-color: #e6e7e9 !important;
  background: #ffffff !important;
}
body .agency-member-avatar {
  background: #f4f4f5 !important;
  color: #3a3e45 !important;
  border-radius: 4px !important;
}
body .agency-member-mail { color: #6b7079 !important; }
body :is(.agency-inbox-toggle, .agency-invite, .agency-gallery-head) {
  background: #ffffff !important;
  border: 1px solid #e6e7e9 !important;
  border-radius: 4px !important;
  color: #3a3e45 !important;
}
body .agency-count { color: #6b7079 !important; }

/* trake iskorištenja paketa (bile mesingane) */
body .pu-bar { background: #ececee !important; }
body .pu-bar i,
body .pu-bar.is-warn i,
body .pu-bar.is-full i {
  background: #0c0d0f !important;
  background-image: none !important;
}
body .pu-bar.is-full i { background: #b42318 !important; }

/* ---------- 13. Skeleton i prazna stanja ---------- */
body :is(.ui-sk-img, .ui-sk-line, .ui-sk-avatar, .ui-sk-card) {
  background: #f4f4f5 !important;
  border-color: #e6e7e9 !important;
  border-radius: 4px !important;
}

@media (max-width: 720px) {
  body :is(.post-button, .nav-cta) { min-height: 36px; }
  body :is(.btn, .button, .mp-btn) { min-height: 44px; }
  body :is(input, select) { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  body * { transition: none !important; }
}
