/**
 * Lionsports account shell + bets panels — Dream444 table-style bet history.
 */
.lion-account-shell {
  background: #fff;
  min-height: calc(100vh - 120px);
  padding: 0 0 80px;
}

.lion-account-shell .lion-account-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(-180deg, #1a3a5c 0, #0d2238 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.lion-account-shell .lion-account-user svg,
.lion-account-shell .lion-account-user .lion-account-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lion-account-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e0e0e0;
}

.lion-account-menu li {
  border-bottom: 1px solid #e8e8e8;
}

.lion-account-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  color: #2789ce;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  background: #fff;
}

.lion-account-menu a:active,
.lion-account-menu a.lion-active {
  background: #f5f8fb;
}

.lion-account-menu .lion-chev {
  color: #999;
  font-size: 18px;
  line-height: 1;
}

.lion-account-logout {
  display: block;
  width: calc(100% - 32px);
  margin: 20px 16px;
  padding: 12px;
  border: 0;
  border-radius: 4px;
  background: #c0392b;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.lion-bets-page {
  padding: 8px 8px 88px;
  background: #f4f6f8;
}

.lion-bet-history-page .lion-bh-filters {
  margin: 8px 4px 12px !important;
  padding: 10px 12px 12px;
  background: #fff;
  border: 1px solid #c8ced3 !important;
  border-radius: 4px;
}

.lion-bh-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
  margin-bottom: 10px;
}

.lion-bh-filter-grid label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #243a48;
}

.lion-bh-filter-grid select,
.lion-bh-filter-grid input {
  padding: 6px 8px;
  border: 1px solid #c8ced3;
  border-radius: 4px;
  font-size: 12px;
  color: #243a48;
  background: #fff;
}

.lion-bh-search-btn {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 4px;
  background: #555;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.lion-bh-table-block {
  margin-bottom: 12px;
}

.lion-bets-page .card-report {
  margin-bottom: 12px !important;
}

.lion-bets-page .dashboard-custom-table {
  font-size: 12px;
  min-width: 640px;
}

.lion-bets-page .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.lion-bets-page .dashboard-custom-table th,
.lion-bets-page .dashboard-custom-table td {
  padding: 8px 6px !important;
  vertical-align: top;
  word-break: break-word;
  color: #243a48 !important;
  background: #fff;
}

.lion-bets-page .dashboard-custom-table thead th {
  background: #e4e4e4 !important;
  color: #243a48 !important;
  font-weight: 700;
  white-space: nowrap;
}

.lion-bets-page .dashboard-custom-table tbody tr {
  display: table-row !important;
  border-bottom: 1px solid #ddd;
}

.lion-bets-page .dashboard-custom-table tbody td {
  display: table-cell !important;
  border: 1px solid #e0e0e0 !important;
}

.lion-bets-page .dashboard-custom-table tbody td::before {
  content: none !important;
  display: none !important;
}

.lion-bets-page .lion-bet-event {
  font-weight: 700;
  color: #243a48;
  line-height: 1.25;
}

.lion-account-back {
  display: block;
  width: calc(100% - 24px);
  margin: 12px;
  padding: 10px 12px;
  border: 1px solid #c8ced3;
  border-radius: 4px;
  background: #fff;
  color: #2789ce;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}

body.lion-route-bets #lion-account-shell .lion-bets-page {
  display: block !important;
}

body.lion-route-bets .lion-account-menu {
  display: none !important;
}

body.lion-route-home .lion-bets-page,
body.lion-route-home .lion-account-shell,
body.lion-route-home .lion-account-mount,
body.lion-route-home app-bet-history .lion-bets-page {
  display: none !important;
}

body.lion-route-home app-bet-history:not(:empty) {
  display: none !important;
}

body.lion-route-account .lion-account-shell {
  display: block !important;
}

body.lion-route-account app-account .container-fluid > .row {
  display: none !important;
}

body.lion-route-account app-dashboard,
body.lion-route-account app-old-casino {
  display: none !important;
}

@media only screen and (max-width: 991px) {
  .lion-bh-filter-grid {
    grid-template-columns: 1fr;
  }

  .lion-bets-page .dashboard-custom-table thead {
    display: table-header-group !important;
  }

  .lion-bets-page .dashboard-custom-table tr {
    display: table-row !important;
  }

  .lion-bets-page .dashboard-custom-table td {
    display: table-cell !important;
  }
}
