 /* Navbar */

 .navbar-toggler-icon {
  /* background-color: #0275d8 !important; */
  background-color: darkgray !important;
 }

/* *********** Box Winner List Table ***************** */

.box-winner-list-tbl {
  table-layout: auto;
   overflow:auto;
   width: auto;
   margin-left: auto;
   margin-right: auto;
}

.box-winner-list-tbl td {
  width: auto;
  white-space: nowrap;
  vertical-align: middle;
  border-top: solid 1px;
  border-bottom: solid 1px;
  border-color: darkgray;
  background-color: whitesmoke;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  font-size: 80%;
}

/* *********** Box Winner Total Table ***************** */

.box-winner-tot-tbl {
  table-layout: auto;
   overflow:auto;
   width: auto;
   margin-left: auto;
   margin-right: auto;
}

.box-winner-tot-tbl .col-grp-end {
  border-right: 2px solid darkgray;
}

table.box-winner-tot-tbl thead th {
  border-bottom: solid 2px;
  border-color: darkgray;
}

table.box-winner-tot-tbl thead tr th {
    top: 1px;
    position: sticky;
    position: -webkit-sticky;
}

table.box-winner-tot-tbl thead tr:nth-child(1) th {
  top: 1px;
}

table.box-winner-tot-tbl thead tr:nth-child(2) th {
  top: 30px;
  font-size: 80%;
}
table.box-winner-tot-tbl th:nth-child(1) {
  left:0;
  z-index: 1;
  /* padding: 0;
  margin: 0; */
}

.box-winner-tot-tbl td {
  width: auto;
  vertical-align: middle;
  border-top: solid 1px;
  border-bottom: solid 1px;
  border-color: darkgray;
  background-color: whitesmoke;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  font-size: 80%;
}

table.box-winner-tot-tbl td:nth-child(1) {
  position: sticky;
  position: -webkit-sticky;
  left: 0;
  z-index: 1;
  /* background-color: #f4f0ec; */
  /* background-color: lightgray; */
  /* white-space: nowrap !important; */
  /* font-weight: bold; */
}

table.box-winner-tot-tbl tr:nth-child(even) td {
  background-color: white;
}

table.box-winner-tot-tbl tr:nth-child(odd) td {
  background-color: #f2f2f2;
}

/* ******************************* */
/* *** Next Score Table Styles *** */

.next-score-tbl {
  table-layout: auto;
   overflow:auto;
   width: auto;
   margin-left: auto;
   margin-right: auto;
}

.next-score-tbl .col-grp-end {
  border-right: 2px solid darkgray;
}

table.next-score-tbl thead th {
  border-top: solid 2px;
  border-bottom: solid 2px;
  border-color: darkgray;
}

table.next-score-tbl thead tr th {
    top: 1px;
    position: sticky;
    position: -webkit-sticky;
}

table.next-score-tbl thead tr th:nth-child(1) {
  border-left: 2px solid darkgray;
  /* border-top-left-radius: 0.25rem; */
}

table.next-score-tbl thead tr:nth-child(1) th {
  top: 1px;
  /* border-left: solid 2px; */
}

table.next-score-tbl thead tr:nth-child(2) th {
  top: 30px;
  font-size: 80%;
  /* border-left: solid 2px; */
}
table.next-score-tbl thead tr:nth-child(2) th:nth-child(1) {
  left:0;
  z-index: 1;
  /* padding: 0;
  margin: 0; */
}

.next-score-tbl td {
  width: auto;
  vertical-align: middle;
  border-top: solid 1px;
  border-bottom: solid 1px;
  border-color: darkgray;
  background-color: whitesmoke;
  /* position: sticky; */
  /* position: -webkit-sticky; */
  top: 0;
  font-size: 85%;
}

.next-score-tbl td:nth-child(1) {
  position: sticky;
  position: -webkit-sticky;
  left: 0;
  z-index: 1;
  border-left: 2px solid darkgray;

  /* background-color: #f4f0ec; */
  /* background-color: lightgray; */
  /* white-space: nowrap !important; */
  /* font-weight: bold; */
}

.next-score-tbl tr:nth-child(even) td {
  background-color: white;
}

.next-score-tbl tr:nth-child(odd) td {
  background-color: #f2f2f2;
  /* background-color: lightgray; */
}

td.next-leader-cell {
  /* font-weight: bold; */
  white-space: nowrap;
  border-right: solid 1px;
  border-color: lightgray;
  text-align: center;
  /* font-size: 75%; */
}

table.next-score-tbl td {
  font-family: 'Open Sans', Verdana, Helvetica, sans-serif; 
}

td.next-pd-score-cell {
  text-align: center;
  white-space: nowrap;
}

/* ****************** */
/* Old Refresh Button */
/* ****************** */

.page-wrapper {
  height: 100%;
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: white;      /* prevents content bleed-through */
  padding: 0.5rem 0;
  border-bottom: 1px solid #ddd;

  /* display: flex; */
  /* justify-content: flex-end;   👉 push button to the right */

}

/* .refresh-btn {
  margin-left: 0.5rem;
} */

/* ************ */
/* Refresh menu */
/* ************ */

/* Sticky container */
.sticky-toolbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  align-items: center;

  background: white;
  border-bottom: 1px solid #ddd;
}

/* LEFT: refresh button (never scrolls away) */
.toolbar-left {
  position: sticky;
  left: 0;
  z-index: 1001;

  background: white;
  padding: 0.5rem 0.75rem;
  border-right: 1px solid #eee;
}

/* RIGHT: horizontally scrollable menu */
.toolbar-menu {
  display: flex;
  gap: 0.75rem;

  overflow-x: auto;
  white-space: nowrap;

  padding: 0.5rem 0.75rem;
  flex: 1;

  scrollbar-width: thin; /* Firefox */
}

/* Webkit scrollbar tweaks */
.toolbar-menu::-webkit-scrollbar {
  height: 6px;
}

.toolbar-menu::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

/* Menu items */
.toolbar-link {
  text-decoration: none;
  color: #444;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.toolbar-link:hover {
  background: #f2f2f2;
}

/* Optional: refresh button styling */
.refresh-btn {
  white-space: nowrap;
}

.toolbar-menu:focus {
  outline: none;
  box-shadow: inset 0 -2px 0 #007bff;
}

/* ************ */
