/* Base styling */
body {
  background-color: #0B173C;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

/* Mobile sidebar styles */
.sidebar-mobile {
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  position: fixed !important;
  top: 56px;
  left: 0;
  width: 280px;
  height: calc(100vh - 56px);
  z-index: 1020;
  background-color: #060A2A;
  display: block !important;
  /* Hide scrollbar while maintaining scroll functionality */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

.sidebar-mobile::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.sidebar-mobile.show {
  transform: translateX(0);
}

@media (max-width: 767px) {
  .sidebar-mobile {
    display: block !important;
  }
}

@media (min-width: 768px) {
  .sidebar-mobile {
    position: sticky !important;
    top: 0;
    left: auto;
    width: auto;
    height: 100vh;
    z-index: auto;
  }

  .sidebar-mobile:not(.show) {
    transform: none;
  }
}

/* Top navigation */

.top-nav {
  font-size: 14px;
  line-height: 19px;
  font-weight: 400;
}

/* Mobile logo styles */
@media (max-width: 767px) {
  .navbar-brand img {
    content: url('assets/favicon.webp');
    /* Change to your mobile logo */
    width: 30px;
    height: 30px;
    /* Adjust size for mobile */
  }

  /* Fix mobile navbar spacing */
  .navbar-brand {
    margin-right: 1rem !important;
    margin-left: 0.5rem !important;
  }

}
.pro-list{
  background: #ebf0f5;
}
.pro-list li{
  border-bottom: #9fb0d1;
  padding: 7px;
}
.pro-list li.Active{
  background:#fff;
}


.pro-list li:hover{
  background:#fff;
}

.pro-list li a{
  color: #0f1e53;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;;
}
.pro-list li a:hover{
  color: #0f1e53;
  font-size: 0.9rem;
  font-weight: 500;
 
}

.form-control-setting{
    border: 1px solid #ced4da;
    padding: 0.35rem 0.85rem;
    width: 100%;
    font-size: 0.85rem;
    border-radius: 4px;
}
.form-horizontal label{
  font-size: 14px;
  color:#0f1e53;
}
.btn-xs{
  font-size:x-small;
  --bs-btn-padding-x:0.25rem !important;
  --bs-btn-padding-y:0.20rem !important;
}
.bg-match-title{
  border-color: #f1f5f9 !important;
}


/* Sidebar Main Palette */
.sidebar {
  background-color: #060A2A !important;
  /* Rich deep navy */
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-wrapper {
  padding: 12px 4px;
}

/* Headings styling */
.sidebar-heading {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  text-transform: none !important;
}

/* List navigation styling */
.nav-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.nav-list-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  color: #f1f5f9;
  text-decoration: none;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  transition: color 0.15s ease;
}

.nav-link-media {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  margin-right: 10px;
}

.nav-link-custom:hover {
  color: #ffffff;
}

/* All Sports Header button styling */
.all-sports-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  transition: opacity 0.15s ease;
}

.all-sports-btn:hover {
  color: #ffffff;
  opacity: 0.9;
}

/* Visual Sport Cards (Gradiente + Image blend) */
.sport-card {
  height: 54px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  padding-left: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: luminosity;
  transition: border-color 0.2s ease;
  border: 1px solid #12386F;
}

.sport-card:hover {
  background-color: #03081a;
}

/* High-quality placeholder sports backgrounds */
.sport-card.football {
  background-image: linear-gradient(90deg, #03081a 45%, rgba(3, 8, 26, 0.2) 100%),
    url('../images/football.webp');
}

.sport-card.horse {
  background-image: linear-gradient(90deg, #03081a 45%, rgba(3, 8, 26, 0.2) 100%),
    url('../images/horse.webp');
}

.sport-card.tennis {
  background-image: linear-gradient(90deg, #03081a 45%, rgba(3, 8, 26, 0.2) 100%),
    url('../images/tennis.webp');
}

.sport-card-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* Media Card Group Panel */
.media-box {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.01);
  overflow: hidden;
}

.media-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.2px;
}

.media-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.media-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.media-icon-left {
  opacity: 0.85;
}

.media-icon-right {
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.media-icon-right:hover {
  opacity: 1;
  transform: scale(1.08);
}


/* Story slider */
.story-slider {
  scroll-behavior: smooth;
  /* Hide scrollbars for a cleaner look */
  scrollbar-width: none;
  /* Firefox */
}

.story-slider::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}


/* Sports tabs */
.nav-tabs {
  border-bottom: 1px solid #243562;
}

.nav-tabs .nav-link {
  color: #a2a5bf;
  border: none;
  border-bottom: 2px solid transparent;
  margin-right: 0.5rem;
}

.nav-tabs .nav-link.active {
  color: #ffffff;
  background-color: #101f4f;
  border-bottom-color: #0070f4;
  border-radius: 4px 4px 0 0;
}

/* Cards and tables */
.event-card {
  background-color: #0f1e53;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.event-card .card-header {
  background-color: #142761;
  border-bottom: 1px solid #243562;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
}

.event-card .card-header a {
  color: #5fa0ef;
  font-size: 0.75rem;
  text-decoration: none;
}

.event-card .card-header a:hover {
  text-decoration: underline;
}

.event-card .card-body {
  font-size: 0.85rem;
  padding: 0.75rem;
  /* Ensure there is room for content */
  min-height: 170px;
}

.event-card table {
  color: #ffffff;
}

.event-card table th {
  background-color: transparent;
  border-bottom: 1px solid #243562;
  font-size: 0.7rem;
  color: #a2a5bf;
}

.event-card table td {
  color: #ffffff;
  font-size: 0.8rem;
  padding: 0.5rem 0.25rem;
  vertical-align: middle;
}

.event-card table tr+tr td {
  border-top: 1px solid #243562;
}

/* Price list styling */
.price-list p {
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.price-list .badge {
  background-color: #0070f4;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .sidebar {
    position: static;
    height: auto;
    border-right: none;
    margin-bottom: 1rem;
  }

  .sidebar .nav-link {
    padding: 0.3rem 0.5rem;
  }

  .nav-tabs .nav-link {
    font-size: 0.8rem;
    margin-right: 0.25rem;
  }

  .event-card .card-body {
    font-size: 0.75rem;
  }
}

/* Top Banner */
.banner-section {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://via.placeholder.com/350x200');
  /* Replace with your image */
  background-size: cover;
  color: white;
  padding: 15px;
  position: relative;
}

.live-tag {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #fff;
  padding: 2px 8px;
  font-size: 0.8rem;
}

/* Grid Links */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #ccc;
  border: 1px solid #ccc;
}

.promo-item {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  font-size: 0.85rem;
  color: white;
  text-decoration: none;
  background-size: cover;
  border: 2px solid transparent;
}

.promo-item:hover {
  border: 2px solid yellow;
  color: white;
}

/* Betting List */
.section-header {
  background: #f8f9fa;
  padding: 10px;
  border-bottom: 2px solid #002344;
  font-weight: bold;
  color: #002344;
}

.bet-row {
  border-bottom: 1px solid #eee;
  padding: 10px;
  transition: background 0.2s;
}

.bet-row:hover {
  background: #f9f9f9;
}

.bet-info {
  font-size: 0.8rem;
  color: #666;
}

.bet-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
}

