/* Board náboru v administrácii */
.board-hint { margin: -4px 0 14px; font-size: 14px; }
.board-search { padding: 8px 12px; border: 1.5px solid #e3ddd3; border-radius: 10px; font: inherit; min-width: 240px; }
.board { display: grid; grid-template-columns: repeat(5, minmax(205px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.board-col { background: #f7f4ef; border-radius: 14px; padding: 10px; min-height: 120px; border-top: 4px solid #c9c2b8; }
.board-lead { border-top-color: #8a8580; }
.board-missing { border-top-color: #e0a100; }
.board-ready { border-top-color: #f36805; }
.board-bistro { border-top-color: #3a7bd5; }
.board-active { border-top-color: #1a8682; }
.board-col-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 15px; color: #242e30; padding: 2px 4px; }
.board-count { background: #fff; border-radius: 999px; padding: 1px 10px; font-size: 13px; }
.board-col-sub { font-size: 12px; color: #7a746e; margin: 2px 4px 10px; }
.board-empty { font-size: 13px; padding: 4px; }
.bc { background: #fff; border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(36, 46, 48, 0.08); font-size: 14px; }
.bc-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.bc-age { font-size: 12px; color: #9a948d; white-space: nowrap; }
.bc-meta { color: #5c5752; font-size: 13px; margin-top: 2px; }
.bc-meta a { color: inherit; }
.bc-msg { font-size: 13px; font-style: italic; color: #5c5752; margin-top: 6px; }
.bc-missing { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: #a15c00; }
.bc-missing li { margin: 1px 0; }
.bc-rem { font-size: 12px; color: #1a8682; margin-top: 6px; }
.bc-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bc-actions .btn-sm { padding: 5px 10px; font-size: 13px; }

/* Portál: návody k chýbajúcim veciam */
.docs-help { margin: 12px 0 4px; background: #fff8f1; border: 1.5px solid #f9d3b0; border-radius: 14px; padding: 12px 14px; }
.docs-help-title { font-weight: 800; margin: 0 0 8px; color: #242e30; }
.docs-help-item { border-top: 1px solid #f3e2d2; padding: 8px 0; }
.docs-help-item summary { cursor: pointer; font-weight: 600; color: #242e30; }
.docs-help-item p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: #4a4542; }
.docs-help-more { margin: 8px 0 0; font-size: 14px; }
.docs-help-more a { color: #d95c00; font-weight: 600; }

/* Admin: všetko sa zmestí na jednu obrazovku, bez posúvania do strán */
.admin-container { max-width: 1400px; }
.board { grid-template-columns: repeat(5, minmax(0, 1fr)); overflow-x: visible; }
.bc { overflow-wrap: anywhere; }

/* Tabuľka kuriérov: kompaktná, tlačidlá sa zalomia do 2 riadkov */
#couriers-table th, #couriers-table td { padding-left: 8px; padding-right: 8px; }
#couriers-table td { vertical-align: middle; }
#couriers-table td:first-child { min-width: 150px; }
#couriers-table .ct-phone { font-size: 13px; white-space: nowrap; }
#couriers-table td:first-child .mono { font-size: 10.5px; white-space: nowrap; }
#couriers-table .badge { white-space: nowrap; padding: 3px 9px; }
#couriers-table td:nth-child(7) { white-space: nowrap; }
#couriers-table .cell-actions { white-space: normal; display: flex; flex-wrap: wrap; gap: 4px; max-width: 230px; }
#couriers-table .cell-actions .btn { margin: 0; padding: 4px 9px; font-size: 12.5px; }

@media (max-width: 1000px) {
  .board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .board { grid-template-columns: 1fr; }
}

.portal-pw-box { flex-basis: 100%; margin-top: 10px; padding: 12px 14px; border: 1.5px solid #f9d3b0; background: #fff8f1; border-radius: 12px; display: grid; gap: 6px; }

/* Klikateľné riadky + štádium kuriéra v detaile */
tr.row-click { cursor: pointer; }
tr.row-click:hover td { background: #fff6ec; }
.stage-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.stage-missing { background: #fff4d6; color: #8a5a00; }
.stage-ready { background: #f36805; color: #fff; }
.stage-bistro { background: #e6efff; color: #1d4fa8; }
.stage-active { background: #e3f5f2; color: #136b66; }
.stage-rejected { background: #fdecec; color: #a31f1f; }
#detail-stage { margin: 4px 0 18px; }
.stage-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 12px; flex-wrap: wrap; }
.stage-steps li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1.5px solid #ece5da; font-size: 13px; font-weight: 700; color: #8a8580; background: #fff; }
.stage-steps li span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #f1ece4; color: #242e30; font-size: 12px; }
.stage-steps li.done { color: #136b66; border-color: #bfe3dd; }
.stage-steps li.done span { background: #1a8682; color: #fff; }
.stage-steps li.current { color: #242e30; border-color: #f36805; }
.stage-steps li.current span { background: #f36805; color: #fff; }
.stage-alert { border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.5; text-align: left; }
.stage-alert ul { margin: 6px 0 8px 18px; padding: 0; }
.stage-alert.orange { background: #fff6ec; border: 1.5px solid #f9d3b0; color: #6b3a00; }
.stage-alert.orange.strong { background: #f36805; border-color: #f36805; color: #fff; }
.stage-alert.blue { background: #eef4ff; border: 1.5px solid #c9dafc; color: #1d3f80; }
.stage-alert.green { background: #e9f7f4; border: 1.5px solid #bfe3dd; color: #0f5a55; }
.stage-alert.red { background: #fdeeee; border: 1.5px solid #f3c3c3; color: #8a1c1c; }
.stage-alert-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
