/* Container */
.mlb-odds-wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

/* Top Controls (Dropdowns, Calendar, Search) */
.mlb-odds-controls {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  justify-content: space-between;
  flex-wrap: wrap;
}

.mlb-odds-controls select,
.mlb-odds-controls input[type="date"],
.mlb-odds-controls input[type="text"] {
  flex: 1 1 22%;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 120px;
}

/* Grid and Table */
.mlb-odds-grid {
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

/* Header and Row Columns */
.mlb-odds-header,
.mlb-odds-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding: 10px;
  align-items: center;
}

.mlb-odds-header {
  background-color: #f5f5f5;
  font-weight: bold;
}

.column-header,
.column-data {
  text-align: center;
}

/* Alternate background for rows */
.mlb-odds-row:nth-child(even) {
  background-color: #fafafa;
}

/* Matchup Column */
.matchup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-left: 10px;
}

.matchup .teams {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
}

.matchup img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.matchup .time {
  font-size: 0.85em;
  color: #666;
  margin-top: 4px;
}

/* Sportsbook Logos and Odds Inline */
.books-inline {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  padding: 0 10px;
  gap: 8px;
}

.sportsbook-logo {
  height: 20px;
  flex-shrink: 0;
  opacity: 0.7;
  margin: 0 4px;
}

/* Odds below logos */
.odds-row {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  font-size: 14px;
  color: #000;
  margin-top: 4px;
}
.book-entry {
  min-width: 40px;
  text-align: center;
  font-size: 14px;
  color: #111;
  flex-shrink: 0;
}
