/* Public registered pigeons listing only. Navigation CSS remains user-managed. */
.tbcr-public-pigeons,.tbcr-public-pigeons * {box-sizing:border-box}
.tbcr-public-pigeons {
  /* Break out of Gutenberg's narrow Shortcode block without affecting other pages. */
  width: min(94vw, 1500px) !important;
  max-width: none !important;
  position: relative !important;
  left: auto !important;
  transform: none;
  margin: 28px 0 60px !important;
  /* Screen-centered positioning is calculated by public-pigeons-center.js.
     Gutenberg's narrow shortcode block is not a reliable centering reference. */
  font-family: inherit;
  color: #f4f7fd;
}
/* The shortcode's WordPress wrappers must not clip the full-width registry. */
.wp-block-shortcode:has(.tbcr-public-pigeons) { overflow: visible !important; }
.wp-block-cover:has(.tbcr-public-pigeons) { overflow-x: clip !important; overflow-y: visible !important; }

/* Three compact totals: Short Section, Long Section, Total Registered.
   Overall values always reflect every registered bird, regardless of filters. */
.tbcr-pigeons-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 17px;
}
.tbcr-pigeons-stats .tbcr-pigeon-stat-card {
  min-width: 0;
  padding: 20px 24px 18px;
  background: #10253e;
  border: 1px solid rgba(245,197,66,.55);
  border-radius: 10px;
  color: #fff;
}
.tbcr-pigeon-stat-card h3 {
  margin: 0 0 14px !important;
  padding: 0 !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
  color: #f5c542 !important;
  font-weight: 800 !important;
  text-align: left !important;
}
.tbcr-pigeon-stat-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 17px;
  line-height: 1.4;
}
.tbcr-pigeon-stat-lines > div {display:flex;gap:7px;align-items:baseline;}
.tbcr-pigeon-stat-lines dt {color:#dce5f1;font-weight:500;}
.tbcr-pigeon-stat-lines dd {margin:0;color:#fff;font-weight:750;font-variant-numeric:tabular-nums;}
.tbcr-pigeon-stat-lines .tbcr-pigeon-stat-total {margin-top:3px;}
.tbcr-pigeon-stat-total dt,.tbcr-pigeon-stat-total dd {color:#f5c542;}
.tbcr-pigeon-unassigned-note {text-align:center;color:#e9dfca;font-size:12px;margin:-5px 0 15px!important;}
@media(max-width:700px){
  .tbcr-pigeons-stats{grid-template-columns:1fr;gap:10px;}
  .tbcr-pigeons-stats .tbcr-pigeon-stat-card{padding:15px 19px;}
  .tbcr-pigeon-stat-card h3{font-size:18px!important;margin-bottom:9px!important;}
  .tbcr-pigeon-stat-lines{font-size:15px;gap:5px;}
}
/* Filter controls are part of the corresponding table column headers. */
.tbcr-pigeon-header-filter-form { display: none; }
.tbcr-results-bar {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px;flex-wrap:wrap}
.tbcr-results-bar .tbcr-results-count {margin:0!important}
.tbcr-results-bar .tbcr-filter-clear {font-size:12px;color:#f5c542!important;text-decoration:underline;text-underline-offset:3px}
/* The native dropdown remains fully functional and keyboard accessible,
   while the visual arrow sits directly beside the selected label. */
.tbcr-pigeons-table .tbcr-pigeon-filter-th {min-width:156px;vertical-align:middle}
.tbcr-pigeons-table .tbcr-pigeon-inline-select {
  display:inline-flex;align-items:center;gap:8px;position:relative;
  max-width:100%;min-width:0;color:#f5c542;cursor:pointer;
}
.tbcr-pigeons-table .tbcr-pigeon-inline-label {
  display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;
  font:inherit;font-weight:800;line-height:1.4;white-space:nowrap;
}
.tbcr-pigeons-table .tbcr-pigeon-inline-select::after {
  content:"";display:block;flex:none;width:7px;height:7px;
  border-right:2px solid #f5c542;border-bottom:2px solid #f5c542;
  transform:translateY(-2px) rotate(45deg);margin-right:2px;
  pointer-events:none;
}
.tbcr-pigeons-table .tbcr-pigeon-table-filter {
  position:absolute!important;inset:0!important;z-index:1!important;
  display:block!important;width:100%!important;height:100%!important;
  min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;
  border:0!important;box-shadow:none!important;cursor:pointer;
  opacity:0!important;
}
.tbcr-pigeons-table .tbcr-pigeon-inline-select:focus-within {
  outline:2px solid #f5c542;outline-offset:5px;
}
.tbcr-results-count {color:#fff;font-size:13px;margin:0 0 8px!important}
.tbcr-pigeons-table-scroll {background:#081c33;border:1px solid rgba(245,197,66,.45);border-radius:10px;overflow:auto}
.tbcr-pigeons-table {border-collapse:collapse;width:100%;min-width:1170px;font-size:14px;text-align:left;color:#f1f5fb}
.tbcr-pigeons-table thead th {
  background: #303736;
  color: #f5c542;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .7px;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(245, 197, 66, .6);
  white-space: nowrap;
}
.tbcr-pigeons-table td {padding:15px 16px;border-bottom:1px solid rgba(255,255,255,.13);vertical-align:middle;color:#fff}
.tbcr-pigeons-table tbody tr:nth-child(even) {background:rgba(255,255,255,.035)}
.tbcr-pigeons-table td:first-child strong {color:#f5c542}
.tbcr-public-pill {display:inline-block;border-radius:12px;font-weight:800;font-size:11px;padding:5px 9px;white-space:nowrap}
.tbcr-public-pill.is-paid,.tbcr-public-pill.is-active {background:#d2f6df;color:#176333}
.tbcr-public-pill.is-unpaid,.tbcr-public-pill.is-pending {background:#fce4c7;color:#7c4415}
.tbcr-public-empty {padding:32px!important;text-align:center}
.tbcr-public-pigeon-pagination {display:flex;gap:7px;justify-content:center;margin:20px 0;flex-wrap:wrap}
.tbcr-public-pigeon-pagination a {border:1px solid #b4c2d2;border-radius:6px;padding:7px 13px;color:#fff;text-decoration:none}
.tbcr-public-pigeon-pagination a.is-current {background:#f5c542;color:#10243b;border-color:#f5c542;font-weight:800}
.tbcr-pigeons-public-note {text-align:center;color:#d9e1ed;font-size:12px;margin-top:18px!important}
@media(max-width:500px){.tbcr-public-pigeons{width:96vw !important}.tbcr-pigeons-table .tbcr-pigeon-filter-th{min-width:155px}}

.tbcr-public-pigeons-intro{margin:0 0 16px!important;background:rgba(0,14,32,.80);border:1px solid rgba(245,197,66,.38);border-radius:10px;text-align:center;padding:15px 12px;color:#fff!important;font-size:15px!important}
