/* STAS-3989 work-order window: Planiranje, subtask rows (people, machines, plan, stopwatch, hours), popovers, toasts, hours modal. */

/* Icon-only buttons: Bootstrap's inline-block .btn with its 1.5 line-height sets the glyph about 1px high. */
button:is(.wow-kebab, .wow-btn-add, .wow-toast-x) { padding: 0; display: grid; place-items: center; line-height: 1; }

.wow-novo { display: inline-flex; align-items: center; background: #fdf0e3; color: #8a4f00; font-size: 13px; font-weight: 700; border-radius: 4px;
  padding: 1px 5px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.45; flex: none; font-style: normal; }

/* ── Popovers ── */
.wow-anchor { position: relative; }
.wow-backdrop { position: fixed; inset: 0; z-index: 1060; background: transparent; }
.wow-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 1061; width: 292px; background: #fff; border: 1px solid #dfe5eb; border-radius: 12px;
  box-shadow: 0 14px 40px rgba(15,32,48,.22); overflow: hidden; font-size: 13px; display: flex; flex-direction: column; text-align: left;
  animation: wow-pop-in .16s ease-out; }
.wow-pop.right { left: auto; right: 0; }
.wow-pop.up { top: auto; bottom: calc(100% + 6px); }
@keyframes wow-pop-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }
.wow-pop-h { padding: 10px 12px 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #5a7a8a; display: flex; gap: 7px;
  align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: none; }
