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

/* Table responsive wrapper */
.tableResponsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Table bordered */
.tableBordered {
  border: 1px solid #dee2e6;
}

.tableBordered > .tableBordered {
  border: 0;
}

/* Table cell and header styling */
.container table tr td,
.container table tr th {
  vertical-align: middle;
  border: 1px solid #ddd;
  padding: 4px 2px !important;
}

/* Box width classes */
.box4 {
  width: 50%;
  min-width: 50%;
  max-width: 50%;
}

.box3 {
  width: 25%;
  max-width: 25%;
  min-width: 25%;
}

/* Back background color */
.back {
  background-color: #72bbef;
}

/* Lay background color */
.lay {
  background-color: #faa9ba;
}

/* Table header background */
.container table th {
  background-color: #72bbef !important;
}

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

/* Min/Max header cell - transparent background */
.container table th.minMax,
.minMax {
  background-color: white !important;
  background: white !important;
}

/* Player name cell */
.playerName {
  text-align: left;
}

.ubook {
  display: block;
}

.odds {
  display: block;
}

.dBlock {
  display: block;
}

.textLeft {
  text-align: left;
}

.positionRelative {
  position: relative;
}

/* 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) .positionRelative {
  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/lay class doesn't override when suspended */
.back.suspended,
.lay.suspended {
  background: rgba(217, 220, 223) !important;
  background-image: none !important;
}

/* Hide content when suspended (cell level) */
.suspended > div,
.suspended .positionRelative {
  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),
.lay > div:not(.suspended) {
  position: relative;
  z-index: 0;
}

/* Card content wrapper */
.cardContent {
  background-color: #fff;
  /* padding: 15px; */
  margin-top: 10px;
}

/* AAA content - same as cardContent */
.aaaContent {
  background-color: #fff;
  /* padding: 15px; */
}

.mt10 {
  margin-top: 10px;
}

.pl5 {
  padding-left: 5px;
}

.pr5 {
  padding-right: 5px;
}

.mt5 {
  margin-top: 5px;
}

/* Row and column classes */
.row {
  display: flex;
  flex-wrap: wrap;
  /* margin-right: -15px;
  margin-left: -15px; */
}

.col12 {
  flex: 0 0 100%;
  max-width: 100%;
  /* padding-right:2px;
  padding-left: 2px; */
  box-sizing: border-box;
}

.col6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding-right: 5px;
  padding-left: 5px;
  box-sizing: border-box;
}

.col8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
}

.col4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
}

/* Text alignment */
.textRight {
  text-align: right;
}

.textCenter {
  text-align: center;
}

.textDanger {
  color: #dc3545;
}

.textUppercase {
  text-transform: uppercase;
}

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

.rangeIcon {
  position: relative;
  display: inline-block;
}

.infoIcon {
  margin-left: 10px;
  cursor: pointer;
}

.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);
}

.mr5 {
  margin-right: 5px;
}

.ml10 {
  margin-left: 10px;
}

.mb0 {
  margin-bottom: 0;
}

.mb5 {
  margin-bottom: 5px;
}

.mt10 {
  margin-top: 10px;
}

/* Live poker table */
.livePoker {
  width: 100%;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #dee2e6;
}

.table tbody tr {
  border-bottom: 1px solid #dee2e6;
}

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

.betInfo td {
  padding: 8px;
  vertical-align: middle;
}

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

.box2 {
  width: 20%;
}

/* Back and Lay colors are defined above in the table section */

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

/* Low high button (for Dulha Dulhan, Barati, Red/Black) */
.lowHighBtn {
  background-image: linear-gradient(to right, #0f2327, #1f5058);
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
  color: #fff;
  border: none;
  padding: 12px 16px;
  width: 100%;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.2s;
  font-size: 14px;
}

.lowHighBtn:hover:not(.suspendedBox) {
  background-color: #1f4a52;
}

/* Card icons for Red/Black */
.cardIcon {
  display: inline-block;
  margin: 0 2px;
  font-size: 18px;
  font-weight: bold;
}

.cardRed {
  color: #dc3545;
}

.cardBlack {
  color: #000;
}

/* Card images section */
.cardImage {
  display: inline-block;
  margin-right: 5px;
  text-align: center;
}

.cardImage img {
  width: 60px;
  height: auto;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.2s;
}

.cardImage img:hover {
  transform: scale(1.05);
}

.ubook {
  /* text-align: center; */
  margin-top: 5px;
  font-size: 12px;
}

/* Suspended/Locked state */
.suspendedBox {
  position: relative;
  pointer-events: none;
  cursor: not-allowed;
  background-color: rgba(217, 220, 223) !important;
  /* opacity: 0.6; */
}

.suspendedBox::before {
  content: "";
  background-color: #1f5058;
  mask-image: url(../../../assets/img/lock.svg);
  -webkit-mask-image: url(../../../assets/img/lock.svg);
  mask-size: 14px 14px;
  -webkit-mask-size: 14px 14px;
  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: 17px;
  height: 17px;
  pointer-events: none;
}

.suspendedBox::after {
  content: "";
  background: rgba(217, 220, 223) !important;
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  cursor: not-allowed;
  pointer-events: none;
  z-index: 1;
}

.suspendedBox .odd,
.suspendedBox b {
  /* opacity: 0.6; */
  position: relative;
  z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .col6 {
    /* flex: 0 0 100%; */
    max-width: 100%;
    margin-bottom: 10px;
  }

  .col8 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .col4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .cardImage img {
    width: 50px;
  }

  .lowHighBtn {
    padding: 10px 12px;
    font-size: 12px;
  }

  .odd {
    font-size: 14px;
  }

  .box6 {
    width: 50%;
    font-size: 12px;
  }

  .box2 {
    width: 25%;
  }
}

@media (max-width: 480px) {
  .cardContent {
    /* padding: 10px; */
  }

  .cardImage img {
    width: 40px;
  }

  .lowHighBtn {
    padding: 8px 10px;
    font-size: 11px;
  }

  .odd {
    font-size: 12px;
  }

  .box6 {
    font-size: 11px;
  }
}
