/* bebas-neue-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/bebas-neue-v16-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/open-sans-v44-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v44-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
    font-family: 'Open Sans', sans-serif;
}

:root {
  --main-purple: #8a2be2;
  --main-purple-soft: rgba(138, 43, 226, 0.08);
  --main-purple-border: rgba(138, 43, 226, 0.3);
}

/* Tooltip Styling */
.custom-tooltip {
  --bs-tooltip-bg: #8a2be2;
  --bs-tooltip-color: #fff;
}
.grey-tooltip {
  --bs-tooltip-bg: #555555;
  --bs-tooltip-color: #FFF;
}

/* Navigation Links */
body > main > #main a.nav-link {
  color: #8a2be2;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border 0.2s ease-in-out;
}

body > main > #main a.nav-link.active {
  background-color: #8a2be2;
  color: #fff;
}

body > main > #main a.nav-link:hover {
  background-color: #8a2be2;
  color: #fff;
}

h1 {
	font-family: "Bebas Neue", serif;
	font-weight: 400;
	font-style: normal;
}
h2 {
	padding:25px 0 25px 0;
}
h3 {
	padding:20px 0 20px 0;
}
h2 + h3, h2 + h4, h3 + h4 {
    padding-top: 0;
}
/* main color utility classes */
.main-color {
	color: var(--main-purple);
}
.main-bg {
	background-color: var(--main-purple);
}
.main-color-bg {
  background-color: var(--main-purple) !important;
}
/* fonts utility classes */
.font2 {
	font-family: 'Bebas Neue', sans-serif;
	font-weight: 400;
	font-style: normal;
}
.pointer-events-none { pointer-events: none; }
/* Hover Background Styling */
.hover-bg-light:hover {
  background-color: #efdeff !important;
  transition: background-color 0.3s ease;
}

.border-bottom {
  color:#8a2be2
}

/* last5_squares */
.square {
	display: inline-block;
	width: 1em;
	height: 1em;
	margin: 0 2px;
	line-height: 1em;
	text-align: center;
	color: #fff;
	font-size: 0.75em;
	border: 1px solid #ccc; /* optional border */
}
.square.win {
	background-color: green;
}
.square.draw {
	background-color: gray;
}
.square.loss {
	background-color: red;
}
.square {
}

/* Make .player-photo circular and uniform */
.player-photo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 8px;
}

/* Table styling enhancements */
.table thead th {
  background-color: #8a2be2;
  color: #fff;
  border-color: #8a2be2;
  white-space: nowrap;
}
.table tbody tr:hover, .table-hover > tbody > tr:hover > * {
  background-color: #efdeff !important;
}

.table-bordered > :not(caption) > * > * {
  border-color: #dee2e6;
}

/* Slightly bolder text in table cells */
.table td, .table th {
  vertical-align: middle;
  font-size: 0.95rem;
}

.btn-outline-primary {
	--bs-btn-color: #8a2be2;
	--bs-btn-border-color: #8a2be2;
	--bs-btn-hover-bg: #8a2be2;
	--bs-btn-hover-border-color: #8a2be2;
	--bs-btn-active-bg: #8a2be2;
	--bs-btn-active-border-color: #8a2be2;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #8a2be2;
	--bs-btn-disabled-border-color: #8a2be2;
}
.text-justify {
    text-align: justify;
}

/* Cards / live fixtures */
.modern-card {
  background: white;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  position: relative;
}
.modern-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.modern-card.table-responsive {
  overflow-x: auto !important;
  overflow-y: hidden;
}

.live-card-bg {
  background: linear-gradient(135deg, var(--main-purple-soft) 0%, rgba(138, 43, 226, 0.02) 100%);
  border-color: var(--main-purple-border) !important;
}
.live-status-badge { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.5px; }
.badge-live-active { background-color: var(--main-purple); color: white; display: flex; align-items: center; gap: 4px; }
.pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: white;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.team-name-live { font-size: 0.95rem; }
.live-score-text { font-size: 1.5rem !important; }

/* Logos & sizing helpers */
.logo-league-header { height: 100px; width: 100px; object-fit: contain; }
.logo-team-lg { height: 100px; width: auto; object-fit: contain; }
.logo-team-md { height: 60px; width: auto; object-fit: contain; }
.logo-team-sm { height: 30px; width: 30px; object-fit: contain; }
.logo-team-xs { height: 26px; width: auto; object-fit: contain; }
.logo-team-24 { height: 24px; width: 24px; object-fit: contain; }
.logo-team-xxs { height: 20px; width: 20px; object-fit: contain; }
.logo-h2h { height: 40px; width: auto; }
.icon-no-h2h { height: 40px; display: inline-flex; align-items: center; font-size: 0.8rem; color: #6c757d; }

/* Micro-typo */
.text-xxs { font-size: 0.5rem; }
.text-xs { font-size: 0.65rem; }
.ls-sm { letter-spacing: 0.5px; }

/* Progress helpers */
.progress-thin { height: 6px; }
.pct-width { width: calc(var(--pct) * 1%); }

/* Chart wrappers */
.chart-wrap { position: relative; width: 100%; }
.chart-wrap-lg { height: 250px; }
.chart-wrap-md { height: 350px; }
.chart-wrap-sm { height: 120px; }

/* Table helpers */
.table-text-sm { font-size: 0.9rem; }
.table-scroll-y-400 { max-height: 400px; overflow-y: auto; }
.truncate-150 { max-width: 150px; }
.truncate-100 { max-width: 100px; }

/* Z-index / opacity helpers */
.z-0 { z-index: 0; }
.z-1 { z-index: 1; }
.opacity-80 { opacity: 0.8; }
.opacity-05 { opacity: 0.05; }

@media (max-width: 768px) {
  .modern-card.p-4 { padding: 1rem !important; }
  .live-score-text { font-size: 1.25rem !important; font-weight: 800; white-space: nowrap; }
  .team-name-live {
    max-width: 85px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    font-size: 0.9rem;
  }
}
