/* Golf Bets — Mobile-first styles */

body {
  background-color: #f8f9fa;
  font-size: 16px;
}

/* Big tap targets */
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-sm {
  min-height: 36px;
}

/* Score input — large, centered */
input[type="number"].form-control {
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Cards */
.card {
  border-radius: 10px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Display numbers */
.display-4, .display-5 {
  line-height: 1.1;
}

/* Badge check buttons — bigger touch area */
.btn-check + label.btn {
  min-height: 40px;
  padding: 6px 12px;
  font-size: 0.85rem;
}

/* Ball check FAB */
.bc-fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1rem;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50% !important;
  font-size: 1.25rem;
  padding: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  z-index: 1045;
  min-height: unset;
  line-height: 1;
}

/* Print styles for settle page */
@media print {
  .navbar, .btn, form { display: none !important; }
  .card { border: 1px solid #ccc !important; box-shadow: none !important; }
}

/* Scorecards: freeze the first (player name) column so it stays put while the
   hole columns scroll sideways. Bootstrap 5.3 already paints every cell with an
   opaque --bs-table-bg, so header/par/SI/zebra rows all keep their own colour
   under the frozen cell. z-index 5 clears the score-cell dot/triangle overlays
   (z-index up to 3) that would otherwise paint over it. The full-width
   group-label rows (colspan=21) are excluded — a frozen 21-column cell would
   drag the whole row. Inset shadow stands in for the border, which does not
   travel with a sticky cell under border-collapse. */
.sc-freeze tr > :first-child:not([colspan="21"]) {
  position: sticky;
  left: 0;
  z-index: 5;
  box-shadow: inset -1px 0 0 #adb5bd;
}