.odds-btn {
  background-color: #dbe7ff;
  color: #002344;
  border: none;
  width: 70px;
  padding: 8px 0;
  font-weight: bold;
  border-radius: 4px;
}

.odds-btn:hover {
  background-color: #c5d8ff;
}

/* ---------Login popup--------- */
/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 5, 26, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

/* Popup container */
.login-popup {
  width: 520px;
  height: 500px;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Header styling */
.login-header {
  background: #060A2A;
  /* Exact deep navy */
  color: #fff;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 140px;
  position: relative;
}

.signup-text {
  color: #ccc;
  font-size: 14px;
  text-align: right;
  line-height: 1.2;
}

.signup-text span {
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  display: block;
  font-size: 16px;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
  z-index: 10;
}

.close-btn:hover {
  opacity: 1;
}

/* Body and Form styling */
.login-body {
  padding: 3rem 3.5rem;
  flex: 1;
}

.form-control {
  border: 1px solid #ced4da;
  padding: 0.75rem 1rem;
  height: 55px;
  font-size: 16px;
  border-radius: 4px;
}

.form-control::placeholder {
  color: #99a2b1;
}

/* Custom Blue Button */
.btn-login {
  background-color: #0b59be;
  border: none;
  height: 55px;
  font-weight: 700;
  font-size: 18px;
  border-radius: 4px;
  color: white;
  transition: background 0.2s;
}

.btn-login:hover {
  background-color: #0949a1;
  color: white;
}

.form-check-label {
  color: #3e4e6c;
  font-weight: 500;
  margin-left: 5px;
}

.footer-link {
  text-align: left;
  margin-top: 1.5rem;
}

.footer-link a {
  color: #1062d1;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

/* Eye Icon inside input */
.password-wrapper {
  position: relative;
}

.eye-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #060e2e;
  cursor: pointer;
  font-size: 20px;
}

/* -- Custom Styles for the Racing UI --> */
.race-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.race-header {
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.race-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #00234b;
}

.race-meta {
  font-size: 0.75rem;
  color: #6c757d;
}

.odds-badge {
  background-color: #f1f3f4;
  border-radius: 4px;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  width: 60px;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.runner-row {
  border-bottom: 1px solid #f8f9fa;
  padding: 10px 0;
}

.silk-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.runner-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #003067;
  margin-bottom: 0;
}

.runner-info {
  font-size: 0.7rem;
  color: #555;
  line-height: 1.2;
}

.view-full-card {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #007bff;
  display: block;
  text-align: center;
  padding-top: 10px;
}

.featured-header {
  background: white;
  border-bottom: 2px solid #e9ecef;
  color: #00234b;
  font-weight: 700;
  padding: 10px 15px;
  border-radius: 8px 8px 0 0;
}

.featured-row {
  background: white;
  border-bottom: 1px solid #f1f1f1;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.featured-row:hover {
  background-color: #f8f9fa;
}

.featured-time {
  font-size: 0.85rem;
  font-weight: 500;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-header h5 {
  font-weight: 700;
  color: #00234b;
  margin: 0;
}

.text-blue {
  color: #007bff;
  text-decoration: none;
  font-size: 0.85rem;
}

/* nav link */
.nav-link-style {
  color: #9BA9C1;
  font-weight: 500;
  font-size: 14px;
}

.nav-link-style:hover {
  color: #ffffff !important;
}

/* Apply these rules to all navbar links */
.navbar-nav .nav-link {
  border-bottom: 2px solid transparent;
}

/* Highlight the active link with a blue bottom border */
.navbar-nav .nav-link.active {
  font-size: 14px;
  line-height: 19px;
  font-weight: 700;
  color: #FCE1A4;
  border-bottom-color: #2999f3;
}

.login-btn {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #FCE1A4;
  border-radius: 4px;
  padding: 6px 18px;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
}

.join-btn {
  background-color: #FCE1A4;
  color: #0a1c2e;
  border: none;
  border-radius: 4px;
  padding: 6px 18px;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
}

.search-btn {
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
}

* {
  box-sizing: border-box;
}

.betslip-container {
  width: 380px;
  position: fixed;
  right: 0;
  bottom: 0;
  color: #fff;
  overflow: hidden;
}

/* Header */
.betslip-header {
  height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #001947;
  font-size: 13px;
  font-weight: 700;
}

.chevron {
  color: #8da1c6;
  font-size: 22px;
  line-height: 1;
  transform: translateY(-2px);
}

.betslip-subheader {
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #001947;
  font-size: 12px;
  font-weight: 700;
}

.gear {
  color: #9daccc;
  font-size: 18px;
  line-height: 1;
}

/* Section bars */
.section-title,
.multiples-title {
  height: 40px;
  padding: 0 12px;
  background: #34486f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
}

.section-title a {
  color: #a8b7d5;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
}

.count-badge {
  width: 13px;
  height: 13px;
  margin-right: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff3456;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  border-radius: 1px;
}

/* Bet cards */
.bet-card {
  position: relative;
  min-height: 90px;
  padding: 12px 12px 10px 44px;
  display: flex;
  background: #132852;
  border-bottom: 1px solid #061d43;
}

.bet-card.suspended {
  min-height: 104px;
}

.bet-card.active {
  min-height: 90px;
}

.rail {
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: #00aeef;
}

.close-btn {
  position: absolute;
  left: 20px;
  top: 35px;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8294bd;
  font-size: 24px;
  font-weight: 200;
  line-height: 13px;
  cursor: pointer;
  z-index: 500;
}

.bet-card.active .close-btn {
  top: 28px;
}

.bet-content {
  width: 188px;
  padding-top: 0;
}

.bet-title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 17px;
}

.bet-subtitle {
  margin-top: 2px;
  color: #9fb0d1;
  font-size: 13px;
  line-height: 16px;
}

.stake-area {
  margin-left: auto;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.badge-suspended {
  width: 65px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #7181a2;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 1px;
}

.bet-input {
  width: 70px;
  height: 36px;
  padding: 0 8px;
  border: 0;
  border-radius: 2px;
  outline: 0;
  background: #fff;
  color: #001947;
  font-size: 11px;
  text-align: left;
}

.bet-input::placeholder {
  color: #8291b3;
  opacity: 1;
}

.bet-input:disabled {
  background: #fff;
  opacity: 1;
}

.odds {
  width: 65px;
  height: 16px;
  text-align: right;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}

.odds span {
  color: #a5b2cc;
  font-weight: 400;
  text-decoration: none;
}

.ew-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a6b6d5;
  font-size: 13px;
  line-height: 16px;
}

.ew-row input {
  width: 16px;
  height: 16px;
  margin: 0;
  appearance: none;
  border: 1px solid #93a6cb;
  border-radius: 2px;
  background: transparent;
}

/* Multiples */
.multiples-title {
  height: 36px;
  justify-content: flex-start;
}

.error-box {
  position: relative;
  height: 60px;
  padding: 8px 12px 8px 24px;
  background: #001947;
}

.error-box .rail {
  left: 10px;
  top: 9px;
  bottom: 9px;
}

.error-title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 15px;
}

