
/* ---- sharebid_* (Breeding Bids) -> MOVED KITLOOK_20261018: css/ehr_page_breeding_sires.css (section 4, on the kit and Will's tokens).
   Left here: the rules below, which no template or JS uses (grep 2026-10-18: only js/vibe mock pages, which carry their own <style>). */
.sharebid_body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: #f5f5f5;
  padding: 15px;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .sharebid_hide_1100 { display: none !important; }
}

@media (max-width: 600px) {
  .sharebid_hide_600 { display: none !important; }
}

@media (max-width: 500px) {
  .sharebid_hide_500 { display: none !important; }
}

@media (max-width: 400px) {
  .sharebid_hide_400 { display: none !important; }
  .sharebid_body {
    padding: 5px;
  }
}



/* ---- breeding_myshares_* (Breeding Shares) -> MOVED KITLOOK_20261018: css/ehr_page_breeding_sires.css (section 5, on the kit and Will's tokens).
   Left here: the rules below, which no template or JS uses (grep 2026-10-18: only js/vibe mock pages, which carry their own <style>). */
.breeding_myshares_body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: #f8f9fa;
  padding: 15px;
  line-height: 1.5;
}

.breeding_myshares_badge {
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  margin-right: 4px;
  display: inline-block;
}

.breeding_myshares_badge_d {
  background: #6c757d;
  color: white;
}

.breeding_myshares_badge_t {
  background: #28a745;
  color: white;
}

.breeding_myshares_badge_r {
  background: #ffc107;
  color: #000;
}

.breeding_myshares_badge_s {
  background: #ffd700;
  color: #000;
}

@media (max-width: 900px) {
  .breeding_myshares_hide_900 { display: none !important; }
}

@media (max-width: 600px) {
  .breeding_myshares_hide_600 { display: none !important; }
}



.breeding_mares_body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: #f8f9fa;
  padding: 15px;
  line-height: 1.5;
}

.breeding_mares_container {
  max-width: 1400px;
  margin: 0 auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
}

.breeding_mares_title {
  font-size: 20px;
  font-weight: 700;
  color: #2d5016;
  padding: 20px;
  text-align: center;
  border-bottom: 2px solid #e0e0e0;
}

.breeding_mares_filters_container {
  padding: 20px;
  background: #f8f9fa;
  border-bottom: 2px solid #e0e0e0;
}

.breeding_mares_filters_toggle {
  display: none;
  padding: 10px 16px;
  background: #2d5016;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 10px;
  width: 100%;
}

.breeding_mares_filters_toggle:hover {
  background: #1f3a0f;
}

.breeding_mares_filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
  margin-bottom: 15px;
}

.breeding_mares_filter_group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.breeding_mares_filter_label {
  font-weight: 700;
  color: #2d5016;
  font-size: 14px;
}

.breeding_mares_filter_input {
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
}

.breeding_mares_filter_input:focus {
  outline: none;
  border-color: #2d5016;
}

.breeding_mares_filter_select {
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
  background: white;
  cursor: pointer;
}

.breeding_mares_filter_select:focus {
  outline: none;
  border-color: #2d5016;
}

.breeding_mares_divider {
  height: 5px;
  width: 99%;
  padding: 7px;
  margin: 0 auto;
}

.breeding_mares_line {
  height: 1px;
  background-color: #666666;
  width: 99%;
  margin: 0 auto;
}

.breeding_mares_button_group {
  display: flex;
  gap: 5px;
  background: white;
  padding: 4px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
  justify-content: center;
}

.breeding_mares_button_link {
  padding: 7px 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  border-radius: 4px;
  font-weight: 500;
  color: #495057;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.breeding_mares_button_link:hover {
  background: #f8f9fa;
}

.breeding_mares_button_active {
  background: #28a745 !important;
  color: white !important;
  font-weight: 600 !important;
}

.breeding_mares_page_info {
  text-align: center;
  padding: 15px;
  font-weight: 600;
  color: #2d5016;
}

.breeding_mares_table_wrapper {
  background: white;
  overflow: hidden;
}

.breeding_mares_table_container {
  overflow-x: auto;
}

