/* Main Container */
.dragonTigerTable {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  width: 100%;
  margin: 0 auto;
  padding: 10px;
  background: #f5f5f5;
}

/* Top Row */
.topRow {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr 2fr;
  gap: 12px;
  margin-bottom: 24px;
}

.betBox {
  background-image: linear-gradient(to right, var(--bg-primary), var(--bg-secondary));
  color: white;
  padding: 12px;
  /* border-radius: 5px; */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 60px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.betBoxLarge {
  background-image: linear-gradient(to right, var(--bg-primary), var(--bg-secondary));
  color: white;
  padding: 12px;
  /* border-radius: 5px; */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 60px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.betBoxSmall {
  background-image: linear-gradient(to right, var(--bg-primary), var(--bg-secondary));
  color: var(--text-primary);
  color: white;
  padding: 12px;
  /* border-radius: 5px; */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.odds {
  font-size: 1.25rem;
  font-weight: 600;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Middle Section */
.middleSection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sideHeader {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin: 0;
  text-align: center;
}

.oddsGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.suitsRed {
  font-size: 1.25rem;
  letter-spacing: 2px;
  color: #ff0000;
}

.suitsBlack {
  font-size: 1.25rem;
  letter-spacing: 2px;
  color: #000;
}

/* Bottom Section */
.bottomSection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cardsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
  gap: 8px;
}

.card {
  width: 2rem;
  height: auto;
  background: white;
  border: 2px solid #fef08a;
  /* border-radius: 4px; */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.cardContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.cardSuits {
  display: flex;
  gap: 2px;
  font-size: 0.75rem;
}

.black {
  color: #000;
}

.red {
  color: #ff0000;
}

/* Responsive Design */
@media (max-width: 768px) {
  .topRow {
    grid-template-columns: 1fr 1fr;
  }

  .middleSection,
  .bottomSection {
    grid-template-columns: 1fr;
  }

  .cardsGrid {
    grid-template-columns: repeat(auto-fill, minmax(35px, 1fr));
  }
}

@media (max-width: 480px) {
  .topRow {
    grid-template-columns: 1fr;
  }

  .oddsGrid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  /* Top row: 4 boxes in a single row with scroll */
  .topRow {
    display: flex !important;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .topRow > div {
    min-width: 90px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Even/Odd - single row */
  .oddsGrid {
    display: flex !important;
    flex-direction: row;
    gap: 8px;
    justify-content: space-between;
  }

  .oddsGrid > div {
    flex: 1;
    min-width: 70px;
    text-align: center;
  }
}
