/* assets/custom.css */


/* .navbar-brand {
    text-shadow: none !important;
} */
.nav-link {
    text-shadow: none !important;
}

/* 
@keyframes vaporwaveBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    background: linear-gradient(270deg, #1a1a2e, #16213e, #0f3460, #53354a);
    background-size: 800% 800%;
    animation: vaporwaveBackground 120s ease infinite;
    filter: contrast(1.2) brightness(0.8);
    overflow-x: hidden; 
    width: 100%; 
    box-sizing: border-box; 
} */
.table, 
.table-striped, 
.table-hover, 
.table-bordered, 
.table-responsive {
    background-color: rgba(0, 0, 0, 0.0) !important; /* Ensure transparency */
    color: white; /* Adjust text color for readability */
    border: none; /* Optional: Remove borders if needed */
}

.table th, 
.table td {
    background-color: transparent !important; /* Ensure cells are transparent */
    color: inherit; /* Inherit text color for consistency */
    border: none; /* Optional: Remove cell borders */
}

/* .table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
} */

.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.15) !important; /* Stronger hover effect */
    color: #ffffff; /* Ensure text color remains visible */
    transition: background-color 0.2s ease-in-out; /* Smooth transition for hover */
}

.nav-link {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: white;
}
/* .dropUp .Select-menu-outer {
    bottom: 0;
     -webkit-transform: translateY(3px) translateY(-100%);
     transform: translateY(3px) translateY(-100%);
     border-top-right-radius: 4px;
     border-top-left-radius: 4px;
     border-bottom-right-radius: 0px;
     border-bottom-left-radius: 0px;
     border: 1px solid #ccc;
     border-bottom: none;
} */

/* Fix typed text in dropdown */
.Select-control input {
    color: black !important;
}

/* Ensure visible text when item is selected */
.Select-value-label {
    color: black !important;
}

table td {
    vertical-align: middle !important;
}

.rating-progress.progress {
    background-color: rgba(0, 0, 0, 0.25) !important;
    border-radius: 999px;
}

.rating-progress .progress-bar {
    border-radius: 999px;
    transition: width 0.6s ease;
    box-shadow: 0 0 2px var(--accent), inset 0 0 1px var(--accent);
}
 
.ratings-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ratings-card:hover {
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 0 28px var(--accent), inset 0 0 10px rgba(255,255,255,0.12) !important;
}


html, body {
  height: 100%;
  overflow-y: auto; /* allow page-level scroll (fixes keyboard + global scroll) */
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Main layout row */
.main-row {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

[id] {
  scroll-margin-top: 90px; /* adjust to match your fixed header height */
}

.main-scroll {
  flex: 1;
  max-width: 100%;
  padding-right: 8px;

  /* allow the page to scroll instead of this container */
  overflow: visible;

  /* hide scrollbar universally (just in case) */
  -ms-overflow-style: none;  /* IE/Edge */
  scrollbar-width: none;     /* Firefox */
  -webkit-overflow-scrolling: touch;
}

/* hide scrollbar for WebKit (Chrome, Safari, Edge Chromium) */
.main-scroll::-webkit-scrollbar {
  width: 0px;
  background: transparent; /* optional: avoids flicker on Safari */
}

/* ensures Safari mobile also hides scrollbars properly */
.main-scroll {
  -webkit-overflow-scrolling: touch;
}

/* Fix sidebars in place */
.sidebar-left {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-right {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

/* optional: make sure they don’t block clicks if overlapping margins */
.sidebar-left,
.sidebar-right {
  z-index: 100;
}

.sidebar-left .nav-link {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  display: block;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-family: Menlo, Consolas, Monaco, monospace;
  font-size: 0.95rem;
  transition: all 0.2s ease-in-out;
}

/* Hover + active look */
.sidebar-left .nav-link:hover {
  color: white;
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 6px rgba(255,255,255,0.15);
}

/* Section headers (like Statlines) */
.sidebar-left .nav-section {
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  margin-top: 0.9rem;
  margin-bottom: 0.3rem;
  padding-left: 0.4rem;
  border-left: 2px solid rgba(255,255,255,0.25);
}

/* Indentation for sub-items */
.sidebar-left .nav-sub {
  margin-left: 0.8rem;
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 0.6rem;
}

/* Small glowing divider between groups */
.sidebar-left hr.nav-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0.25), rgba(255,255,255,0));
  margin: 0.8rem 0;
}

/* --- FIX Dash Tab stacking to single row --- */
.tab {
    display: inline-flex !important;
    width: auto !important;        /* prevent each tab taking full row */
    white-space: nowrap !important; /* prevent text wrapping inside */
    vertical-align: middle !important;
    justify-content: center;
    align-items: center;
    margin: 6px !important;
    text-align: center;
}

/* --- Force tabs to display in a single horizontal row --- */
.tab-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important; /* allow wrapping if too many */
    justify-content: center !important;
    align-items: center !important;
    white-space: nowrap !important;
    gap: 0.5rem; /* optional spacing */
}

.tab-container > .tab {
    flex: 0 0 auto !important; /* prevent stretch */
}

.modern-button {
  transition: all 0.3s ease-in-out;
}

.modern-button:hover {
  background: rgba(255,255,255,0.15) !important;
  box-shadow: 0 0 20px rgba(11, 69, 124, 0.45), 0 0 10px rgba(39, 191, 194, 0.25) inset !important;
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.95) !important;
  color: #fff !important;
}
/* === Final iOS Safari + Navbar Background Fix === */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #050510 !important; /* fallback dark background */
  overscroll-behavior: none;
}

/* Prevent Safari safe-area gap at bottom */
body {
  min-height: 100vh;
  background: linear-gradient(to bottom, #0a0a1a 0%, #050510 100%) !important;
  background-attachment: scroll;
  padding: 0 !important;
}

/* Restore navbar visibility */
/* .navbar,
.navbar-nav,
.navbar-brand {
  background-color: rgba(8, 8, 20, 0.9) !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
} */

/* Remove transparent override from bootstrap bg classes (keep navbar dark) */
.bg-dark,
.bg-body,
.bg-body-tertiary,
.bg-light {
  background-color: rgba(8, 8, 20, 0.9) !important;
  background-image: none !important;
}

/* Prevent ghost bar when overscrolling */
body::after {
  display: none !important;
}

#cookie-banner[style*="display: none"] {
    bottom: -200vh !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
}

@media (min-width: 992px) {
  #mobile-nav {
    display: none !important;
  }
}

/* Nav Buttons */
#mobile-nav button {
  background: none;
  border: none;
  color: rgb(255, 255, 255);
  font-size: 1rem;
  font-family: Menlo, Consolas, Monaco, monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 0.8rem;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.25s ease-in-out;
}

/* Hover and active state */
#mobile-nav button:hover,
#mobile-nav button.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 6px rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* Icon size and alignment */
#mobile-nav button span {
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#mobile-nav button svg {
  width: 20px;
  height: 20px;
  margin-right: 0.3rem;
  filter: drop-shadow(0 0 2px rgba(255,255,255,0.25));
}

/* Optional subtle glow for active tab */
#mobile-nav button.active {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  outline: none !important;
  font-weight: 600;
  opacity: 1;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.7));
  transform: none;
}

/* :root {
  --accent-translucent: rgba(255, 255, 255, 0.1);
} */

.nav-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.8rem;
  opacity: 0.75;
  transition: all 0.3s ease;
}

.nav-btn.active {
  opacity: 1;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.7));
}

.nav-btn:hover {
  opacity: 1;
  /* transform: scale(1.1); */
}
