.container {
  width: 100%;
  font-family: Arial, sans-serif;
}

/* Force back color with maximum specificity - scoped to this component only */
.container .back,
.container th.back,
.container td.back,
.container .table th.back,
.container .table td.back {
  background-color: #72bbef !important;
  background: #72bbef !important;
}

/* Force lay color with maximum specificity - scoped to this component only */
.container .lay,
.container th.lay,
.container td.lay,
.container .table th.lay,
.container .table td.lay {
  background-color: #faa9ba !important;
  background: #faa9ba !important;
}

.row5 {
  margin-bottom: 10px;
}

.mainMarket {
  display: block;
}

.livePoker {
  width: 100%;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}

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

/* Apply 5px padding to all table cells in this component */
.container .table-bordered th,
.container .table-bordered td {
  border: 1px solid #dee2e6;
  padding: 5px !important;
}

.container table th,
.container table td,
.container .table th,
.container .table td {
  padding: 5px !important;
}

/* Table header default - all headers are back (blue) by default - scoped to container only */
.container .table thead th {
  background-color: #72bbef !important;
  font-weight: bold;
  padding: 5px !important;
  vertical-align: middle;
}

/* Force back class on headers to be blue - scoped to container only */
.container .table thead th.back {
  background-color: #72bbef !important;
  background: #72bbef !important;
}

/* Force lay headers to be pink - scoped to container only */
.container .table thead th.lay {
  background-color: #faa9ba !important;
  background: #faa9ba !important;
}

.container .table tbody td {
  padding: 5px !important;
  vertical-align: middle;
}

.betInfo {
  border: 1px solid #dee2e6;
}

.container .betInfo td {
  padding: 5px !important;
  vertical-align: middle;
}

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

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

.box2 {
  width: 20%;
  text-align: center;
}

.box10 {
  width: 100%;
  text-align: center;
}

/* Back background color - scoped to container only */
.container .back,
.container th.back,
.container td.back {
  background-color: #72bbef !important;
  background: #72bbef !important;
}

/* Lay background color - scoped to container only */
.container .lay,
.container th.lay,
.container td.lay {
  background-color: #faa9ba !important;
  background: #faa9ba !important;
}

/* Force back/lay colors on table cells - scoped to container only */
.container .table tbody td.back {
  background-color: #72bbef !important;
  background: #72bbef !important;
}

.container .table tbody td.lay {
  background-color: #faa9ba !important;
  background: #faa9ba !important;
}

.odd {
  font-size: 16px;
  /* font-weight: bold; */
}

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

/* Suspended row cells - but NOT the first column (player name) */
.suspendedTr 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) */
.suspendedTr 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) */
.suspendedTr 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) */
.suspendedTr td:not(:first-child) > div,
.suspendedTr td:not(:first-child) span {
  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 */
.suspendedTr 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/lay class doesn't override when suspended - scoped to container only */
.container .back.suspended,
.container .lay.suspended {
  background: rgba(217, 220, 223) !important;
  background-image: none !important;
}

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

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

/* 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;
}

/* Card Total Block */
.cardTotalBlock {
  display: block;
}

/* Ocada Container (for single numbers grid) */
.ocadaContainer {
  width: 100%;
}

/* Single Numbers Grid Table Styles (matching Worli2) */
.container .table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
}

.container .tableBordered {
  border: 1px solid #ddd;
}

.container .table tr.back {
  text-align: center;
  background-color: #72bbef;
}

.container .table tr td,
.container .table tr th {
  vertical-align: middle;
  padding: 4px;
  border: 1px solid #ddd;
}

.container .table tr th {
  border-bottom: 0 !important;
}

.container .table tr {
  background-color: #fff;
}

.container .textCenter {
  text-align: center;
}

.container .cardOdds {
  background-color: #fff;
  font-weight: bold;
}

.container .srate {
  font-family: CasinoNumFont, Arial, sans-serif;
}

.container .betAction {
  cursor: pointer;
  transition: background-color 0.2s;
}

.container .betAction div {
  font-family: CasinoNumFont !important;
}

.container .dBlock {
  display: block;
}

.container .cardNumber {
  font-size: 16px;
  font-weight: bold;
  font-family: 'CasinoNumFont', Arial, sans-serif;
}

.container .betAction p {
  margin: 4px 0 0 0;
  font-size: 12px;
  font-weight: normal;
}

/* Suspended/Locked state */
.container .betAction.suspended span,
.container .betAction.suspended p {
  opacity: 1;
}

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

  .box4 {
    width: 50%;
  }

  .box2 {
    width: 20%;
  }

  .table {
    font-size: 12px;
  }

  .odd {
    font-size: 14px;
  }

  .cardNumber {
    font-size: 36px;
  }

  .betAction p {
    font-size: 10px;
  }
}