.error-box ul {
  margin: 3px 0 0 0;
  padding-left: 13px;
  color: #fff;
  font-size: 11px;
  line-height: 13px;
}

.error-box li::marker {
  color: #fff;
}

/* Singles summary */
.singles-summary {
  height: 68px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  background: #132852;
  font-size: 13px;
  font-weight: 700;
}

/* Footer */
.footer-actions {
  height: 125px;
  padding: 16px 10px 0;
  background: #061b44;
}

.warning-text {
  margin-bottom: 22px;
  color: #f4dc96;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 14px;
}

.btn-accept {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 2px;
  background: #e4cd8f;
  color: #002458;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}

.btn-accept:hover {
  background: #dbc17f;
}

/* Bottom tabs */
.betslip-tabs {
  height: 40px;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 92px;
  background: #001947;
}

.tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7f8fae;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
  user-select: none;
}

.tab:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.tab.active {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.active-tab {
  color: #fff;
}

.tab-icon {
  position: relative;
  width: 16px;
  height: 13px;
  display: inline-block;
  border: 1px solid #8191b3;
  border-top-width: 3px;
}

.tab-icon::before,
.tab-icon::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 3px;
  height: 5px;
  background: #8191b3;
}

.tab-icon::before {
  left: 3px;
}

.tab-icon::after {
  right: 3px;
}

