/* Unique wrapper class for this table only */
.betTableCard32Wrapper {
  width: 100%;
  font-family: Arial, sans-serif;
}

/* Force back color with maximum specificity - only for this table */
.betTableCard32Wrapper .back,
.betTableCard32Wrapper th.back,
.betTableCard32Wrapper td.back,
.betTableCard32Wrapper .betTableCard32 th.back,
.betTableCard32Wrapper .betTableCard32 td.back,
.betTableCard32Wrapper .table th.back,
.betTableCard32Wrapper .table td.back {
  background-color: #72bbef !important;
  background: #72bbef !important;
}

/* Force lay color with maximum specificity - only for this table */
.betTableCard32Wrapper .lay,
.betTableCard32Wrapper th.lay,
.betTableCard32Wrapper td.lay,
.betTableCard32Wrapper .betTableCard32 th.lay,
.betTableCard32Wrapper .betTableCard32 td.lay,
.betTableCard32Wrapper .table th.lay,
.betTableCard32Wrapper .table td.lay {
  background-color: #faa9ba !important;
  background: #faa9ba !important;
}

/* Table styles - only for this table */
.betTableCard32Wrapper .betTableCard32,
.betTableCard32Wrapper .table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}

.betTableCard32Wrapper .betTableCard32.table-bordered,
.betTableCard32Wrapper .table.table-bordered {
  border: 1px solid #dee2e6;
}

.betTableCard32Wrapper .betTableCard32.table-bordered th,
.betTableCard32Wrapper .betTableCard32.table-bordered td,
.betTableCard32Wrapper .table.table-bordered th,
.betTableCard32Wrapper .table.table-bordered td {
  border: 1px solid #dee2e6;
  padding: 5px !important;
}

/* Table header - only first row in thead - only for this table */
.betTableCard32Wrapper .betTableCard32 thead th,
.betTableCard32Wrapper .table thead th {
  font-weight: bold;
  padding: 5px !important;
  vertical-align: middle;
  /* background-color: #ffffff !important; */
}

/* Force back class on headers to be blue - only first row - only for this table */
.betTableCard32Wrapper .betTableCard32 thead th.back,
.betTableCard32Wrapper .betTableCard32 thead th.Back,
.betTableCard32Wrapper .table thead th.back,
.betTableCard32Wrapper .table thead th.Back {
  background-color: #72bbef !important;
  background: #72bbef !important;
}

/* Force lay headers to be pink - only first row - only for this table */
.betTableCard32Wrapper .betTableCard32 thead th.lay,
.betTableCard32Wrapper .table thead th.lay {
  background-color: #faa9ba !important;
  background: #faa9ba !important;
}

/* Min/Max header cell - white background - only first row - only for this table */
.betTableCard32Wrapper .betTableCard32 thead th.min-max,
.betTableCard32Wrapper .table thead th.min-max {
  background-color: #fff !important;
  background: #fff !important;
}

/* Table body cells - only for this table */
.betTableCard32Wrapper .betTableCard32 tbody td,
.betTableCard32Wrapper .table tbody td {
  padding: 5px !important;
  vertical-align: middle;
}

.box4 {
  width: 50%;
  text-align: left;
}

.box3 {
  width: 25%;
  text-align: center;
}

.minMax {
  background-color: #fff;
}

.minMax span {
  display: block;
  font-size: 12px;
}

.playerName {
  background-color: #fff;
}

.ubook {
  font-size: 12px;
}

.odds {
  font-size: 16px;
  font-weight: bold;
}

/* Suspended row styling - covers entire row */
.suspendedRow {
  position: relative;
}

/* Suspended row cells - but NOT the first column (player name) */
.suspendedRow td:not(:first-child) {
  position: relative;
  background: rgba(217, 220, 223) !important;
  background-color: rgba(217, 220, 223) !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  overflow: hidden;
}

/* Background overlay for each betting cell in suspended row (not first column) */
.suspendedRow td:not(:first-child)::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(217, 220, 223) !important;
  z-index: 1;
  pointer-events: none;
}

/* Lock icon on each betting cell in suspended row - centered (not first column) */
.suspendedRow td:not(:first-child)::before {
  content: "";
  background-color: #1f5058;
  mask-image: url(../../../assets/img/lock.svg);
  -webkit-mask-image: url(../../../assets/img/lock.svg);
  mask-size: 20px 20px;
  -webkit-mask-size: 20px 20px;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* Hide content in suspended row betting cells (not first column) */
.suspendedRow td:not(:first-child) > div,
.suspendedRow td:not(:first-child) .position-relative {
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* Keep player name visible in first column even when row is suspended */
.suspendedRow td:first-child {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

/* Suspended cell styling (for individual cell suspension if needed) */
.suspended {
  position: relative !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
  background: rgba(217, 220, 223) !important;
  background-color: rgba(217, 220, 223) !important;
  background-image: none !important;
  min-height: 40px;
  overflow: hidden;
}

/* Background overlay for suspended cell */
.suspended::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(217, 220, 223) !important;
  z-index: 1;
  pointer-events: none;
}

/* Lock icon using SVG mask - centered and visible on top */
.suspended::before {
  content: "";
  background-color: #1f5058;
  mask-image: url(../../../assets/img/lock.svg);
  -webkit-mask-image: url(../../../assets/img/lock.svg);
  mask-size: 20px 20px;
  -webkit-mask-size: 20px 20px;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* Ensure back class doesn't override when suspended */
.back.suspended {
  background: rgba(217, 220, 223) !important;
  background-image: none !important;
}

/* Hide content when suspended (cell level) */
.suspended > div,
.suspended .position-relative {
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* Ensure content is visible when not suspended */
.back > div:not(.suspended) {
  position: relative;
  z-index: 0;
}

/* Back/Lay cell styling */
.backCell,
.layCell {
  cursor: pointer;
  transition: background-color 0.2s;
}

/* Info Block */
.infoBlock {
  position: relative;
  display: inline-block;
}

.infoIcon {
  cursor: pointer;
  color: #000;
  text-decoration: none;
}

.infoIcon:hover {
  color: #007bff;
}

.minMaxInfo {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #333;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
  margin-top: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.minMaxInfo.collapse {
  display: none;
}

.minMaxInfo.collapse.show {
  display: block;
}

.mr5 {
  margin-right: 5px;
}

.ml10 {
  margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .box4 {
    width: 50%;
  }

  .box3 {
    width: 25%;
  }

  .table {
    font-size: 12px;
  }

  .odds {
    font-size: 14px;
  }
}
