/**
 * Lionsports Open Bets modal — KolkataBook/Dream reference overlay.
 */
.lion-open-bets-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10080;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 8px 24px;
  overflow-y: auto;
}

.lion-open-bets-modal-backdrop[hidden] {
  display: none !important;
}

body.lion-open-bets-modal-open {
  overflow: hidden;
}

.lion-open-bets-modal {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  margin: 0 auto;
}

.lion-open-bets-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(-180deg, #2a8f4a 0%, #1e7040 100%);
  color: #fff;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 15px;
}

.lion-open-bets-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  min-width: 32px;
  min-height: 32px;
}

.lion-open-bets-event-title {
  color: #2789ce;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 12px 6px;
  border-bottom: 1px solid #e8e8e8;
}

.lion-open-bets-tabs {
  display: flex;
  border-bottom: 2px solid #1e7040;
  padding: 0 12px;
}

.lion-open-bets-tabs button {
  border: 0;
  background: transparent;
  color: #333;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 12px 6px;
  margin-bottom: -2px;
  cursor: default;
}

.lion-open-bets-tabs button.active {
  color: #1e7040;
  border-bottom: 2px solid #1e7040;
}

.lion-open-bets-body {
  max-height: min(60vh, 480px);
  overflow: auto;
  padding: 0 0 8px;
}

.lion-open-bets-empty {
  padding: 24px 12px;
  text-align: center;
  color: #666;
  font-size: 14px;
}

.lion-open-bets-hint {
  padding: 8px 12px 0;
  font-size: 11px;
  color: #666;
}

.lion-open-bets-table-wrap {
  padding: 8px 8px 0;
  overflow-x: auto;
}

.lion-open-bets-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.lion-open-bets-table thead th {
  background: #f5f5f5;
  color: #333;
  font-weight: 700;
  padding: 6px 4px;
  text-align: center;
  border: 1px solid #ddd;
  white-space: nowrap;
}

.lion-open-bets-table tbody td {
  padding: 8px 4px;
  text-align: center;
  border: 1px solid #ddd;
  vertical-align: middle;
}

.lion-open-bets-table tbody tr.lion-ob-back {
  background: #dceeff;
}

.lion-open-bets-table tbody tr.lion-ob-lay {
  background: #fdd;
}

.lion-open-bets-table .lion-ob-side {
  font-weight: 700;
  text-align: left;
  padding-left: 8px;
}

.lion-open-bets-table .lion-ob-meta {
  font-size: 11px;
  color: #444;
  text-align: left;
  padding-left: 8px;
}

.lion-open-bets-table .lion-ob-status {
  font-size: 10px;
  color: #666;
  display: block;
  margin-top: 2px;
}

.lion-open-bets-other-events {
  margin-top: 12px;
  padding: 0 8px 8px;
}

.lion-open-bets-other-events h4 {
  font-size: 12px;
  color: #2789ce;
  margin: 0 0 6px;
  padding: 0 4px;
}

@media (max-width: 991px) {
  .lion-open-bets-modal-backdrop {
    padding: 0;
    align-items: stretch;
  }

  .lion-open-bets-modal {
    max-width: none;
    min-height: 100%;
    border-radius: 0;
  }

  .lion-open-bets-body {
    max-height: none;
    flex: 1;
  }
}

@media (min-width: 992px) {
  .lion-open-bets-modal-backdrop {
    align-items: center;
    padding: 24px;
  }
}