.tab-count {
  position: absolute;
  top: -9px;
  right: -7px;
  width: 13px;
  height: 13px;
  background: #ff3456;
  color: #fff;
  font-size: 10px;
  line-height: 13px;
  text-align: center;
  border-radius: 1px;
}

.my-bets-icon {
  width: 16px;
  height: 13px;
  display: inline-block;
  border: 1px solid #637396;
  border-top-width: 3px;
  opacity: 0.75;
}

/* story-card */
.story-card {
  width: 130px;
  height: 220px;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #1890FF;
  cursor: pointer;
}

/* Featured Markets horizontal scroll on mobile */
@media (max-width: 767px) {
  .featured-markets-container {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 #f5f7f9;
    -webkit-overflow-scrolling: touch;
  }

  .featured-markets-container::-webkit-scrollbar {
    height: 6px;
  }

  .featured-markets-container::-webkit-scrollbar-track {
    background: #f5f7f9;
  }

  .featured-markets-container::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 3px;
  }

  .featured-markets-container .row {
    flex-wrap: nowrap;
    min-width: max-content;
  }

  .featured-markets-container .col-12 {
    flex: 0 0 auto;
    width: 280px;
    margin-right: 12px;
  }
}

/* Latest Events horizontal scroll on mobile and tablet */
@media (max-width: 991px) {
  .latest-events-container {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 #ebf0f5;
    -webkit-overflow-scrolling: touch;
  }

  .latest-events-container::-webkit-scrollbar {
    height: 6px;
  }

  .latest-events-container::-webkit-scrollbar-track {
    background: #ebf0f5;
  }

  .latest-events-container::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 3px;
  }

  .latest-events-container .row {
    flex-wrap: nowrap;
    min-width: max-content;
  }

  .latest-events-container .col-md-4 {
    flex: 0 0 auto;
    width: 320px;
    margin-right: 12px;
  }
}

/* Horse Racing race cards horizontal scroll on mobile and tablet */
@media (max-width: 991px) {
  .horse-racing-container {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 #f4f4f4;
    -webkit-overflow-scrolling: touch;
  }

  .horse-racing-container::-webkit-scrollbar {
    height: 6px;
  }

  .horse-racing-container::-webkit-scrollbar-track {
    background: #f4f4f4;
  }

  .horse-racing-container::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 3px;
  }

  .horse-racing-container .race-grid {
    display: flex;
    flex-wrap: nowrap;
    min-width: max-content;
    gap: 12px;
  }

  .horse-racing-container .race-card {
    flex: 0 0 auto;
    width: 300px;
    min-width: 300px;
  }
}

/* Utility classes */
.d-hidden {
  display: none !important;
}

/* Featured Events grid horizontal scroll on mobile and tablet */
@media (max-width: 991px) {
  .featured-events-container {
    overflow-x: auto;
    scrollbar-width: 0px;
    scrollbar-color: #e0e0e0 #f4f4f4;
    -webkit-overflow-scrolling: touch;
  }

  .featured-events-container::-webkit-scrollbar {
    height: 6px;
  }

  .featured-events-container::-webkit-scrollbar-track {
    background: #f4f4f4;
  }

  .featured-events-container::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 3px;
  }

  .featured-events-container .featured-grid {
    display: flex;
    flex-wrap: nowrap;
    min-width: max-content;
    gap: 0px;
  }

  .featured-events-container .featured-card {
    flex: 0 0 auto;
    width: 280px;
    min-width: 280px;
  }
}


/* nav-tab */
.sports-tabs {
  background: #050a2f;
  padding: 12px 14px;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  top: 65px;
  z-index: 10;
  background-color: #061530;
}



/* Sports tabs horizontal scroll on mobile and tablet */
@media (max-width: 991px) {
  .sports-tabs {
    overflow-x: auto;
    top: 55px;
    scrollbar-width: thin;
    scrollbar-color: #2a3f5f #050a2f;
    -webkit-overflow-scrolling: touch;
    padding: 12px 14px;
    white-space: nowrap;
    display: flex;
    flex-wrap: nowrap;
  }

  .sports-tabs::-webkit-scrollbar {
    height: 4px;
  }

  .sports-tabs::-webkit-scrollbar-track {
    background: #050a2f;
  }

  .sports-tabs::-webkit-scrollbar-thumb {
    background: #2a3f5f;
    border-radius: 2px;
  }

  .sports-tabs .nav-item {
    flex: 0 0 auto;
    margin-right: 4px;
  }

  .sports-tabs .nav-item:last-child {
    margin-right: 0;
  }
}

