/* Main Table Container */
.betTable4 {
  width: 100%;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333333;
  margin: 0 auto;
}

/* Table Styling */
.table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

/* Table Header Row */
.tableHeaderRow {
  background-color: #f7f7f7;
}

/* Player Name Header */
.playerName {
  width: 16rem;
  text-align: start;
  padding-left: 0.3rem;
  height: 32px;
  font-size: 16px;
  border: 1px solid #d7d7d7;
}
@media (max-width: 768px) {
  .playerName {
    width: 12rem;
    font-size: 14px;
  }
}

/* Back Header */
.backHeader {
  width: 5.5rem;
  background-color: #72bbef;
  font-weight: bold;
  color: #333333;
  border: 1px solid #ddd;
}
@media (max-width: 768px) {
  .backHeader {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .layHeader {
    font-size: 14px;
}
}
/* Lay Header */
.layHeader {
  width: 5.5rem;
  background-color: #faa9ba;
  font-weight: bold;
  color: #333333;
  border: 1px solid #ddd;
}

/* Table Row */
.tableRow {
  border-bottom: 1px solid #ddd;
  height: 46px;
}

.tableRow td {
  vertical-align: middle;
}

/* Main Cell */
.mainCell {
  width: 16rem;
  text-align: start;
  padding-left: 0.5rem;
  background-color: #f7f7f7;
  height: 46px;
  font-weight: bold;
  color: #333333;
  border: 1px solid #ddd;
}

/* Back Cell */
.backCell {
  width: 5.5rem;
  background-color: #72bbef;
  font-weight: bold;
  color: #333333;
  border: 1px solid #ddd;
  padding: 0;
  cursor: pointer;
  height: 46px;
  vertical-align: middle;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cellContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 0;
  padding: 0;
}

.cellContent > span {
  display: block;
  line-height: 1.2;
}

.exposure {
  font-size: 10px;
  font-weight: bold;
  line-height: 1;
  margin-top: -2px;
}

/* Lay Cell */
.layCell {
  width: 5.5rem;
  background-color: #faa9ba;
  font-weight: bold;
  color: #333333;
  border: 1px solid #ddd;
  padding: 0;
  cursor: pointer;
  height: 46px;
  vertical-align: middle;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Locked Cell */
.lockedCell {
  width: 5.5rem;
  background-color: #333;
  text-align: center;
  border: 1px solid #ddd;
  padding: 0;
  height: 46px;
  vertical-align: middle;
  position: relative;
}

.lockedCell svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Responsive Design */
@media (max-width: 768px) {
  .playerName {
    width: 12rem; /* Adjust width for smaller screens */
  }

  .backHeader,
  .layHeader {
    width: 4rem; /* Adjust width for smaller screens */
    padding: 6px 0; /* Adjust padding for smaller screens */
  }

  .mainCell,
  .backCell,
  .layCell,
  .lockedCell {
    padding-left: 0.3rem; /* Adjust padding for smaller screens */
    font-size: 14px; /* Reduce font size for smaller screens */
  }
}

@media (max-width: 480px) {
  .playerName {
    width: 10rem; /* Further adjust width for very small screens */
  }

  .backHeader,
  .layHeader {
    width: 3.5rem; /* Further adjust width for very small screens */
    padding: 4px 0; /* Further adjust padding for very small screens */
  }

  .mainCell,
  .backCell,
  .layCell,
  .lockedCell {
    font-size: 12px; /* Further reduce font size for very small screens */
  }
}
