.container {
  width: 100%;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
}

.row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.section {
  flex: 1;
  margin: 5px;
  border-radius: 4px;
  overflow: hidden;
}

.sectionHeader {
  padding: 10px;
  display: flex;
}

.sectionTitle {
  font-weight: bold;
  color: #333;
  display: block;
  margin-bottom: 5px;
}

.cardRow {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.cardBox {
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffd700;
  font-weight: bold;
}

.suitRow {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: auto;
}

.suit {
  font-size: 24px;
}

.oddsRow {
  display: flex;
  height: 50px;
  gap: 8px;
}

.oddsCell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2c3e50;
  /* border-radius: 4px; */
  position: relative;
  min-width: 60px;
}

.oddsCell > svg {
  color: white !important;
  font-size: 28px !important;
}

.oddsCell:not(:has(svg)) {
  cursor: pointer;
}

.blueOdds,
.pinkOdds {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  height: 100%;
  border-radius: 4px;
}

.blueOdds {
  background-color: #7fc4e8;
  color: #003c5a;
}

.pinkOdds {
  background-color: #ffb6c1;
  color: #66001a;
}

/* Bottom section containing baccarat and cards */
.bottomSection {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Baccarat section */
.baccaratSection {
  width: 15.5%;
}

.baccaratHeader {
  padding: 10px;
  background-color: #f0f0f0;
  font-weight: bold;
  border: 1px solid #ddd;
}

.lockedSection {
  height: 80px;
  background-color: #4a5568;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lockIcon {
  color: white;
  font-size: 24px;
}

/* Card deck */
.cardDeck {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  border: 1px solid #80808040;
  padding: 1rem;
  margin: auto;
}

.cardContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cardNumber {
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.playingCard {
  width: 40px;
  height: 60px;
  background-color: white;
  border: 1px solid #ffd700;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  padding: 2px;
}

.cardValue {
  font-weight: bold;
  text-align: center;
  font-size: 14px;
}

.cardSuits {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}

.blackSuit {
  color: black;
}

.redSuit {
  color: red;
}

/* Lock overlay effects */
.lockedDeckOverlay {
  position: relative;
  filter: brightness(0.5);
  pointer-events: none;
}

.lockedCard {
  position: relative;
  filter: brightness(0.6);
}

.cardLockOverlay {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Tablet responsive */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  .section {
    margin-bottom: 10px;
  }

  .cardDeck {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 10px;
  }
}

/* Mobile responsive */
@media (max-width: 480px) {
  .cardBox {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }

  .suit {
    font-size: 18px;
  }

  .blueOdds,
  .pinkOdds {
    font-size: 16px;
  
  }

  .playingCard {
    width: 30px;
    height: 45px;
  }

  /* ✅ FIX: Show both Baccarat sections in one row */
  .bottomSection {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .baccaratSection {
    width: 45%;
    min-width: 140px;
  }
}
.lockedCard {
  position: relative;
  background-color: rgba(50, 50, 50, 0.6); /* transparent black */
}

.cardLockOverlay {
  position: absolute;
  top: 4px;
  right: 4px;
}