.sports-tabs .nav-link {
  color: #b9c6e5;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
}

.sports-tabs .nav-link:hover {
  color: #ffffff;
}

.sports-tabs .nav-link.active {
  color: #ffffff;
  background: #12386f;
  border-radius: 2px;
}

/* Horse content tab */
.horse-racing-ui {
  background: #363954;
  overflow: hidden;
}

.horse-top {
  position: relative;
  height: 69px;
  padding: 17px 15px;
  color: #fff;
  overflow: hidden;
}

.horse-top::after {
  content: "";
  position: absolute;
  right: 18px;
  top: -42px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  border: 14px solid rgba(255, 255, 255, 0.035);
  opacity: 0.8;
}

.horse-top h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.35px;
}

.horse-view-all {
  position: absolute;
  z-index: 2;
  top: 23px;
  right: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
}

.section-header {
  height: 44px;
  padding: 0 12px;
  background: #fff;
  border-bottom: 1px solid #dce3ef;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-header h5 {
  margin: 0;
  color: #193a73;
  font-size: 16px;
  font-weight: 700;
}

.section-header a {
  color: #0057bd;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.next-races-wrap {
  background: #f4f4f4;
  padding: 17px 14px 15px;
  box-shadow: inset 0 8px 18px rgba(0, 0, 0, 0.03);
}

.race-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 0px;
}

.race-card {
  min-height: 464px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(6, 21, 48, 0.08);
}

.race-head {
  position: relative;
  padding: 15px 12px 13px;
  border-bottom: 1px solid #edf0f5;
}

.race-title {
  margin: 0 0 7px;
  color: #17376f;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
}

.race-meta {
  color: #31558e;
  font-size: 9.5px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.1px;
}

.race-countdown {
  position: absolute;
  right: 12px;
  top: 17px;
  min-width: 60px;
  height: 18px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #d94b00;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 800;
}

.race-ew,
.race-offers {
  padding: 12px;
  border-bottom: 1px solid #edf0f5;
  color: #31558e;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
}

.race-offers {
  color: #17376f;
  font-weight: 700;
  font-size: 11.5px;
}

.runner-row {
  min-height: 90px;
  padding: 14px 12px 12px;
  display: grid;
  grid-template-columns: 34px 1fr 60px;
  gap: 9px;
  align-items: center;
  border-bottom: 1px solid #edf0f5;
}

.runner-silk-wrap {
  text-align: center;
  color: #102d5f;
  font-size: 11px;
  font-weight: 500;
}

.silk {
  width: 30px;
  height: 32px;
  margin: 0 auto 4px;
  border-radius: 3px 3px 5px 5px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  clip-path: polygon(18% 0, 82% 0, 100% 22%, 86% 38%, 86% 100%, 14% 100%, 14% 38%, 0 22%);
}

