/* ── Gumbi za učitavanje camt.053 izvoda ── */
.btn-upload-camt {
  padding: 5px 14px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-muted); font-family: inherit; font-size: 12px;
  font-weight: 600; cursor: pointer; transition: all 0.15s;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-upload-camt:hover { border-color: var(--green); color: var(--green); background: var(--green-dim); }
.btn-upload-camt svg { width: 13px; height: 13px; }

.btn-clear-camt {
  padding: 5px 14px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-muted); font-family: inherit; font-size: 12px;
  font-weight: 600; cursor: pointer; transition: all 0.15s;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-clear-camt:hover { border-color: rgba(255,80,80,0.5); color: #ff6b6b; background: rgba(255,80,80,0.07); }
.btn-clear-camt svg { width: 13px; height: 13px; }

/* ── Badge s brojem podudaranja iz camt.053 ── */
.camt-status-badge {
  display: none; align-items: center; gap: 5px;
  padding: 3px 10px; background: var(--green-dim);
  border: 1px solid var(--green-solid); border-radius: 20px;
  font-size: 11px; font-weight: 600; color: var(--green);
}
.camt-status-badge.visible { display: inline-flex; }

/* ── Gumb za ručni unos plaćanja (action bar) ── */
.btn-manual-payment {
  padding: 8px 18px; background: var(--surface-2); color: var(--text-muted);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-manual-payment:hover { border-color: var(--accent); color: var(--accent); }
.btn-manual-payment:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-manual-payment svg { width: 15px; height: 15px; }

/* ── Gumb za prijavu plaćanja (action bar) ── */
.btn-report-payment {
  padding: 8px 18px; background: var(--accent); color: #fff;
  border: none; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: opacity 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-report-payment:hover { opacity: 0.88; }
.btn-report-payment:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-report-payment svg { width: 15px; height: 15px; }

/* ── Gumb za Excel izvoz ── */
.btn-xlsx-export {
  padding: 5px 14px; background: #1d6f42; color: #fff;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: opacity 0.15s;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-xlsx-export:hover { opacity: 0.85; }
.btn-xlsx-export svg { width: 13px; height: 13px; }
html.light .btn-xlsx-export { background: #2e7d4f; }

/* ── Multi-select filter za Poslovni status ── */
.proc-status-filter {
  position: relative;
}
.proc-status-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-muted); font-family: inherit; font-size: 12px;
  font-weight: 600; cursor: pointer; outline: none;
  transition: border-color 0.15s, color 0.15s; white-space: nowrap;
}
.proc-status-btn:hover { border-color: var(--accent); color: var(--text); }
.proc-status-btn svg { width: 12px; height: 12px; flex-shrink: 0; }
.proc-status-btn.active { border-color: var(--accent); color: var(--accent); }

.proc-status-dropdown {
  display: none; position: absolute; top: calc(100% + 4px); right: 0;
  min-width: 200px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: 0 8px 28px var(--panel-shadow);
  z-index: 50; overflow: hidden;
}
.proc-status-dropdown.open { display: block; }

.proc-status-actions {
  display: flex; gap: 0; border-bottom: 1px solid var(--border);
}
.proc-status-actions button {
  flex: 1; padding: 6px 0; background: none; border: none;
  font-family: inherit; font-size: 11px; font-weight: 600;
  color: var(--accent); cursor: pointer; transition: background 0.12s;
  text-transform: uppercase; letter-spacing: 0.4px;
}
.proc-status-actions button:hover { background: var(--accent-dim); }
.proc-status-actions button + button { border-left: 1px solid var(--border); }

.proc-status-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 12px; cursor: pointer; font-size: 12px;
  color: var(--text); transition: background 0.1s;
}
.proc-status-item:hover { background: var(--surface-2); }
.proc-status-item input[type="checkbox"] {
  width: 14px; height: 14px; flex-shrink: 0;
  cursor: pointer; accent-color: var(--accent);
}
.proc-status-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Zelena boja za ćelije s podudarenim plaćanjem ── */
.payment-matched { color: var(--green) !important; }

/* ── Right-align za iznose ── */
th.col-amount, td.col-amount { text-align: right; }

/* ── Modal: lista plaćanja za prijavu ── */
.report-payment-list {
  margin: 12px 0 0; padding: 0; list-style: none;
  max-height: 300px; overflow-y: auto;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.report-payment-list li {
  padding: 8px 12px; border-bottom: 1px solid var(--border);
  font-size: 13px; display: flex; align-items: baseline; gap: 8px;
}
.report-payment-list li:last-child { border-bottom: none; }
.report-payment-list .rpl-docnr {
  font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 12px;
}
.report-payment-list .rpl-amount {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--green);
  margin-left: auto; text-align: right;
}
.report-payment-list .rpl-date {
  font-size: 11px; color: var(--text-muted);
}
