/* PRODANO (v490): okno z vprašanjem, kje je bil izdelek prodan (js/item-sold.js), in značka
   Prodano. Okno podeduje obliko od .auth-modal-* kot #fable-confirm (style-child.css), tu so
   samo postavitev, mere in značka. */
#fable-sold {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
#fable-sold.open { display: flex; }
#fable-sold .auth-modal-box { max-width: 440px; padding: 36px 40px 30px; }
#fable-sold .auth-title { margin-bottom: 12px !important; padding-right: 24px; }
#fable-sold .auth-btn-primary:disabled,
#fable-sold .auth-btn-secondary:disabled { opacity: .6; cursor: default !important; }
.fable-sold-text { margin: 0; font-size: 15px; line-height: 1.5; color: #444; }
.fable-sold-actions { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 0; }
.fable-sold-note { margin: 14px 0 0; font-size: 13px; line-height: 1.45; color: #6b7280; }
.fable-sold-error { margin: 12px 0 0; font-size: 14px; color: #c5221f; }
html[data-theme="dark"] .fable-sold-text { color: var(--fd-text-muted, #a6adb6); }
html[data-theme="dark"] .fable-sold-note { color: var(--fd-text-muted, #a6adb6); }
html[data-theme="dark"] .fable-sold-error { color: #f28b82; }
@media (max-width: 480px) {
  #fable-sold .auth-modal-box { padding: 30px 22px 22px; }
}

/* Značka ob ceni na strani oglasa */
.fable-sold-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .02em;
  text-transform: uppercase;
}
html[data-theme="dark"] .fable-sold-badge { background: #f3f4f6; color: #111827; }

/* Značka na sliki kartice v Mojih oglasih (zraven DEAKTIVIRAN / Premium) */
.thumb-badges .fable-sold-badge { margin-left: 0; font-size: 11px; padding: 2px 8px; }