.silk-red-white {
  background:
    linear-gradient(90deg, #c90017 0 35%, #fff 35% 62%, #111 62% 100%);
}

.silk-purple-yellow {
  background:
    linear-gradient(90deg, #6120a7 0 26%, #f4cf00 26% 48%, #6120a7 48% 72%, #f4cf00 72% 100%);
}

.silk-white-red {
  background:
    radial-gradient(circle at 50% 42%, #c40018 0 5px, transparent 6px),
    #fff;
}

.silk-black-red {
  background:
    radial-gradient(circle at 50% 38%, #fff 0 2px, transparent 3px),
    linear-gradient(90deg, #ec0000 0 32%, #0a0a0a 32% 100%);
}

.silk-check {
  background:
    linear-gradient(45deg, #111 25%, transparent 25% 50%, #111 50% 75%, transparent 75%),
    #f2d100;
  background-size: 12px 12px;
}

.silk-blue-green {
  background:
    linear-gradient(90deg, #2d65d8 0 32%, #2aba50 32% 68%, #2d65d8 68% 100%);
}

.silk-white-lilac {
  background:
    linear-gradient(90deg, #fff 0 42%, #b78adf 42% 58%, #fff 58% 100%);
}

.silk-red-black {
  background:
    linear-gradient(90deg, #e80012 0 34%, #0a0a0a 34% 67%, #e80012 67% 100%);
}

.silk-maroon {
  background:
    linear-gradient(90deg, #8b0830 0 34%, #fff 34% 58%, #8b0830 58% 100%);
}

.silk-pink-stars {
  background:
    radial-gradient(circle at 22% 26%, #f0d000 0 2px, transparent 3px),
    radial-gradient(circle at 68% 38%, #f0d000 0 2px, transparent 3px),
    radial-gradient(circle at 43% 72%, #f0d000 0 2px, transparent 3px),
    #f58bd8;
}

.silk-black-stars {
  background:
    radial-gradient(circle at 28% 26%, #f5e000 0 2px, transparent 3px),
    radial-gradient(circle at 70% 38%, #f5e000 0 2px, transparent 3px),
    radial-gradient(circle at 44% 74%, #f5e000 0 2px, transparent 3px),
    #0b0b0b;
}

.runner-name {
  margin: 0 0 4px;
  color: #17376f;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 700;
}

.runner-info {
  color: #143467;
  font-size: 9.5px;
  line-height: 1.55;
  font-weight: 500;
}

.odds-box {
  min-height: 44px;
  padding: 7px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #102d5f;
  background: #f1f1f1;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.odds-sub {
  display: block;
  margin-top: 5px;
  color: #102d5f;
  font-size: 9px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.view-full-card {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0057bd;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.featured-card {
  background: #fff;
  border: 1px solid #dfe4ed;
  border-radius: 7px 7px 0 0;
  overflow: hidden;
  box-shadow: 0 1px 7px rgba(6, 21, 48, 0.08);
}

.featured-title {
  height: 44px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  color: #17376f;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid #e4e9f1;
}

.featured-row {
  height: 43px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e4e9f1;
  color: #17376f;
  font-size: 12px;
  font-weight: 500;
}

.featured-icons {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #0057bd;
  font-weight: 700;
}

.tv-icon {
  width: 14px;
  height: 9px;
  display: inline-block;
  border: 1.5px solid #12a365;
  border-radius: 2px;
  position: relative;
}

.tv-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 0;
  height: 0;
  border-left: 4px solid #12a365;
  border-top: 2.5px solid transparent;
  border-bottom: 2.5px solid transparent;
}

.plus-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d7b05a;
  color: #17376f;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.arrow-icon {
  color: #0057bd;
  font-size: 24px;
  line-height: 1;
  font-weight: 300;
}

@media (max-width: 1200px) {

  .race-grid,
  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {

  .race-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }
}

/* Featured market */

.featured-card {
  background-color: #ffffff;
  border: 1.5px solid #eef1f6 !important;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.featured-market-tag {

  background-color: #fcebb8;
  color: #001c44;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.featured-market-title {
  color: #001c44;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.3;
  margin-bottom: 12px;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-market-old-odds {
  font-size: 0.75rem;
  font-weight: 700;
  color: #4b6693;
  text-decoration: line-through;
  margin-bottom: 12px;
}

.featured-marke-btn {
  background-color: #dfc282;
  color: #001c44;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 10px 0;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  width: 65px;
  display: inline-block;
  transition: background-color 0.2s;

}

/* Tab content */

.football-tab-title {
  background-color: #363954;
  padding: 20px 24px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.batting-count {
  background-color: #edf2f7;
  border-radius: 4px;
  width: 54px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: #183060;
  cursor: pointer;
}

.event-title-sm{
  font-size: 10px; line-height: 16px; width: 400; color: #64748b; margin-bottom: 2px;
}

.event-title-md{
  font-size: 12px; line-height: 16px; font-weight: 400; color: #183060;
}



:root {
  --navy: #030724;
  --navy-2: #081434;
  --blue-text: #001f5f;
  --muted-blue: #4f6597;
  --link-blue: #a8c3ff;
  --body-bg: #f8f8f6;
  --line: #e9e9e6;
  --box-bg: #efefef;
  --gold: #ecd28a;
  --active-blue: #075cff;
}



a {
  text-decoration: none;
}

.page-header {
  background: var(--navy);
  color: #ffffff;
  height: 213px;
  position: relative;
}

.top-row {
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: var(--link-blue);
  font-size: 12px;
}

.top-row i {
  font-size: 15px;
  margin-right: 7px;
}

.breadcrumb-custom span {
  color: var(--link-blue);
}

.breadcrumb-custom .sep {
  color: #ffffff;
  margin: 0 4px;
}

.match-title-row {
  height: 37px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px 28px 0 8px;
}

.match-title {
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.change-link {
  color: #ffffff;
  font-size: 12px;
  margin-top: 5px;
  font-weight: 700;
}

.match-info {
  height: 87px;
  position: relative;
}

.team-block {
  position: absolute;
  top: 36px;
  text-align: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 17px;
}

.team-left {
  left: 207px;
}

.team-right {
  right: 206px;
}

.team-colors {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 5px;
}

.team-colors span {
  display: block;
  width: 7px;
  height: 2px;
  background: #09c57a;
}

.team-colors span:first-child {
  background: #cbd7ff;
}

.team-colors span:last-child {
  background: #df315d;
}

.event-center {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #ffffff;
  min-width: 230px;
}

.event-center .league {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 7px;
}

.event-center .time {
  color: #9ebdff;
  font-size: 12px;
  margin-bottom: 7px;
}

.event-center .channel {
  color: #9ebdff;
  font-size: 12px;
}

.tabs-bar {
  height: 57px;
  display: flex;
  align-items: flex-end;
}

.tab-item {
  height: 57px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca7c4;
  font-size: 14px;
  position: relative;
  padding-bottom: 17px;
}

.tab-item.active {
  color: #ffffff;
  font-weight: 700;
}

.tab-item.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 64px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 8px solid var(--body-bg);
}

.content-area {
  background: var(--body-bg);
  min-height: 584px;
  padding-top: 14px;
}

.bet-builder {
  height: 68px;
  margin: 0 10px 23px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 96% 45%, rgba(255, 255, 255, 0.08) 0 34px, transparent 35px),
    radial-gradient(circle at 96% 45%, transparent 0 50px, rgba(255, 255, 255, 0.07) 51px 56px, transparent 57px),
    linear-gradient(90deg, #050b2d 0%, #0d1940 52%, #173663 100%);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 12px;
  color: #ffffff;
}

.bet-builder h4 {
  font-size: 16px;
  line-height: 18px;
  margin: 0 0 4px;
  font-weight: 800;
}

.bet-builder p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.build-btn {
  width: 75px;
  height: 29px;
  border: none;
  border-radius: 4px;
  background: var(--gold);
  color: #00194d;
  font-size: 12px;
}

.market-section {
  border-bottom: 1px solid var(--line);
  background: var(--body-bg);
}

.market-heading {
  height: 30px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--blue-text);
  font-size: 16px;
  font-weight: 700;
}

.section-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--blue-text);
  font-size: 18px;
  font-weight: 700;
}

.boost-icon {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--gold);
  border: 1px solid #c5a957;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #062356;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.boost-icon.small {
  width: 15px;
  height: 15px;
  font-size: 10px;
}

.minus-icon {
  font-size: 21px;
  line-height: 1;
  color: var(--blue-text);
  font-weight: 400;
  margin-top: -3px;
}

.epic-row {
  height: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 76px 60px;
  align-items: center;
  padding-left: 9px;
  padding-right: 12px;
}

.epic-name {
  color: var(--blue-text);
  font-size: 12px;
}

.was-evs {
  color: var(--muted-blue);
  font-size: 12px;
  line-height: 12px;
  text-align: center;
}

.odds-boost {
  width: 60px;
  height: 44px;
  border-radius: 4px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  color: var(--blue-text);
  font-weight: 700;
}

.stake-limit {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-blue);
  font-size: 9px;
}

.match-result {
  padding-top: 21px;
}

.market-tabs {
  height: 54px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 0;
  padding: 0 10px;
}

.market-tabs-alt {
  height: 54px;
  display: grid;
  grid-template-columns: 2fr 2fr;
  align-items: center;
  gap: 0;
  padding: 0 10px;
}


.market-tab {
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-blue);
  font-size: 14px;
  border-radius: 5px;
  gap: 5px;
}

.market-tab.active {
  border: 1px solid var(--active-blue);
  color: var(--active-blue);
  font-weight: 700;
}

.tiny-badge {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--blue-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
}

.outcomes {
  padding: 0 10px 12px;
}

.outcome-labels {
  height: 23px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  text-align: center;
  color: var(--blue-text);
  font-size: 12px;
}

.outcome-values {
  height: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 4px;
  overflow: hidden;
}

.odd-cell {
  background: var(--box-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-text);
  font-size: 13px;
  font-weight: 700;
  border-right: 1px solid #ffffff;
}

.odd-cell:last-child {
  border-right: none;
}

.two-col .outcome-labels,
.two-col .outcome-values {
  grid-template-columns: repeat(2, 1fr);
}

.bt-section {
  padding-top: 17px;
}

.popular-bottom {
  height: 39px;
  display: flex;
  align-items: center;
  padding: 0 9px;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-text);
  background: var(--body-bg);
}

@media (max-width: 768px) {
  .page-header {
    height: auto;
  }

  .match-info {
    height: 150px;
  }

  .team-left {
    left: 30px;
  }

  .team-right {
    right: 30px;
  }

  .event-center {
    top: 75px;
  }

  .tabs-bar {
    overflow-x: auto;
  }

  .tab-item {
    min-width: 120px;
  }

  .tab-item.active::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .market-tabs {
    grid-template-columns: 1fr;
    height: auto;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}



/* Header Custom Styling */
.navbar-custom {
  background-color: #003366;
  padding: 10px 20px;
}

.navbar-brand-custom {
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.navbar-brand-custom span {
  color: #3399ff;
  font-weight: 400;
  font-size: 0.9rem;
  margin-left: 2px;
}

/* Bet Builder Container */
.bb-container {
  background-color: #ffffff;
  border-bottom: 1px solid #dee2e6;
  padding: 20px;
}

/* Market Row Styles */
.market-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.market-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #0b2347;
  font-size: 0.95rem;
}

.market-title i {
  color: #6c757d;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Toggle Buttons (Over/Under) */
.ou-toggle-group {
  display: inline-flex;
  border: 1px solid #ced4da;
  border-radius: 4px;
  overflow: hidden;
  background-color: #fff;
}

.ou-btn {
  padding: 6px 14px;
  font-size: 0.85rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #6c757d;
}

.ou-btn.active {
  background-color: #0b2347;
  color: #fff;
  font-weight: 500;
}

/* Form Select Customization */
.custom-select-width {
  width: 90px;
  text-align: center;
  font-weight: 500;
}

.player-select {
  width: 100%;
  max-width: 240px;
}

/* Impact Sub Badge */
.impact-sub-badge {
  background-color: #e6c280;
  color: #2b1d04;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 4px;
  float: right;
}

/* Custom Buttons */
.btn-outline-custom {
  border: 1px solid #0056b3;
  color: #0056b3;
  background-color: transparent;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-outline-custom:hover {
  background-color: #f0f7ff;
  color: #0056b3;
}

.btn-primary-custom {
  background-color: #0056b3;
  border: none;
  color: white;
  font-weight: 500;
}

.btn-primary-custom:hover {
  background-color: #004494;
}

/* Table Markets Styling */
.market-table-section {
  background-color: #ffffff;
  margin-top: 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-weight: 600;
  color: #0b2347;
  border-bottom: 1px solid #dee2e6;
}

/* Tabs layout matching screenshot */
.custom-tabs {
  border-bottom: 1px solid #f0f0f0;
}

.custom-tab-item {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-size: 0.9rem;
  color: #6c757d;
  cursor: pointer;
  font-weight: 500;
}

.custom-tab-item.active {
  color: #0056b3;
  border: 1px solid #0056b3;
  border-radius: 4px;
  margin: 4px;
  padding: 8px;
}

/* Odds Table Custom Grid */
.odds-header-row {
  background-color: #f8f9fa;
  font-size: 0.8rem;
  color: #6c757d;
  text-align: center;
  padding: 6px 0;
}

.odds-label-row {
  font-size: 0.85rem;
  color: #495057;
  text-align: center;
  padding: 8px 0 2px 0;
  font-weight: 500;
}

.odds-box-container {
  padding: 0 12px 12px 12px;
}

.odds-card {
  background-color: #f1f3f5;
  border-radius: 4px;
  text-align: center;
  padding: 12px;
  font-weight: 600;
  color: #212529;
  cursor: pointer;
  transition: background-color 0.2s;
}

.odds-card:hover {
  background-color: #e2e6ea;
}

.show-more-btn {
  color: #0056b3;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

/* Footer */


.footer-wrapper {
  background: #030728;
  color: #ffffff;
  padding: 12px 0 0;
  margin-left: -11px;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 14px;
}

.back-to-top {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  padding-bottom: 10px;
  border-bottom: 1px solid #243452;
  line-height: 1.1;
}

.back-to-top i {
  display: block;
  font-size: 14px;
  margin-bottom: -2px;
}

.footer-links {
  padding: 32px 0 42px;
  border-bottom: 1px solid #243452;
}

.footer-title {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid #243452;
}

.footer-link {
  display: block;
  text-decoration: none;
  color: #7f96ce;
  font-size: 12px;
  margin-bottom: 17px;
  transition: 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.app-btn {
  width: 108px;
  height: 33px;
  border: 1px solid #ffffff;
  border-radius: 5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 8px;
  margin-bottom: 9px;
  text-decoration: none;
  line-height: 1;
}

.app-btn i {
  font-size: 18px;
}

.app-btn span {
  display: block;
  font-size: 7px;
  color: #ffffff;
}

.app-btn strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 1px;
}

.legal-section {
  padding: 17px 14px 15px;
  text-align: center;
  border-bottom: 1px solid #243452;
}

.legal-text {
  color: #7f96ce;
  font-size: 11.5px;
  line-height: 1.18;
  max-width: 930px;
  margin: 0 auto 34px;
  letter-spacing: 0.1px;
}

.legal-text strong,
.legal-text a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.logo-strip {
  padding: 18px 0 16px;
  border-bottom: 1px solid #243452;
  text-align: center;
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.mini-logo {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0.95;
  white-space: nowrap;
}

.mini-logo small {
  display: block;
  color: #ffffff;
  font-size: 6px;
  font-weight: 400;
  line-height: 1;
}

.age-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  color: #243452;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
}

.ga-box {
  border: 2px solid #ffffff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  padding: 1px 3px;
}

.circle-mark {
  width: 19px;
  height: 19px;
  border: 2px dotted #ffffff;
  border-radius: 50%;
  display: inline-block;
}

.gamcare-box {
  width: 18px;
  height: 18px;
  border: 2px solid #ffffff;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
}

.crimestoppers {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  margin-top: 6px;
}

.copyright-section {
  text-align: center;
  padding: 20px 0 43px;
  color: #5f80c7;
  font-size: 10.5px;
  letter-spacing: 0.2px;
  position: relative;
}

.bottom-safe-bar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #061038;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 20;
  box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.16);
}

.think-time {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.pause-icon {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #ffffff;
  color: #061038;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}

.bottom-logo {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.bottom-logo small {
  display: block;
  font-size: 6px;
  font-weight: 400;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .footer-links {
    padding: 26px 0;
  }

  .footer-link {
    margin-bottom: 13px;
  }

  .legal-text {
    font-size: 10.5px;
  }

  .logo-row {
    gap: 14px;
  }

  .bottom-safe-bar {
    gap: 10px;
  }

  .think-time {
    font-size: 11px;
  }
}