.wow-pop-list { max-height: 330px; overflow-y: auto; padding-bottom: 6px; min-height: 0; }
.wow-pop-g { padding: 7px 12px 3px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; }
.wow-pop-empty { padding: 4px 12px 6px; font-size: 13px; color: #94a3b8; }
button.wow-pop-i { width: 100%; display: flex; align-items: center; gap: 9px; padding: 6px 12px; border: 0; border-radius: 0; background: none; font: inherit;
  font-size: 13px; text-align: left; cursor: pointer; color: #1e293b; box-shadow: none; }
button.wow-pop-i:hover, button.wow-pop-i:focus-visible { background: #eef4f7; color: #1e293b; }
button.wow-pop-i:disabled { cursor: not-allowed; opacity: .5; }
.wow-pop-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.wow-pop-t :is(b, strong) { font-size: 13px; color: #1e293b; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wow-pop-t small { font-size: 13px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wow-pop-t small.wow-avail { color: #b45309; font-weight: 600; white-space: normal; display: inline-flex; align-items: baseline; gap: 4px; }
.wow-pop-i .wow-chev { margin-left: auto; color: #94a3b8; font-size: 11px; }
.wow-cb { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid #94a3b8; display: grid; place-items: center; flex: none; color: #fff; font-size: 9px;
  background: #fff; transition: background-color .15s, border-color .15s; }
.wow-cb i { opacity: 0; }
.on > .wow-cb { background: #003951; border-color: #003951; }
.on > .wow-cb i { opacity: 1; }
.wow-cb.rad { border-radius: 50%; }
.wow-mi { width: 24px; height: 24px; border-radius: 7px; background: #eef4f7; border: 1px solid #cfe0e8; display: grid; place-items: center; color: #ED880E;
  font-size: 10.5px; flex: none; }
.wow-pop-f { border-top: 1px solid #eef0f2; padding: 8px 12px; font-size: 13px; color: #64748b; display: flex; gap: 7px; flex: none; }
.wow-pop-f i { color: #94a3b8; margin-top: 2px; }
.wow-pop-f.warn i { color: #d97706; }
.wow-pop-sep { border-top: 1px solid #eef0f2; margin: 4px 0; }
.wow-pop.res { width: 318px; }
.wow-pop.menu { width: 230px; padding: 6px 0; }
.wow-pop.menu button.wow-pop-i { padding: 8px 14px; gap: 10px; }
.wow-pop.menu button.wow-pop-i i { width: 14px; color: #5a7a8a; }
.wow-pop.menu button.wow-pop-i.danger, .wow-pop.menu button.wow-pop-i.danger i { color: #dc2626; }
.wow-pop.shifts { width: 300px; }
.wow-pop.plan { width: 360px; }
.wow-pop-body { padding: 4px 12px 10px; display: flex; flex-direction: column; gap: 8px; }
.wow-pop.plan .wow-pop-body { max-height: min(440px, 55vh); overflow-y: auto; }

/* ── Shift picker / dots ── */
button.wow-select { width: 100%; height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid #ced4da; border-radius: 8px;
  background: #fff; color: #1e293b; font-size: .9rem; font-weight: 600; text-align: left; box-shadow: none; }
button.wow-select:hover:not(:disabled), button.wow-select.open { border-color: #003951; background: #fff; color: #1e293b; }
button.wow-select:disabled { background: #e9ecef; opacity: 1; }
.wow-select-label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wow-caret { color: #5a7a8a; font-size: 11px; }
.wow-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; display: inline-block; }
.wow-dot.none { background: #fff; box-shadow: inset 0 0 0 1.5px #94a3b8; }
.wow-dot.both { background: linear-gradient(90deg, #f59e0b 50%, #6366f1 50%); }

/* ── Planiranje ── */
.wow-rdani { display: flex; align-items: center; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
button.wow-rd { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 6px 0 4px; border: 1px solid #cbd5e1; border-radius: 7px; background: #fff;
  font-weight: 600; font-size: 13px; line-height: 1; color: #334155; white-space: nowrap; box-shadow: none; }
button.wow-rd .wow-cb { width: 14px; height: 14px; font-size: 8.5px; }
button.wow-rd.on { border-color: rgba(0,57,81,.45); background: #eef5f8; color: #003951; }
button.wow-rd:not(.fixed):not(:disabled):hover { border-color: #003951; }
button.wow-rd.fixed, button.wow-rd:disabled { cursor: default; color: #64748b; background: #f8fafc; border-color: #e2e8f0; opacity: 1; }
button.wow-rd.fixed .wow-cb { background: #94a3b8; border-color: #94a3b8; }
button.wow-rd.fixed .wow-cb i { opacity: 1; }
.wow-hint, .wow-line { font-size: 13px; color: #64748b; display: flex; align-items: center; gap: 6px; margin-top: 3px; flex-wrap: wrap; }
.wow-hint i, .wow-line i { color: #94a3b8; font-size: 10.5px; }
.wow-line :is(b, strong) { color: #003951; font-weight: 700; }
.wow-line .warn { color: #b45309; }
.wow-line.wow-plan-end { flex-wrap: nowrap; }
button.wow-link { border: 0; background: none; padding: 0; color: #003951; font-weight: 700; font-size: 13px; text-decoration: underline dotted; box-shadow: none; }
button.wow-link:hover { color: #ED880E; background: none; }
.wow-readonly { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid #e2e8f0; border-radius: 8px; background: #f1f5f9;
  color: #475569; font-size: .9rem; }
.wow-readonly :is(b, strong) { color: #003951; white-space: nowrap; }
/* A long shift list must not widen its column and squeeze Procjena; the picker's label ellipsizes instead. */
.wow-plan-row > .wiz-field { min-width: 0; }
.wow-pair { display: flex; gap: 6px; align-items: center; }
.wow-pair > .wow-grow { flex: 1; min-width: 0; }

/* ── Subtasks ── */
.wow-st { margin: .5rem 0 .75rem; border-radius: 10px; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 1px 3px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.03); background: #fff; }
.wow-st-bar { padding: .5rem 1.125rem; background: linear-gradient(135deg, #003951 0%, #005a7a 100%); font-weight: 700; color: #fff; font-size: 13px;
  letter-spacing: .05em; text-transform: uppercase; display: flex; align-items: center; gap: .5rem; border-radius: 10px 10px 0 0; }
.wow-st-bar .wow-cnt { background: rgba(255,255,255,.18); border-radius: 999px; padding: 1px 8px; font-size: 13px; letter-spacing: 0; }
.wow-st-bar .wow-st-actions { margin-left: auto; text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.wow-st-bar .wow-st-actions label { color: #fff; margin: 0; }
.wow-st-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.wow-cols { display: grid; grid-template-columns: 30px minmax(0, 1fr) 180px minmax(250px, 340px) 118px 150px; gap: 0 10px; align-items: center; }
.wow-st-head { padding: 0 9px 2px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #5a7a8a; }
.wow-st-head > div { white-space: nowrap; }
.wow-st-head > .wow-st-head-title { white-space: normal; }
.wow-head-i { font-size: 11px; color: #94a3b8; margin-left: 2px; cursor: help; }
.wow-row { padding: 7px 8px; border: 1px solid #e0e0e0; border-radius: 8px; min-height: 58px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.wow-row.active { border-color: #003951; }
.wow-row.locked { opacity: .55; }
.wow-row.editing { background: #f8f9fa; }
.wow-idx { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.wow-idx .num { min-width: 24px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: #e9ecef; color: #495057; }
.wow-idx .num.active { background: #003951; color: #fff; }
.wow-idx .fa-lock { font-size: 9px; color: #94a3b8; }
.wow-idx:has(> .wow-mv) { gap: 0; }
button.wow-mv { width: 22px; height: 14px; padding: 0; border: 0; background: transparent; color: #94a3b8; display: grid; place-items: center; line-height: 1;
  font-size: 10px; border-radius: 4px; box-shadow: none; transition: background .12s, color .12s; }
button.wow-mv:hover:not(:disabled) { background: #e2e8f0; color: #003951; }
button.wow-mv.up { margin-top: -5px; }
button.wow-mv.dn { margin-bottom: -5px; }
.wow-title { font-weight: 700; font-size: 13.5px; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px;
  border-radius: 5px; padding: 0 4px; margin-left: -4px; max-width: max-content; }
.wow-title.can { cursor: text; }
.wow-title.can:hover { background: #f1f5f9; }
.wow-title .ed { font-size: 9.5px; color: #94a3b8; opacity: 0; transition: opacity .15s; }
.wow-title.can:hover .ed { opacity: 1; }
.wow-meta { display: flex; align-items: center; gap: 4px; margin-top: 4px; min-width: 0; flex-wrap: wrap; row-gap: 3px; font-size: 13px; }
.wow-chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 2px; border-radius: 999px; background: #f1f5f9; border: 1px solid #e2e8f0;
  font-size: 13px; font-weight: 600; color: #1e293b; white-space: nowrap; max-width: 100%; min-width: 0; }
.wow-chip .wow-av { width: 20px !important; height: 20px !important; min-width: 20px !important; min-height: 20px !important; font-size: 8.5px !important; }
.wow-chip .nm { padding-left: 1px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.wow-chip.term { border-color: #fecaca; color: #b91c1c; }
.wow-chip.mc { border-radius: 6px; background: #eef4f7; border-color: #cfe0e8; color: #003951; font-weight: 700; font-size: 13px; padding-left: 7px; }
.wow-chip.mc > i { color: #ED880E; font-size: 12px; }
button.wow-cx { width: 22px; height: 22px; border-radius: 50%; border: 0; background: transparent; color: #64748b; font-size: 12px; display: grid; place-items: center;
  padding: 0; flex: none; box-shadow: none; }
button.wow-cx:hover { background: #fee2e2; color: #dc2626; }
.wow-hm-row button.wow-cx { width: 28px; height: 28px; font-size: 14px; transition: background .12s, color .12s; }
button.wow-sdot { width: 10px; height: 10px; min-width: 10px; border-radius: 50%; border: 0; padding: 0; flex: none; margin: 0 1px 0 2px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(15,32,48,.12); }
button.wow-sdot.both { background: linear-gradient(90deg, #f59e0b 50%, #6366f1 50%) !important; }
button.wow-mini-add { width: 24px; height: 24px; border-radius: 50%; border: 1px dashed #94a3b8; background: #fff; color: #003951; font-size: 12px; display: grid;
  place-items: center; padding: 0; box-shadow: none; }
button.wow-mini-add:hover { border-color: #003951; border-style: solid; background: #eef4f7; color: #003951; }
.wow-warn-t { color: #b45309; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.wow-hint .wow-warn-t i { color: inherit; }
.wow-c2 { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wow-c2 :is(b, strong) { font-size: 13px; color: #1e293b; white-space: nowrap; }
.wow-c2 small { font-size: 13px; color: #64748b; white-space: nowrap; display: flex; align-items: center; gap: 5px; overflow: hidden; text-overflow: ellipsis; }
.wow-c2 .muted { color: #94a3b8; font-weight: 600; }
.wow-est { cursor: text; border-radius: 5px; margin-left: -4px; padding: 0 4px; max-width: max-content; }
.wow-est:hover { background: #f1f5f9; }
button.wow-plan-link { border: 0; background: none; padding: 0 4px; margin-left: -4px; border-radius: 4px; font-size: 13px; color: #64748b; text-align: left;
  white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; box-shadow: none; }
button.wow-plan-link:hover { background: #f1f5f9; color: #003951; }
.wow-inline-in { display: inline-flex; align-items: center; gap: 4px; }
.wow-inline-in input { width: 58px; font-size: 13px; font-weight: 700; color: #1e293b; border: 1px solid #003951; border-radius: 6px; padding: 1px 6px; height: 24px; }
.wow-inline-in.title input { width: 100%; min-width: 220px; }
.wow-inline-in span { font-size: 13px; color: #64748b; font-weight: 700; }
.wow-sw { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.wow-sw1 { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; white-space: nowrap; }
.wow-sw1 .badge { font-size: 13px; }
.wow-sw1 :is(b, strong) { font-size: 13px; color: #1e293b; }
.wow-sw1 .sw-ic { color: #5a7a8a; font-size: 12px; }
.wow-sw1 .paused { color: #a35a00; font-weight: 700; font-size: 13px; }
.wow-sw2 { font-size: 13px; color: #64748b; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wow-pulse { width: 9px; height: 9px; border-radius: 50%; background: #28a745; box-shadow: 0 0 0 0 rgba(40,167,69,.55); animation: wow-pulse 1.6s infinite; flex: none; }
@keyframes wow-pulse { 0% { box-shadow: 0 0 0 0 rgba(40,167,69,.55); } 70% { box-shadow: 0 0 0 7px rgba(40,167,69,0); } 100% { box-shadow: 0 0 0 0 rgba(40,167,69,0); } }
.wow-swbs { display: flex; gap: 5px; }
button.wow-swb { height: 32px; padding: 0 9px; border-radius: 7px; border: 1px solid; background: #fff; font-size: 13px; font-weight: 700; display: inline-flex;
  align-items: center; gap: 5px; white-space: nowrap; box-shadow: none; }
button.wow-swb i { font-size: 12px; }
button.wow-swb.go { color: #003951; border-color: #003951; }
button.wow-swb.go:hover { background: #eef4f7; color: #003951; }
button.wow-swb.pause { color: #a35a00; border-color: #eab06a; }
button.wow-swb.pause:hover { background: #fff6e6; color: #a35a00; }
button.wow-swb.fin { color: #1e7e34; border-color: #28a745; }
button.wow-swb.fin:hover { background: #ecf8ef; color: #1e7e34; }
button.wow-swb:disabled { color: #b8c2cc; border-color: #e2e8f0; background: #fff; opacity: 1; }
.wow-hrs :is(b, strong):not(.muted) { color: #003951; }
.wow-hrs .fa-lock { color: #b45309; font-size: 9.5px; }
.wow-act { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
button.wow-ups { height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid #003951; background: #fff; color: #003951; font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; box-shadow: none; }
button.wow-ups:hover:not(:disabled) { background: #eef4f7; color: #003951; }
button.wow-ups:disabled { color: #b8c2cc; border-color: #e2e8f0; opacity: 1; }
button.wow-kebab { width: 30px; height: 30px; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; color: #64748b; padding: 0; box-shadow: none; }
button.wow-kebab:hover { background: #f1f5f9; color: #1e293b; }
.wow-kebab-badge { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; border-radius: 999px; background: #003951; color: #fff; font-size: 9.5px;
  font-weight: 700; display: grid; place-items: center; padding: 0 4px; pointer-events: none; }
.wow-empty { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border: 1px dashed #cbd5e1; border-radius: 10px; color: #64748b; font-size: 13px;
  background: #f8fafc; }
.wow-empty i { color: #94a3b8; }
.wow-add { display: grid; grid-template-columns: minmax(0, 1fr) 210px 120px 34px; gap: 8px; margin-top: 4px; align-items: center; }
button.wow-pick { height: 34px; width: 100%; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid #003951; border-radius: 8px; background: #fff;
  color: #003951; font-size: .85rem; font-weight: 600; box-shadow: none; }
button.wow-pick:hover { background: #eef4f7; color: #003951; }
button.wow-pick .lbl { flex: 1; min-width: 0; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wow-est-in { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; }
.wow-est-in:focus-within { border-color: #003951; box-shadow: 0 0 0 3px rgba(0,57,81,.12); }
.wow-est-in input { border: 0 !important; outline: none; box-shadow: none !important; padding: 0 !important; height: auto; font-size: .85rem; width: 100%; min-width: 0; background: transparent; }
.wow-est-in .u { margin-left: auto; color: #64748b; font-weight: 700; }
button.wow-btn-add { width: 34px; height: 34px; border-radius: 8px; border: 0; background: #28a745; color: #fff; padding: 0; box-shadow: none; }
button.wow-btn-add:hover:not(:disabled) { background: #218838; color: #fff; }
.wow-av-stack { display: inline-flex; }
.wow-av-stack .wow-av { width: 20px !important; height: 20px !important; min-width: 20px !important; min-height: 20px !important; font-size: 8px !important; border: 1.5px solid #fff; }
.wow-av-stack .wow-av + .wow-av { margin-left: -6px; }

/* ── Po danima ── */
.wow-days { display: flex; flex-direction: column; gap: 2px; }
.wow-day { display: grid; grid-template-columns: 82px 64px minmax(0, 1fr) 24px; gap: 6px; align-items: center; font-size: 13px; color: #334155; min-height: 28px; }
.wow-day .d { font-weight: 700; color: #1e293b; }
.wow-day .from { color: #64748b; }
.wow-day .off { color: #94a3b8; grid-column: span 2; display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; white-space: nowrap; }
.wow-day .tag { font-size: 13px; font-weight: 700; color: #8a4f00; background: #fdf0e3; border-radius: 4px; padding: 1px 5px; margin-left: 4px; }
.wow-stepper { display: inline-flex; align-items: center; gap: 4px; }
button.wow-step { width: 28px; height: 28px; border-radius: 6px; border: 1px solid #cbd5e1; background: #fff; color: #003951; padding: 0; font-size: 12px; box-shadow: none; }
button.wow-step:hover:not(:disabled) { border-color: #003951; background: #eef4f7; color: #003951; }
.wow-stepper :is(b, strong) { min-width: 42px; text-align: center; color: #1e293b; cursor: text; border-radius: 4px; white-space: nowrap; }
.wow-stepper :is(b, strong):hover { background: #f1f5f9; }
.wow-stepper input.wow-hours-in { width: 100px; height: 28px; padding: 0 6px; text-align: center; font-size: 13px; font-weight: 600; color: #1e293b; }
.wow-changed { width: 7px; height: 7px; border-radius: 50%; background: #ED880E; display: inline-block; }
button.wow-reset { border: 0; background: none; padding: 0; color: #5a7a8a; font-size: 13px; box-shadow: none; white-space: nowrap; }
button.wow-reset:hover { color: #ED880E; background: none; }

/* ── Sati i cijena ── */
.wow-calc { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #475569; margin-top: 4px; flex-wrap: wrap; }
.wow-calc :is(b, strong) { color: #003951; }
.wow-calc strong.wow-hours-equal { color: #1e7e34; cursor: help; }
.wow-calc strong.wow-hours-differ { color: #b45309; cursor: help; }
.wow-calc .fa-circle-info { color: #94a3b8; }
button.wow-take { border: 1px solid #b6c6cf; background: #fff; color: #003951; font-weight: 700; font-size: 13px; line-height: 1; padding: 7px 10px; border-radius: 7px;
  display: inline-flex; align-items: center; gap: 5px; box-shadow: none; }
button.wow-take:hover:not(:disabled) { background: rgba(0,57,81,.06); border-color: #003951; color: #003951; }
button.wow-take:disabled { opacity: .45; }
.wow-wo-clock { display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.wow-wo-clock .wow-hint { margin-top: 0; }

/* ── Toasts ── */
.wow-toasts { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; align-items: center; gap: 8px;
  pointer-events: none; }
.wow-toast { pointer-events: auto; max-width: 760px; display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 14px; border-radius: 10px; background: #0f2030;
  color: #fff; font-size: 13px; box-shadow: 0 10px 30px rgba(15,32,48,.3); animation: wow-toast-in .22s ease-out; }
.wow-toast > i { color: #6ee7a0; }
.wow-toast.warn > i { color: #fbbf24; }
.wow-toast.err > i { color: #fca5a5; }
.wow-toast-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes wow-toast-in { from { opacity: 0; transform: translateY(-18px) scale(.96); } to { opacity: 1; transform: none; } }
button.wow-toast-act { height: 30px; padding: 0 10px; border: 0; border-radius: 7px; background: rgba(255,255,255,.14); color: #ffc98a; font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px; flex: none; box-shadow: none; }
button.wow-toast-act:hover { background: rgba(255,255,255,.24); color: #ffc98a; }
button.wow-toast-act i { font-size: 12px; }
button.wow-toast-x { width: 24px; height: 24px; border: 0; border-radius: 6px; background: transparent; color: rgba(255,255,255,.6); padding: 0; flex: none; box-shadow: none; }
button.wow-toast-x:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ── Upiši sate ── */
.wow-seg { display: inline-flex; border: 1px solid #cbd5e1; border-radius: 9px; padding: 2px; background: #f8fafc; gap: 2px; }
button.wow-seg-b { height: 34px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: #475569; font-size: 13px; font-weight: 700; box-shadow: none; }
button.wow-seg-b.on { background: #003951; color: #fff; }
button.wow-seg-b:disabled:not(.on) { color: #b8c2cc; opacity: 1; }
.wow-hm-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid #f1f5f9; font-size: 13px; }
.wow-hm-row:last-child { border-bottom: 0; }
.wow-hm-row .who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wow-hm-row .who small { color: #94a3b8; }
.wow-hm-sum { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #475569; margin-top: 8px; flex-wrap: wrap; }
.wow-hm-sum :is(b, strong) { color: #003951; }
.wow-hm-lock { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border-radius: 8px; background: #fff7ed; color: #9a3412; font-size: 13px; }
.wow-hm-group { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #5a7a8a; margin: 10px 0 2px; }
.wow-hm-existing .wow-hm-row { grid-template-columns: 118px minmax(0, 1fr) auto auto; }
.wow-hm-row.out > :not(button) { opacity: .45; }
.wow-hm-row.out > strong { text-decoration: line-through; }
.wow-hm-day { position: relative; }
button.wow-hm-day-b { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; margin-left: -8px; border: 0; border-radius: 6px;
  background: transparent; color: #1e293b; font-size: 13px; white-space: nowrap; box-shadow: none; transition: background .12s, color .12s; }
button.wow-hm-day-b:hover { background: #eef4f7; color: #003951; }
button.wow-hm-day-b .ed { font-size: 11px; color: #94a3b8; }
button.wow-hm-day-b:hover .ed { color: #003951; }
.wow-hm-picker { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.wow-hm-existing .gone { color: #94a3b8; font-size: 13px; }