.breeding_mares_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.breeding_mares_table thead {
  background: linear-gradient(180deg, #2d5016, #1f3a0f);
  color: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

.breeding_mares_table th {
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}

.breeding_mares_table td {
  padding: 10px 12px;
  vertical-align: middle;
  border-bottom: 1px solid #e9ecef;
}

.breeding_mares_table tbody tr {
  transition: background 0.2s;
}

.breeding_mares_table tbody tr:hover {
  background: #f8f9fa;
}

.breeding_mares_table tbody tr:nth-child(4n+1),
.breeding_mares_table tbody tr:nth-child(4n+2) {
  background: #f9f9f9;
}

.breeding_mares_table tbody tr:nth-child(4n+1):hover,
.breeding_mares_table tbody tr:nth-child(4n+2):hover {
  background: #f0f0f0;
}

.breeding_mares_horse_name {
  color: #2d5016;
  font-weight: 700;
  font-size: 14px;
}

.breeding_mares_owner_name {
  color: #0066cc;
  font-weight: 600;
  font-size: 12px;
}

.breeding_mares_sire_name {
  color: #6c757d;
  font-size: 12px;
}

.breeding_mares_expand_btn {
  background: #ffc107;
  border: none;
  padding: 4px 10px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s;
}

.breeding_mares_expand_btn:hover {
  background: #ffcd38;
}

.breeding_mares_hidden_row {
  display: none;
  background: #fff9e6;
}

.breeding_mares_hidden_row.breeding_mares_show {
  display: table-row;
}

.breeding_mares_hidden_row td {
  padding: 15px 12px;
  border-bottom: 1px solid #e9ecef;
}

.breeding_mares_hidden_data {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px 20px;
}

.breeding_mares_hidden_item {
  display: flex;
  gap: 8px;
}

.breeding_mares_hidden_label {
  font-weight: 600;
  color: #6c757d;
  min-width: 70px;
}

.breeding_mares_no_results {
  text-align: center;
  padding: 40px 20px;
  font-size: 16px;
  color: #666;
}

@media (max-width: 900px) {
  .breeding_mares_hide_900 { display: none !important; }
}

@media (max-width: 800px) {
  .breeding_mares_hide_800 { display: none !important; }
  .breeding_mares_filters_toggle { display: block; }
  .breeding_mares_filters { display: none; padding: 10px; margin-top: 10px; }
  .breeding_mares_filters.breeding_mares_filters_open { display: grid; }
}

@media (max-width: 700px) {
  .breeding_mares_hide_700 { display: none !important; }
}

@media (max-width: 600px) {
  .breeding_mares_hide_600 { display: none !important; }
}

@media (max-width: 500px) {
  .breeding_mares_hide_500 { display: none !important; }
}


.breeding_sire_list_body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: #f8f9fa;
  padding: 15px;
  line-height: 1.5;
}

.breeding_sire_list_container {
  max-width: 1400px;
  margin: 0 auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
}

.breeding_sire_list_title {
  font-size: 20px;
  font-weight: 700;
  color: #2d5016;
  padding: 20px;
  text-align: center;
  border-bottom: 2px solid #e0e0e0;
}

.breeding_sire_list_filters_container {
  padding: 20px;
  background: #f8f9fa;
  border-bottom: 2px solid #e0e0e0;
}

.breeding_sire_list_filter_row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.breeding_sire_list_filter_group {
  display: flex;
  gap: 5px;
  background: white;
  padding: 4px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

.breeding_sire_list_filter_link {
  padding: 7px 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  border-radius: 4px;
  font-weight: 500;
  color: #495057;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.breeding_sire_list_filter_link:hover {
  background: #f8f9fa;
}

.breeding_sire_list_filter_active {
  background: #28a745 !important;
  color: white !important;
  font-weight: 600 !important;
}

.breeding_sire_list_filter_separator {
  padding: 7px 5px;
  color: #6c757d;
  font-weight: 500;
}

.breeding_sire_list_search_group {
  display: flex;
  gap: 10px;
  align-items: center;
  background: white;
  padding: 8px 12px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

.breeding_sire_list_search_label {
  font-weight: 600;
  color: #2d5016;
  font-size: 13px;
}

.breeding_sire_list_search_input {
  padding: 6px 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 13px;
  width: 150px;
}

.breeding_sire_list_select {
  padding: 6px 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 13px;
  background: white;
  cursor: pointer;
}

.breeding_sire_list_divider {
  height: 5px;
  width: 99%;
  padding: 7px;
  margin: 0 auto;
}

.breeding_sire_list_line {
  height: 1px;
  background-color: #666666;
  width: 99%;
  margin: 0 auto;
}

.breeding_sire_list_page_info {
  text-align: center;
  padding: 15px;
  font-weight: 600;
  color: #2d5016;
}

.breeding_sire_list_table_wrapper {
  background: white;
  overflow: hidden;
}

.breeding_sire_list_table_container {
  overflow-x: auto;
}

.breeding_sire_list_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.breeding_sire_list_table thead {
  background: linear-gradient(180deg, #000066, #000044);
  color: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

.breeding_sire_list_table th {
  padding: 10px 8px;
  text-align: center;
  font-weight: 600;
  font-size: 11px;
  white-space: nowrap;
}

.breeding_sire_list_table td {
  padding: 8px;
  vertical-align: middle;
  border-bottom: 1px solid #e9ecef;
  text-align: center;
  font-size: 12px;
}

.breeding_sire_list_table tbody tr {
  transition: background 0.2s;
}

.breeding_sire_list_table tbody tr:hover {
  background: #f8f9fa;
}

.breeding_sire_list_table tbody tr:nth-child(4n+1),
.breeding_sire_list_table tbody tr:nth-child(4n+2) {
  background: #f9f9f9;
}

.breeding_sire_list_table tbody tr:nth-child(4n+1):hover,
.breeding_sire_list_table tbody tr:nth-child(4n+2):hover {
  background: #f0f0f0;
}

.breeding_sire_list_sire_name {
  color: #2d5016;
  font-weight: 700;
  text-align: left;
}

.breeding_sire_list_mysire_name {
  color: #0066cc;
  font-weight: 600;
  text-align: left;
}

.breeding_sire_list_expand_btn {
  background: #ffc107;
  border: none;
  padding: 4px 10px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  transition: all 0.2s;
}

.breeding_sire_list_expand_btn:hover {
  background: #ffcd38;
}

.breeding_sire_list_hidden_row {
  display: none;
  background: #fff9e6;
}

.breeding_sire_list_hidden_row.breeding_sire_list_show {
  display: table-row;
}

.breeding_sire_list_hidden_row td {
  padding: 15px 12px;
  border-bottom: 1px solid #e9ecef;
}

.breeding_sire_list_hidden_data {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px 20px;
}

.breeding_sire_list_hidden_item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.breeding_sire_list_hidden_label {
  font-weight: 600;
  color: #6c757d;
  font-size: 10px;
  text-transform: uppercase;
}

.breeding_sire_list_hidden_value {
  font-size: 12px;
  color: #495057;
}

.breeding_sire_list_no_results {
  text-align: center;
  padding: 40px 20px;
  font-size: 16px;
  color: #666;
}

/* Responsive column hiding - in order specified */
@media (max-width: 1200px) {
  .breeding_sire_list_hide_1200 { display: none !important; }
}

@media (max-width: 1100px) {
  .breeding_sire_list_hide_1100 { display: none !important; }
}

@media (max-width: 1000px) {
  .breeding_sire_list_hide_1000 { display: none !important; }
}

@media (max-width: 900px) {
  .breeding_sire_list_hide_900 { display: none !important; }
}

@media (max-width: 800px) {
  .breeding_sire_list_hide_800 { display: none !important; }
}

@media (max-width: 700px) {
  .breeding_sire_list_hide_700 { display: none !important; }
}

@media (max-width: 600px) {
  .breeding_sire_list_hide_600 { display: none !important; }
}
/* WILLMERGE_20261017 render R5 (.sharebid_expand_btn black glyph) + R9 (the dark theme's [X] green) -> MOVED KITLOOK_20261018: css/ehr_page_breeding_sires.css (--sb-x). */

/* SBLISTONLY_20261021 (owner 10-21): Breeding Shares + Breeding Bids reload only their list (incJS_05_toggles.js sbl_*).
   .sbl_go = the Update button and its "Press Update to apply" note (.pg_pending, ehr_kit.css) at the end of the chips;
   .sbl_head = the list's own line ("Sire Shares" / "My Sire Bid List -- Page N") with the list refresh on the right
   (.ehr_refresh, automated.css, has margin-left: auto). This file loads before ehr_kit.css and
   ehr_page_breeding_sires.css, so each rule is scoped one class deeper than the rule it meets there. */
.pg_filter .sbl_go                    { display: flex; flex-flow: row wrap; align-items: center; gap: 8px; }
.pg_filter .sbl_go .pg_pending        { margin-left: 0; }
/* ehr_legacy_01_base.css has "i, span { display: inline-block }", which beats the browser [hidden] rule, so the note
   showed on load; hidden means hidden here */
.pg_filter .sbl_go .sbl_pending[hidden] { display: none; }
.sbl_root .sbl_head                   { display: flex; align-items: center; gap: 8px; min-height: 30px; }
/* owner 10-21 #16 ("make links clickable so they can view the sire info"): the sire name already opened his page
   (js-sire-open) but read as plain text; a dotted underline says it is a link, the name stays black (KITREVIEW 10-18),
   the link colour and a solid line on hover. Breeding Bids names are links now too. */
.breeding_myshares_table a.breeding_myshares_sire_name,
.sharebid_table a.sharebid_sire_name       { color: inherit; cursor: pointer; text-decoration: underline dotted;
                                             text-decoration-thickness: 1px; text-underline-offset: 3px; }
.breeding_myshares_table a.breeding_myshares_sire_name:hover,
.sharebid_table a.sharebid_sire_name:hover { color: var(--ehr-link); text-decoration-style: solid; }
