@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');/* Tailwind directives */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f5f5f5;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
}

/* Custom background texture class */
@layer utilities {
  .texture-bg-football {
    position: relative;
  }

  .texture-bg-football::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjZmZmIj48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDVMNSAwWk02IDRMNCA2Wk0tMSAxTDEgLTFaIiBzdHJva2U9IiMyMjIiIHN0cm9rZS13aWR0aD0iMSI+PC9wYXRoPgo8L3N2Zz4=");
    mix-blend-mode: multiply;
    opacity: 0.5; /* Increased from 0.3 to 0.5 for better visibility */
    z-index: -1;
    pointer-events: none;
  }
}
#root {
  min-height: 100vh;
  width: 100%;
}

/* Reset styles that don't conflict with Tailwind */
body {
  font-family: 'Roboto', sans-serif;
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
}

.App {
  width: 100%;
}

/* Layout component styles */

/* Base layout structure */
.app-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.theme-controls {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  z-index: 11;
}

.app-main {
  flex: 1;
  padding-top: 90px; /* Increased from 80px to 90px to account for taller navbar */
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
}

/* Footer styles */
.app-footer {
  background-color: rgb(11, 125, 232);
  color: white;
  padding: 40px 20px 20px;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 2rem;
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #f1f1f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #bbb;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Dark theme support */
.dark-theme .app-header {
  background-color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dark-theme .app-footer {
  background-color: #121212;
  border-top: 1px solid #333;
}

/* Responsive design */
@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .footer-logo {
    margin-bottom: 0;
    margin-right: 40px;
  }
  
  .footer-links {
    flex: 1;
    justify-content: space-between;
  }
}

@media (max-width: 767px) {
  .theme-controls {
    right: 70px; /* Position to avoid conflict with mobile menu button */
  }
  
  .app-main {
    padding-top: 70px; /* Increased from 60px to 70px */
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .footer-column {
    margin-bottom: 30px;
    min-width: 100%;
  }
  
  .footer-links {
    gap: 0;
  }
}

/* Basic layout styles */
.main-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  padding: 1rem;
}

@media (min-width: 768px) {
  .main-content {
    padding: 2rem;
  }
}/* =========================================================
   1. CSS VARIABLES AND BASE STYLES
   ========================================================= */
:root {
  /* Color variables */
  --primary-bg: rgb(93, 91, 91);
  --white: #FBFBFB;
  --dark-gray: rgb(76, 73, 73);
  --light-gray: lightgray;
  --medium-gray: gray;
  
  /* Layout variables */
  --border-radius: 0.5rem;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --table-shadow: 3px 4px 6px -1px rgba(0, 0, 0, 0.1), 3px 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Reset base styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
}

/* Fade-in animation for elements */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   2. PAGE LAYOUT AND CONTAINER STYLES
   ========================================================= */

/* Main container for the rankings table page */
.table-rankings-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Page title styling */
.page-title {
  width: 100%;
  padding: 0 1rem;
  margin: 2rem 0 1.3rem 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; /* Added for tooltip positioning */
}

.page-title h1 {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Help button styling */
.help-button {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: var(--primary-bg);
  color: white;
  border: none;
  font-weight: bold;
  margin-left: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background-color 0.2s, transform 0.2s;
}

.help-button:hover {
  background-color: #4a4a4a;
  transform: scale(1.1);
}

/* Help tooltip styling */
.help-tooltip {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 15px 20px;
  z-index: 1000;
  text-align: left;
  color: #333;
  margin-top: 15px;
  animation: fadeIn 0.3s ease-out;
}

.help-tooltip p {
  margin-top: 0;
  font-size: 0.95rem;
}

.help-tooltip ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.help-tooltip li {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.close-help {
  background-color: var(--primary-bg);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 15px;
  font-size: 0.9rem;
  cursor: pointer;
  float: right;
}

.close-help:hover {
  background-color: #4a4a4a;
}

/* Add responsive styling for help tooltip */
@media (max-width: 600px) {
  .help-tooltip {
    width: 95%;
    padding: 12px 15px;
  }
  
  .help-tooltip p, .help-tooltip li {
    font-size: 0.85rem;
  }
}

/* Info Banner styling */
.info-banner {
  width: 100%;
  max-width: 2000px;
  min-width: 320px;
  margin: 0 auto 1rem auto;
  background-color: rgba(93, 91, 91, 0.9); /* Match site theme */
  color: white;
  border-left: 4px solid #4299e1; /* Blue accent */
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  padding: 0.75rem;
  text-align: center;
  z-index: 10;
}

.info-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 500;
}

.info-icon {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

/* Responsive adjustments for the info banner */
@media (max-width: 480px) {
  .info-banner {
    padding: 0.5rem;
  }
  
  .info-banner-content {
    font-size: 0.8rem;
  }
  
  .info-icon {
    font-size: 1rem;
    margin-right: 0.3rem;
  }
}

@media (min-width: 1024px) {
  .info-banner-content {
    font-size: 1.1rem;
  }
  
  .info-icon {
    font-size: 1.3rem;
  }
}

/* =========================================================
   3. FILTERS AND MENU COMPONENTS
   ========================================================= */

/* Container for all filter components */
.full-menu-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: .5rem;
}

/* Container for search and toggle controls */
.menu-bar-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 96%;
  padding: 0 0.5rem;
  gap: 1rem;
}

/* Search bar styling */
.search-bar {
  width: 100%;
  display: flex;
  justify-content: center;
}

.search-bar input {
  width: 100%;
  height: 40px;
  border-radius: 30px;
  border: 1px solid black;
  padding: 0 1.5rem;
  background-color: var(--dark-gray);
  color: white;
  box-shadow: var(--box-shadow);
  text-transform: uppercase;
  font-weight: bold;
}

/* Filters toggle button (mobile) */
.filters-toggle-button {
  display: none; /* Hidden by default, shown in media queries */
  width: 100%;
  max-width: 800px;
  height: 40px;
  border-radius: 30px;
  border: 1px solid black;
  background-color: var(--primary-bg);
  color: white;
  font-weight: bold;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--box-shadow);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.filters-toggle-button:hover {
  background-color: #4a4a4a;
  transform: scale(1.02);
}

.filters-toggle-button:active {
  transform: scale(0.98);
}

/* Filter visibility classes */
.filter-rows.hidden,
.toggle-container.hidden {
  display: none;
}

.filter-rows.visible,
.toggle-container.visible {
  display: flex;
}

/* Filter row container */
.filter-rows {
  display: flex;
  width: 95%;
  gap: .5rem;
  justify-content: center;
}

/* Menu item styling (dropdown triggers) */
.menu-item {
  font-size: 1.5vw; /* Dynamic font size based on viewport width */
  width: 100%;
  font-weight: bold;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
  background-color: var(--primary-bg);
  height: 45px; /* Fixed 35px height across all screen sizes */
  text-align: center;
  padding: 0;
  text-transform: uppercase;
  color: white;
  overflow: visible;
  cursor: pointer; /* Add pointer cursor to show clickable */
}

.menu-item > a {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 5px 10px;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%; /* Make anchor take full width of parent */
  pointer-events: none; /* Make anchor non-clickable to allow parent click to work */
}

@media (min-width: 901px) {
  /* Re-enable pointer events on anchor for desktop hover behavior */
  .menu-item > a {
    pointer-events: auto;
  }
}

/* Menu item hover effects */
.menu-item > a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
  z-index: -1;
}

.menu-item:hover > a::after {
  width: 100%;
  background-color: gray;
}

.menu-item:hover > a::before {
  transform: rotate(180deg);
}

/* Menu item hover effects */
.menu-item:hover {
  background-color: #4a4a4a; /* Darker gray on hover - more distinct */
  color: white; /* Ensure text stays white for contrast */
  z-index: 10;
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.2); /* Add shadow for 3D effect */
  transform: translateY(-1px); /* Slight lift effect */
  transition: all 0.2s ease-in-out;
}

/* Submenu dropdown styling - RENAMED */
.sub-menu-rankings {
  position: absolute;
  border-radius: 5px;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--light-gray);
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 100;
  min-width: 100%;
  width: 100%; /* Match parent width exactly */
  max-width: none; /* Remove max-width limitation */
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Hide scrollbar but keep functionality */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  /* Remove any transitions that might cause position shifts */
  transition: none !important;
  transform: none !important;
  animation: none !important;
}

/* Show submenu on parent hover - MODIFIED to remove transitions */
.menu-item:hover > .sub-menu-rankings {
  display: block;
  transition: none !important;
  animation: none !important;
}

/* Add a specific class for active submenus to override any transitions */
.sub-menu-active {
  display: block !important;
  transition: none !important;
  animation: none !important;
  transform: none !important;
}

/* Submenu items - Updated to match menu items */
.sub-menu-rankings-item {
  width: 100%; /* Match parent width */
  font-weight: bold; /* Match menu item font weight */
}

.sub-menu-rankings-item a {
  display: flex;
  height: 45px; /* Match menu item height */
  font-size: 1.5vw; /* Match menu item font size */
  color: black;
  text-decoration: none;
  position: relative;
  /* transition: all 0.3s ease; */
  padding: 0 15px; /* Consistent padding */
  align-items: center; /* Center text vertically */
  justify-content: flex-start; /* Align text to left */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase; /* Match menu item text transform */
}

/* Update selected submenu item */
.sub-menu-rankings-item.selected a {
  background-color: #4a4a4a;
  color: white;
  font-weight: bold;
}

/* Update hover state */
.sub-menu-rankings-item a:hover {
  background-color: #4a4a4a;
  color: white;
  /* transition: all 0.15s ease-in-out; */
}

/* For submenu items, also update their hover state */
.sub-menu-rankings-item a:hover {
  background-color: #4a4a4a; /* Match the parent menu item hover color */
  color: white;
  /* transition: all 0.15s ease-in-out; */
}

/* Toggle container */
.toggle-container {
  width: 100%;
  display: flex;
  justify-content: space-around;
  text-transform: uppercase;
}

/* Toggle option styling */
.toggle-option {
  display: flex;
  align-items: center;
  margin: 0 10px;
}

.toggle-option-label {
  margin-right: 10px;
  font-size: 1rem; /* Changed from 1.2vw to fixed 1rem */
}

/* Toggle switch components */
.toggle-label {
  position: relative;
  display: inline-block;
  width: 3rem;
  height: 1.5rem;
  cursor: pointer;
  margin-left: 1rem;
}

.toggle-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 1rem;
  transition: background-color 0.3s;
}

.toggle-knob {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  width: 1rem;
  height: 1rem;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

/* Accessibility class for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Toggle state styling */
.peer:checked ~ .toggle-background {
  background-color: #4299e1;
}

.peer:checked ~ .toggle-knob {
  transform: translateX(1.5rem);
}

/* =========================================================
   5. TABLE CONTAINER AND STRUCTURE
   ========================================================= */

/* Table container with scrolling */
.table-container {
  width: 100%;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  margin: 0 0.5rem;
  position: relative;
  border-radius: 0.75rem;
}

/* Main table styling */
.table-container table {
  width: 100%;
  border-spacing: 0;
  border-radius: 0.75rem;
  border-collapse: separate;
  margin-top: 1rem;
  box-shadow: var(--table-shadow);
  min-width: 1200px; /* Ensures horizontal scrolling on small screens */
}

/* Basic table cell styling */
.table-container th, 
.table-container td {
  white-space: normal;
  text-overflow: ellipsis;
  overflow: hidden;
  border: none;
}

/* Table header styling */
.table-container thead tr {
  background-color: rgba(211, 211, 211, 0.256);
  height: 40px;
  font-size: 1rem;
  font-weight: bold;
  text-align: left;
  border-radius: 0.75rem;
}

.table-container thead th {
  padding: 0.75rem 1rem;
  position: sticky;
  top: 0;
  background-color: rgba(211, 211, 211, 0.9);
  z-index: 1;
  white-space: nowrap !important; /* Force single line */
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 120px;
}

/* Wider columns for stats */
.table-container th:nth-child(5),
.table-container th:nth-child(6),
.table-container th:nth-child(7) {
  min-width: 140px; /* Wider min-width for stats columns */
}

/* Table row styling */
.table-container tbody tr {
  color: white;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.table-container tbody td {
  font-size: 1rem;
  font-weight: bold;
  padding: 1.2rem 1rem;
}

/* Sticky name column */
.table-container th:nth-child(2),
.table-container td:nth-child(2) {
  position: sticky;
  left: 0;
  z-index: 2;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  min-width: 180px; /* Increased from default */
}

/* Background color for sticky header */
.table-container thead th:nth-child(2) {
  background-color: var(--medium-gray);
}

/* Inherit row color for sticky cells */
.table-container tbody tr td:nth-child(2) {
  background-color: inherit;
}

/* Table row texture overlay and hover effects */
/* .table-container tbody tr::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjZmZmIj48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDVMNSAwWk02IDRMNCA2Wk0tMSAxTDEgLTFaIiBzdHJva2U9IiMyMjIiIHN0cm9rZS13aWR0aD0iMSI+PC9wYXRoPgo8L3N2Zz4=");
  mix-blend-mode: multiply;
  opacity: 0.3;
  z-index: -1;
   pointer-events: none; /* Ensure hover events pass through */
/* } */ */

.table-container tbody tr{
  position: relative;
  z-index: 0;
}

.table-container tbody tr:hover {
  cursor: pointer;
  box-shadow: 5px 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  z-index: 5;
}

/* =========================================================
   6. TABLE CONTENT ELEMENTS
   ========================================================= */

/* Player information styling */
.player-info {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: inherit;
  position: relative;
  padding-right: 40px;
  
}

.player-info .player-name {
  flex: 1;
  margin-right: 5px;
  overflow: hidden;
  color: white; /* Add explicit white color */
}

/* Player image circle */
.placeholder-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: white;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  overflow: hidden;
}

.placeholder-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Team logo styling */
.team-info {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
}

.placeholder-square {
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  overflow: hidden;
  padding: 8px;
}

.placeholder-square img {
  width: 100%;
  height: 100%;
}

/* Remove the enlargement effect on hover */
.placeholder-square:hover {
  /* Remove transform scale */
  transition-duration: 0.2s;
}

.team-name {
  text-overflow: ellipsis;
  overflow: hidden;
  color: white !important; /* Added !important to ensure white color */
}

/* Add a more specific selector to target team names in the table */
.table-container .team-info .team-name {
  color: white !important;
}

/* Stats display containers */
.split-stat-container {
  display: flex;
  color: white; /* Add explicit white color for all stat text */
}

.stat-name-container {
  margin-left: 0;
  color: white; /* Add explicit white color */
}

.stat-number-container {
  margin-left: 10px;
  color: white; /* Add explicit white color */
}

.tablestat {
  line-height: 1.5rem;
  color: white; /* Add explicit white color */
}

/* Add to dashboard button */
.add-dash-button {
  text-align: center;
  align-items: center;
  background-color: white;
  color: black;
  border: none;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: width 0.1s ease, background-color 0.3s ease, transform 0.2s ease; /* Added transform transition */
  min-width: 25px;
  min-height: 30px;
  margin-right: 5px !important;
  vertical-align: middle;
  margin-left: 5px;
}

/* Add new hover effect for button scaling */
.add-dash-button:hover {
  transform: scale(1.15); /* Enlarge the button by 15% */
  z-index: 10; /* Ensure button appears above other elements when enlarged */
}

/* Position the add button in player info */
.player-info .add-dash-button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 !important;
}

/* Fix the transform conflict for positioned button */
.player-info .add-dash-button:hover {
  transform: translateY(-50%) scale(1.15); /* Combine both transforms */
}

/* Load more button */
.load-more-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.load-more-button {
  width: 200px;
  height: 50px;
  border-radius: 30px;
  background-color: var(--primary-bg);
  color: white;
  font-size: 1.1rem;
  border: 1px solid black;
  cursor: pointer;
}

.load-more-button:hover {
  transform: scale(1.05);
  transition-duration: 0.2s;
}

/* Draft pick styling */
.recruit-draft-pick {
  font-size: 0.95rem;
  color: white;
  display: inline-block;
  font-weight: bold;
}

/* Ensure proper spacing in small screen sizes */
@media (max-width: 470px) {
  .recruit-draft-pick {
    font-size: 0.85rem;
  }
}

/* =========================================================
   7. RESPONSIVE DESIGN - MEDIA QUERIES
   ========================================================= */

/* Small mobile devices (up to 470px) */
@media (max-width: 470px) {
  /* Make player info more compact but keep space for button */
  .player-info {
    padding-right: 27px !important; /* Increased from 5px to allow space for button */
  }
  
  /* Make player images smaller */
  .placeholder-circle,
  .placeholder-square {
    width: 40px !important;
    height: 40px !important;
    margin-right: 4px !important;
  }
  
  /* Reduce font size and padding */
  .table-container tbody td {
    font-size: 0.9rem !important;
    padding: 0.8rem 0.5rem !important;
  }
  
  .add-dash-button {
    min-width: 20px !important;
    min-height: 20px !important;
    right: -10px !important;
    
  }
  
  .player-info {
    padding-right: 5px !important;
  }
  
  .placeholder-circle {
    width: 35px !important;
    height: 35px !important;
  }

  /* Center player name text at small screen sizes */
  .player-info .player-name {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .player-info span{
    display: flex;
    justify-content: center;
  }

  
  /* Adjust stat display for better readability */
  .split-stat-container {
    font-size: 0.85rem !important;
  }
  
  .stat-number-container {
    margin-left: 5px !important;
  }
  
  /* Make columns more compact for stats */
  .table-container th, 
  .table-container td {
    min-width: 90px !important;
  }
  
  /* Adjust first column (rank) */
  .table-container th:nth-child(1),
  .table-container td:nth-child(1) {
    min-width: 20px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
  
  /* Adjust player name column */
  .table-container th:nth-child(2),
  .table-container td:nth-child(2) {
    max-width: 130px !important; /* Increased from 110px */
  }
  
  /* Make position column narrower */
  .table-container th:nth-child(3),
  .table-container td:nth-child(3) {
    min-width: 60px !important;
  }
  
  /* Mobile adjustments for dropdowns */
  .sub-menu-rankings {
    max-width: 100%;
    width: 100%;
  }
  
  /* Adjust menu items for better tap targets */
  .menu-item > a {
    justify-content: space-between;
    padding: 5px 15px;
  }
  
  .menu-item > a::before {
    margin-left: 10px;
  }

  /* Toggle styling for small screens */
  .toggle-option {
    margin: 5px 0;
    width: 100%;
    justify-content: space-between;
  }
  
  /* Override any animations for submenu items at mobile sizes */
  .menu-item > .sub-menu-rankings,
  .sub-menu-rankings-item a {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
  
  /* Fixed position for submenu on mobile */
  .menu-item {
    position: relative;
  }
}

/* Add very small screen adjustments for button (below 360px) */
@media (max-width: 360px) {
  .add-dash-button {
    min-width: 20px !important;
    min-height: 20px !important;
    right: 2px !important;
  }
  
  .player-info {
    padding-right: 5px !important;
  }
  
  .placeholder-circle {
    width: 35px !important;
    height: 35px !important;
  }
}

/* Make font size fixed at 1rem for menu items on screens 670px and below */
@media (max-width: 670px) {

  /* Set fixed font sizes for menu-related elements */
  .menu-item {
    height: 35px !important; /* Ensure height stays consistent at small screens */
  }
  
  .sub-menu-rankings-item a { /* RENAMED */
    padding: 2px 5px;
  }
  
  /* Removed toggle-option-label override since it's now 1rem by default */
  
  /* Adjust filter rows for smaller screens */
  .sub-menu-rankings-item a {
    height: 35px !important; /* Match menu item height */
    padding: 0 15px; /* Consistent padding */
  }
}

/* Filter visibility controls for screens below 900px */
@media (max-width: 900px) {
  /* Show filters toggle button */
  .menu-bar-container {
    flex-direction: column;
    margin-bottom: .5rem;
    width: 101%;
  }

  /* Change filter rows to column layout at 900px and below */
  .filter-rows {
    flex-direction: column;
    width: 100%;
  }
  
  /* Set all font sizes to 1rem for filter elements at 900px and below */
  .filter-rows .menu-item {
    font-size: 1rem !important;
  }
  
  .filter-rows .sub-menu-rankings-item a {
    font-size: 1rem !important;
    height: 45px; /* Keep consistent with menu item height */
  }
  
  .filters-toggle-button {
    display: block;
  }
  
  /* Hide filters by default */
  .filter-rows,
  .toggle-container {
    display: none;
  }
  
  /* Animate when showing filters */
  .filter-rows.visible,
  .toggle-container.visible {
    display: flex;
    /* animation: fadeIn 0.3s ease; */
  }

  /* Remove hover effect, will be controlled by JS click event */
  .menu-item:hover > .sub-menu-rankings {
    display: none;
  }
  
  /* Class to show submenu when active (will be added via JS) */
  .sub-menu-active {
    display: block !important;
  }
}

/* Tablet and up (670px and above) */
@media (min-width: 670px) and (max-width: 900px) {
  /* Remove the row direction override for this size range */
  /* This allows the 900px media query to control the layout */
}

@media (min-width: 901px) {
  /* Only apply row direction above 900px */
  .filter-rows {
    flex-direction: row;
    justify-content: space-between;
  }

  .menu-item:hover > .sub-menu-rankings {
    display: block;
    /* transition: opacity 0.3s ease; */
  }
}

/* Tablet and up (670px and above) */
@media (min-width: 670px) {
  /* Change filter rows to side-by-side */
  .filter-rows {
    /* flex-direction: row; */
    justify-content: space-between;
  }
  
  /* Toggle container styling */
  .toggle-container {
    width: 100%;
  }
}

/* Desktop screens (1024px and above) */
@media (min-width: 1024px) {
  /* Larger title */
  .page-title h1 {
    font-size: 2.5rem;
  }
  
  /* Adjust menu bar spacing */
  .menu-bar-container {
    gap: 1rem;
  }
  
  /* Search bar adjustments */
  .search-bar {
    min-width: 300px;
    margin-bottom: 0;
  }
  
  .search-bar input {
    min-width: 300px;
  }
  
  /* Larger text in table */
  .table-container thead th {
    font-size: 1.2rem;
  }
  
  .table-container tbody td {
    font-size: 1.3rem;
    padding: 1.5rem 1.6rem;
  }
  
  /* Remove any height changes that might have been here */
  .menu-item {
    /* Removed any height adjustments */
    padding: 0;
    margin: 0.5rem 0;
  }
}

/* Large desktop screens (1200px and above) */
@media (min-width: 1200px) {
  /* Even larger title */
  .page-title h1 {
    font-size: 2.8rem;
  }
  
  /* Larger dropdown width - RENAMED */
  .sub-menu-rankings {
    /* Remove min-width declaration */
    width: 100%; /* Always match parent width */
  }
  
  /* Adjust toggle spacing */
  .toggle-option-label {
    font-size: 1.2rem;
  }
  
  /* Larger toggle switch */
  .toggle-label {
    width: 3.5rem;
    height: 1.75rem;
  }
  
  .toggle-knob {
    top: 0.375rem;
    left: 0.375rem;
  }
  
  .peer:checked ~ .toggle-knob {
    transform: translateX(2rem);
  }
  
  /* Consistent submenu styling at larger screens - RENAMED */
  .sub-menu-rankings-item a {
    padding: 6px 20px;
    /* Remove font-size override to keep consistent 1.3vw from base rule */
    font-size: 1.5vw; /* Keep consistent with menu item font size */
    padding: 0 20px; /* Slightly more padding on larger screens */
    height: 45px; /* Match menu item height */
  }
}

/* Extra large desktop screens (1600px and above) - KEEP horizontal scrolling */
@media (min-width: 1600px) {
  /* Keep table container with horizontal scrolling */
  .table-container {
    overflow-x: auto; /* Change from 'visible' to 'auto' to maintain scrolling */
    width: 95%;
    max-width: 2000px;
    margin: 0 auto;
  }
  
  /* Keep sticky positioning for the name column */
  .table-container th:nth-child(2),
  .table-container td:nth-child(2) {
    position: sticky; /* Keep sticky instead of static */
    left: 0;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
    min-width: 250px; /* Increased from 220px */
  }
  
  /* Adjust table width for scrollable content display */
  .table-container table {
    width: 100%;
    min-width: 1200px; /* Restore minimum width to ensure scrolling when needed */
    table-layout: auto;
  }
  
  /* Consistent cell padding and width */
  .table-container th,
  .table-container td {
    white-space: normal;
    padding: 1rem;
    min-width: 120px;
  }
  
  /* Column-specific widths */
  .table-container th:nth-child(1),
  .table-container td:nth-child(1) {
    min-width: 70px; /* Rank column */
  }
  
  .table-container th:nth-child(2),
  .table-container td:nth-child(2) {
    min-width: 250px; /* Name column */
  }
  
  .table-container th:nth-child(3),
  .table-container td:nth-child(3) {
    min-width: 100px; /* Position column */
  }
  
  .table-container th:nth-child(4),
  .table-container td:nth-child(4) {
    min-width: 180px; /* Team column */
  }
  
  /* Stats columns need extra space to prevent text wrapping */
  .table-container th:nth-child(5),
  .table-container td:nth-child(5),
  .table-container th:nth-child(6),
  .table-container td:nth-child(6),
  .table-container th:nth-child(7),
  .table-container td:nth-child(7) {
    min-width: 200px; /* Stats columns */
  }
}

/* Toast notifications */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: white;
  color: #333;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 300px;
  max-width: 400px;
  animation: slideIn 0.3s ease-out forwards;
}

.toast-notification.success {
  border-left: 4px solid #10b981; /* Success green */
}

.toast-notification.error {
  border-left: 4px solid #ef4444; /* Error red */
}

.toast-notification.info {
  border-left: 4px solid #0ea5e9; /* Info blue */
}

.toast-message {
  flex: 1;
  font-size: 0.875rem;
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  margin-left: 1rem;
  color: #999;
}

.toast-close:hover {
  color: #333;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Add new media query for very small screens (380px and below) */
@media (max-width: 380px) {
  /* Make toggle container stack vertically */
  .toggle-container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  
  /* Adjust individual toggle options for vertical layout */
  .toggle-option {
    margin: 0;
    justify-content: space-between;
    width: 100%;
  }
  
  /* Give more space between toggle elements */
  .toggle-label {
    margin-left: 0;
  }
}

/* Root variables */
:root {
  --primary-bg: rgb(93, 91, 91);
  --card-radius: 15px;
  --btn-radius: 12px;
  --menu-radius: 5px;
  --primary-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Container styles */
.recruiting-dashboard-container {
  margin-top: 100px;
  width: 100%;
  max-width: 1600px;
  display: flex;
  flex-direction: column;
  margin: 0 auto; /* Removed top margin to fix navbar spacing issue */
  font-family: Arial, sans-serif;
  padding: 20px;
}

/* Search filter container */
.search-filter-container-dashboard { 
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1240px; /* Matches approximately 4 cards at 300px each + gaps */
  margin: 0 auto;
  gap: 20px;
}

/* Search bar styling */
.search-bar-dashboard {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.search-bar-dashboard input {
  width: 100%;
  max-width: 600px;
  height: 40px;
  border-radius: 30px;
  border: 1px solid black;
  padding: 0 1.5rem;
  background-color: var(--dark-gray);
  color: white;
  box-shadow: var(--box-shadow);
  text-transform: uppercase;
  font-weight: bold;
}

/* Dashboard title container with help button */
.dash-title-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 1rem;
  margin-top: 15px;
  position: relative;
  width: 100%;
}

/* Dashboard title - updated to match rankings page font sizes */
.dash-title {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  font-weight: bolder;
  font-size: 2rem; /* Base size matches rankings */
  color: #333;
  letter-spacing: 1px;
}

/* Help button styling */
.help-button-container {
  position: relative;
  display: inline-flex;
}

.help-button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #333;
  color: white;
  font-weight: bold;
  font-size: 18px;
  border: 2px solid #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  padding: 0;
  margin-left: 5px;
}

.help-button:hover {
  background-color: #555;
  transform: scale(1.05);
}

/* Help tooltip styling - fixed width issue */
.help-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 320px !important; /* Force width with !important */
  min-width: 280px !important; /* Ensure minimum width */
  max-width: 90vw;
  background-color: white;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 15px;
  z-index: 1000;
  font-size: 14px;
  font-weight: normal;
  animation: fadeIn 0.3s ease-out;
  box-sizing: border-box; /* Ensure padding is included in width calculation */
  display: block; /* Ensure it's displayed as a block element */
  position: relative; /* Added for close button positioning */
}

/* Add close button styling */
.help-tooltip-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background-color: transparent;
  border: none;
  color: #777;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.2s ease-in-out;
  border-radius: 50%;
}

.help-tooltip-close:hover {
  color: #333;
  background-color: #f0f0f0;
}

/* Adjust tooltip header to make room for close button */
.help-tooltip h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
  padding-right: 20px; /* Add space for close button */
}

.help-tooltip::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid white;
}

.help-tooltip h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
}

.help-tooltip p {
  margin: 8px 0;
  line-height: 1.4;
}

/* Dark theme compatibility */
.dark-theme .help-button {
  background-color: #666;
  border-color: #666;
  color: white;
}

.dark-theme .help-button:hover {
  background-color: #888;
}

.dark-theme .help-tooltip {
  background-color: #333;
  color: white;
}

.dark-theme .help-tooltip::before {
  border-bottom-color: #333;
}

.dark-theme .help-tooltip h3 {
  color: white;
}

/* Dark theme compatibility for close button */
.dark-theme .help-tooltip-close {
  color: #aaa;
}

.dark-theme .help-tooltip-close:hover {
  color: white;
  background-color: #444;
}

/* Responsive styling for help tooltip */
@media screen and (min-width: 1200px) {
  .help-tooltip {
    width: 450px !important; /* Force width with !important */
    min-width: 400px !important;
    max-width: 40vw;
    left: auto;
    right: 0;
    transform: none;
  }
  
  .help-tooltip::before {
    left: auto;
    right: 15px;
    transform: none;
  }
}

@media screen and (min-width: 600px) and (max-width: 1199px) {
  .help-tooltip {
    width: 400px !important; /* Force width with !important */
    min-width: 350px !important;
    max-width: 80vw;
  }
}

@media screen and (max-width: 768px) {
  .help-tooltip {
    width: 280px;
  }
}

@media screen and (max-width: 576px) {
  .help-tooltip {
    width: 260px;
    padding: 12px;
    font-size: 13px;
  }
  
  .help-tooltip h3 {
    font-size: 15px;
  }
  
  .dash-title-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .help-button-container {
    margin-top: 5px;
    margin-bottom: 10px; /* Add space between help button and search bar */
  }
}

@media screen and (max-width: 480px) {
  .help-button {
    width: 26px;
    height: 26px;
    font-size: 16px;
  }
  
  .help-tooltip {
    width: 250px;
    font-size: 12px;
  }
  
  .help-tooltip h3 {
    font-size: 14px;
  }
}

@media screen and (max-width: 375px) {
  .help-tooltip {
    width: calc(100vw - 40px);
    left: 50%;
    transform: translateX(-50%);
    right: auto;
  }
  
  .help-tooltip::before {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
  }
}

@media screen and (max-width: 320px) {
  .help-tooltip {
    width: calc(100vw - 20px);
    padding: 10px;
  }
  
  .dash-title {
    font-size: 1.7rem;
  }
  
  .help-button {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
}

/* Filter container */
.filter-dash-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 15px;
  margin-bottom: 20px;
}

.search-bar-dashboard {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Filter menu items */
.menu-item-dash {
  font-weight: bold;
  border-radius: var(--menu-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  position: relative;
  flex: 1;
  transition: all 0.3s ease;
  box-shadow: var(--primary-shadow);
  background-color: var(--primary-bg);
  height: 45px;
  font-size: 16px; /* Fixed font size instead of vw */
  padding: 0;
  text-transform: uppercase;
  color: white;
  min-width: 0; /* Allow shrinking */
}

.menu-item-dash > a {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 5px 10px;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-item-dash:hover {
  background-color: lightgray;
  color: black;
  z-index: 10;
}

.menu-item-dash:hover > a {
  color: black;
}

/* Submenu styles - updated to match rankingsTable */
.sub-menu {
  position: absolute;
  border-radius: var(--menu-radius);
  top: 100%;
  left: 0;
  right: 0;
  background: lightgray;
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 100;
  box-shadow: var(--primary-shadow);
  max-height: 300px;
  overflow-y: auto;
  width: 100%; /* Match parent width exactly */
  min-width: 100%;
  max-width: none;
  
  /* Hide scrollbar but keep functionality */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.sub-menu::-webkit-scrollbar {
  display: none;
}

/* Show submenu on hover only for desktop (above 970px now) */
@media screen and (min-width: 971px) {
  .menu-item-dash:hover > .sub-menu {
    display: block;
    animation: fadeIn 0.2s ease-out;
  }
}

/* For tablet and mobile, disable hover effect and use JS to control visibility (below 970px now) */
@media screen and (max-width: 970px) {
  .menu-item-dash:hover > .sub-menu {
    display: none;
  }
  
  /* Class to show submenu when active (added via JS) */
  .sub-menu-active {
    display: block !important;
    animation: fadeIn 0.2s ease-out;
  }
}

/* Animation for sub-menu appearance */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sub-menu items - updated to match rankings table style */
.sub-menu-item {
  width: 100%; /* Match parent width */
  font-weight: bold;
}

.sub-menu-item a {
  display: flex;
  height: 45px; /* Match menu item height */
  font-size: 16px; /* Match menu item font size */
  color: black;
  text-decoration: none;
  position: relative;
  transition: all 0.2s ease;
  padding: 0 15px; /* Consistent padding */
  align-items: center; /* Center text vertically */
  justify-content: flex-start; /* Align text to left */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase; /* Match menu item text transform */
}

.sub-menu-item a:hover {
  background-color: gray;
  color: white;
  transition: all 0.15s ease-in-out;
}

/* Player cards container */
.player-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1540px;
  margin: 0 auto;
  width: 100%;
}

/* Individual player card - reduced height */
.player-ind-card {
  width: 300px;
  height: auto; /* Allow height to adapt based on content */
  min-height: 450px; /* Reduced from 500px to 450px */
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 15px 15px; /* Slightly reduced top/bottom padding */
  color: white;
  gap: 10px; /* Reduced gap between elements from 15px to 10px */
  font-size: 26px;
  border-radius: var(--card-radius);
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.player-ind-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Card texture overlay */
.player-ind-card::before {
  content: '';
  position: absolute;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjZmZmIj48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDVMNSAwWk02IDRMNCA2Wk0tMSAxTDEgLTFaIiBzdHJva2U9IiMyMjIiIHN0cm9rZS13aWR0aD0iMSI+PC9wYXRoPgo8L3N2Zz4=");
  mix-blend-mode: multiply;
  opacity: 0.2;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--card-radius);
}

/* Player name - slightly reduced margin */
.player-name-rec {
  font-size: 28px;
  text-align: center;
  margin-top: 3px; /* Reduced from 5px */
}

/* Player image */
.white-circle-dash {
  background-color: white;
  border-radius: 50%;
  width: 180px;
  height: 180px;
  min-width: 180px; /* Prevent shrinking below this width */
  min-height: 180px; /* Prevent shrinking below this height */
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.5);
  flex-shrink: 0; /* Prevent flexbox from shrinking this element */
  position: relative; /* For absolute positioning of the image */
  display: flex;
  align-items: center;
  justify-content: center;
}

.white-circle-dash img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* Focus on the face/upper body */
  position: absolute; /* Take the image out of the document flow */
}

.white-circle-logo-dash img{
  width: 100%;
  height: 100%;
  
}

/* Improved team name and logo layout for all team name lengths */
.team-line-rec {
  font-size: 21px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  line-height: 1.2;
  width: 100%;
  padding: 0 5px;
  flex-wrap: wrap; /* Allow wrapping for very long names */
  min-height: 30px; /* Set a minimum height to ensure proper alignment */
}

/* For very long team names, make sure the logo stays aligned */
.team-line-rec.long-name {
  flex-direction: column;
  gap: 4px;
}

/* Update logo styling for better integration with all text lengths */
.white-circle-logo-dash {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  border-radius: 50%;
  background-color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2px;
  flex-shrink: 0; /* Prevent logo from shrinking */
  margin: 0 0 0 2px; /* Small left margin only */
}

/* Add a special class for longer team names to adjust font size */
@media screen and (max-width: 340px) {
  .team-line-rec {
    font-size: 18px; /* Smaller font size for narrow screens */
  }
}

/* Position line */
.player-position-line {
  font-size: 21px;
}

/* Stats container - reduce margin */
.live-stats-container {
  margin-top: 5px; /* Reduced from 10px */
  font-size: 21px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px; /* Reduced gap from 10px */
  width: 100%; /* Ensure it takes full width */
  text-align: center; /* Ensure text is centered */
}

.live-stats-coming {
  font-size: 15px;
  opacity: 0.8;
  text-align: center; /* Explicitly center the text */
  width: 100%; /* Take full width of container */
}

/* Button styles - adjust margin */
.go-to-recruit-button {
  background-color: white;
  color: black;
  font-weight: bold;
  font-size: 16px;
  border-radius: var(--btn-radius);
  padding: 8px 16px;
  border: none;
  margin-top: 8px; /* Reduced from 10px */
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.go-to-recruit-button:hover {
  transform: scale(1.05);
  background-color: #f0f0f0;
}

/* Remove button styling */
.remove-recruit-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.7);
  color: #333;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
  z-index: 10;
  padding: 0;
}

.remove-recruit-button:hover {
  background-color: rgba(255, 0, 0, 0.7);
  color: white;
  transform: scale(1.1);
}

.remove-recruit-button:active {
  transform: scale(0.95);
}

/* Loading and error messages */
.loading-indicator,
.error-message,
.empty-state {
  text-align: center;
  font-size: 18px;
  margin: 50px 0;
  color: #333;
}

.error-message {
  color: #d32f2f;
}

/* Add styling for the draft class display - less margin */
.player-draft-class {
  font-size: 18px;
  font-weight: bold;
  margin-top: 3px; /* Reduced from 5px */
  text-align: center;
}

/* Toast notifications */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: white;
  color: #333;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 300px;
  max-width: 400px;
  animation: slideIn 0.3s ease-out forwards;
}

.toast-notification.success {
  border-left: 4px solid #10b981; /* Success green */
}

.toast-notification.error {
  border-left: 4px solid #ef4444; /* Error red */
}

.toast-notification.info {
  border-left: 4px solid #0ea5e9; /* Info blue */
}

.toast-message {
  flex: 1;
  font-size: 0.875rem;
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  margin-left: 1rem;
  color: #999;
}

.toast-close:hover {
  color: #333;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Live stats grid styling */
.live-stats-grid {
  display: grid;
  grid-template-rows: repeat(5, auto);
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  width: 100%;
  margin-top: 5px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  font-size: 15px;
  overflow: hidden;
}

.live-stats-grid-row {
  display: contents;
}

.live-stats-grid-header > div {
  font-weight: bold;
  text-align: center;
  background: rgba(255,255,255,0.10);
  color: #fff;
  padding: 2px 0;
  grid-column: span 1;
}

.live-stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
  padding: 2px 0;
  background: rgba(0,0,0,0.03);
}

.live-stat-cell:last-child {
  border-right: none;
}

.live-stat-category {
  font-size: 12px;
  color: #bbb;
  font-weight: 600;
  text-align: center;
  line-height: 1;
}

.live-stat-value {
  font-size: 15px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
}

@media screen and (max-width: 480px) {
  .live-stats-grid {
    font-size: 13px;
  }
  .live-stat-category {
    font-size: 10px;
  }
  .live-stat-value {
    font-size: 13px;
  }
}

/* Live game summary section */
.live-game-summary {
  width: 100%;
  margin: 6px 0 8px 0;
  padding: 6px 0 8px 0;
  background: rgba(255,255,255,0.10);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  box-sizing: border-box;
}

.live-game-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
}

.live-game-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  max-width: 120px;
  text-align: center;
}

.live-game-team-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
  margin-bottom: 2px;
  border: 1px solid #eee;
}

.live-game-team-name {
  font-size: 13px;
  color: #fff;
  margin-bottom: 2px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.12);
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-game-team-points {
  font-size: 22px;
  color: white;
  font-weight: bold;
  margin-top: 1px;
}

.live-game-vs {
  font-size: 15px;
  color: #fff;
  font-weight: bold;
  margin: 0 8px;
  align-self: center;
}

.live-game-period-clock {
  margin-top: 4px;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media screen and (max-width: 480px) {
  .live-game-summary {
    font-size: 13px;
    padding: 4px 0 6px 0;
  }
  .live-game-team-logo {
    width: 24px;
    height: 24px;
  }
  .live-game-team-name {
    font-size: 11px;
    max-width: 60px;
  }
  .live-game-team-points {
    font-size: 15px;
  }
  .live-game-period-clock {
    font-size: 12px;
  }
}

/* Responsive styles */
@media screen and (max-width: 1200px) {
  .filter-dash-container {
    padding: 0 15px;
  }
  
  .menu-item-dash,
  .sub-menu-item a {
    font-size: 12px; /* Both elements use same font size */
    height: 45px; /* Maintain consistent height */
  }
}

@media screen and (max-width: 970px) {
  .filter-dash-container {
    flex-wrap: wrap;
  }
  
  .menu-item-dash {
    min-width: 48%; /* Two per row */
    flex: 0 0 48%;
  }

  .menu-item-dash,
  .sub-menu-item a {
    font-size: 18px; /* Both elements use same font size */
    height: 45px; /* Maintain consistent height */
  }
}

@media screen and (max-width: 768px) {
  .filter-dash-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .menu-item-dash,
  .sub-menu-item a {
    width: 100%;
    min-width: 100%;
    max-width: none;
    font-size: 16px; /* Larger font at small screens */
    height: 45px; /* Ensure consistent height */
  }
  
  /* Make submenu wider on mobile to improve usability */
  .sub-menu {
    max-height: 250px; /* Taller submenu on mobile */
    width: 100%;
  }
  
  .sub-menu-item a {
    justify-content: center; /* Center text on mobile for both menu and submenu */
    padding: 0 15px; /* Consistent padding */
  }

  .white-circle-dash {
    width: 150px;
    height: 150px;
    min-width: 150px; /* Match the width value */
    min-height: 150px; /* Match the height value */
  }

  .player-ind-card {
    width: 280px;
    height: auto;
    min-height: 420px; /* Reduced from previous value */
  }
}

@media screen and (max-width: 480px) {
  .search-bar-dashboard input {
    font-size: 14px;
  }
  
  .dash-title {
    font-size: 2rem;
  }

  .white-circle-dash {
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
  }
  
  /* Adjust other elements to maintain proportions */
  .player-name-rec {
    font-size: 22px; /* Slightly smaller font */
  }
}

@media screen and (max-width: 320px) {
  .live-stats-coming {
    font-size: 13px; /* Slightly smaller font */
    padding: 0 4px; /* Add some padding to prevent text touching edges */
    word-wrap: break-word; /* Allow text to wrap if needed */
  }
  
  .live-stats-container {
    padding: 0 5px; /* Add some padding */
  }
  
  .player-ind-card {
    min-width: 0; /* Allow card to shrink if needed */
    width: 100%; /* Take available width */
    max-width: 280px; /* Cap maximum width */
  }
}

/* Consistent menu and submenu styling */
.menu-item-dash,
.sub-menu-item a {
  height: 32px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-weight: bold;
}

.menu-item-dash {
  padding: 0;
}

.sub-menu-item a {
  padding: 0 15px;
  justify-content: flex-start; /* Default for larger screens */
}

.dark-theme .dash-title {
  color: white;
}

/* Add responsive font sizes to match rankings page */
@media (min-width: 1024px) {
  .dash-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1200px) {
  .dash-title {
    font-size: 2.8rem;
  }
}.signup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 900px;
    background-color: #f4f4f4;
  }
  
  .signup-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    
  }
  
  .signup-box h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
  }/* Root variables */
:root {
  --primary-color: #007bff;
  --primary-dark: #0056b3;
  --text-color: #333;
  --light-text: #555;
  --border-color: #ddd;
  --error-color: #dc3545;
  --bg-color: #f4f4f4;
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  --input-radius: 4px;
  --box-radius: 8px;
}

/* Container */
.signup-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* Changed from height to min-height */
  background-color: var(--bg-color);
  padding: 20px; /* Added padding for mobile */
  box-sizing: border-box; /* Ensure padding doesn't affect width */
}

/* Signup box */
.signup-box {
  background-color: #fff;
  padding: 30px;
  border-radius: var(--box-radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 400px;
  position: relative; /* For proper stacking */
}

/* Header */
.signup-box h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--text-color);
  font-weight: 600;
}

/* Form */
.signup-box form {
  display: flex;
  flex-direction: column;
}

/* Form groups */
.form-group {
  margin-bottom: 15px;
  position: relative; /* For error messages */
}

/* Form inputs */
.signup-box input {
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--input-radius);
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.signup-box input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Error messages */
.error-message {
  color: var(--error-color);
  font-size: 14px;
  margin-top: 5px;
  margin-bottom: 0;
}

/* Signup button */
.signup-button {
  padding: 12px;
  background-color: var(--primary-color);
  color: white;
  font-size: 16px;
  border: none;
  border-radius: var(--input-radius);
  cursor: pointer;
  transition: background-color 0.3s, transform 0.1s;
  margin-top: 10px;
}

.signup-button:hover {
  background-color: var(--primary-dark);
}

.signup-button:active {
  transform: scale(0.98);
}

/* Disabled button styles */
.signup-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.signup-button:disabled:hover {
  background-color: #ccc;
}

/* Login link */
.login-link {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--light-text);
}

.login-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.login-link a:hover {
  text-decoration: underline;
}

/* Password Requirements Checklist */
.password-requirements {
  margin-top: 8px;
  background-color: #f8f9fa;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 14px;
}

.password-requirements p {
  margin: 0 0 8px 0;
  color: var(--text-color);
  font-weight: 500;
}

.password-requirements ul {
  margin: 0;
  padding-left: 5px;
  list-style-type: none;
}

.password-requirements li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.requirement-icon {
  margin-right: 8px;
  font-weight: bold;
}

.requirement-met {
  color: #28a745;
}

.requirement-not-met {
  color: #6c757d;
}

/* Dark theme support */
.dark-theme .signup-container {
  background-color: #121212;
}

.dark-theme .signup-box {
  background-color: #1e1e1e;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.dark-theme .signup-box h2 {
  color: #f5f5f5;
}

.dark-theme .signup-box input {
  background-color: #333;
  border-color: #444;
  color: #f5f5f5;
}

.dark-theme .signup-box input:focus {
  border-color: #90caf9;
  box-shadow: 0 0 0 3px rgba(144, 202, 249, 0.2);
}

.dark-theme .login-link {
  color: #bbb;
}

.dark-theme .login-link a {
  color: #90caf9;
}

/* Dark theme styles for password requirements */
.dark-theme .password-requirements {
  background-color: #2c2c2c;
}

.dark-theme .requirement-met {
  color: #5cb85c;
}

.dark-theme .requirement-not-met {
  color: #adb5bd;
}

/* Responsive styles */
@media screen and (max-width: 480px) {
  .signup-box {
    padding: 20px;
  }
  
  .signup-box h2 {
    font-size: 22px;
  }
  
  .signup-box input {
    padding: 10px;
    font-size: 15px;
  }
  
  .signup-button {
    padding: 10px;
  }
}
  
  .signup-box form {
    display: flex;
    flex-direction: column;
  }
  
  .signup-box input {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
  }
  
  .signup-box input:focus {
    border-color: #007bff;
    outline: none;
  }
  
  .signup-box button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .signup-box button:hover {
    background-color: #0056b3;
  }
  
  .signup-box p {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #555;
  }
  
  .signup-box a {
    color: #007bff;
    text-decoration: none;
  }
  
  .signup-box a:hover {
    text-decoration: underline;
  }

/* Toast Notification Styles */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  min-width: 300px;
  max-width: 400px;
  animation: slideIn 0.3s ease-out forwards;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toast-notification.success {
  background-color: #4CAF50;
  color: white;
  border-left: 4px solid #2E7D32;
}

.toast-notification.error {
  background-color: #F44336;
  color: white;
  border-left: 4px solid #B71C1C;
}

.toast-notification.info {
  background-color: #0ea5e9;
  color: white;
  border-left: 4px solid #0369a1;
}

.toast-message {
  flex: 1;
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  margin-left: 1rem;
  color: white;
}

.toast-close:hover {
  opacity: 0.8;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Dark theme support for toast */
.dark-theme .toast-notification.success {
  background-color: #388E3C;
  border-left-color: #1B5E20;
}

.dark-theme .toast-notification.error {
  background-color: #D32F2F;
  border-left-color: #B71C1C;
}

.dark-theme .toast-notification.info {
  background-color: #0288d1;
  border-left-color: #01579b;
}

/* Dashboard Mock Draft Styles */
/* ==================== ROOT VARIABLES ==================== */
:root {
  --primary-color: #4B9CD3; /* Changed from #4f46e5 to Carolina Blue */
  --primary-hover: #2E7AC2; /* Changed from #4338ca to darker Carolina Blue */
  --secondary-color: #0ea5e9;
  --accent-color: #f97316;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --background-color: #f3f4f6;
  --card-bg: #ffffff;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-light: #9ca3af;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius-sm: 0.375rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 0.75rem;
  --transition: all 0.2s ease-in-out;
}
/* ==================== BASE STYLES ==================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background-color);
  color: var(--text-primary);
  line-height: 1.5;
}
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
/* ==================== DASHBOARD LAYOUT ==================== */
.dashboard-container-mock {
  width: 96%;  /* Increased from 90% to 96% to use more screen width */
  margin: 2rem auto;
  padding: 0 0.5rem;  /* Reduced horizontal padding */
}
/* ==================== DASHBOARD HEADER ==================== */
.dashboard-header-mock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  position: relative;
}
.header-left-mock {
  width: 170px; /* Match approximate width of header-actions-mock */
}
.dashboard-header-mock h1 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.2rem;
  text-transform: uppercase;
  font-weight: bold;
  color: #333;
  margin: 0;
  white-space: nowrap;
  text-align: center;
}
.header-actions-mock {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* ==================== GRID CONTAINER ==================== */
.grid-container-mock {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Fixed syntax by removing space */
  grid-template-rows: auto 1fr 1fr 1fr; /* auto for top row */
  gap: 12px;
  height: calc(100vh - 120px); /* Adjust as needed based on your header size */
  padding: 12px;
  box-sizing: border-box;
  overflow: hidden;
  flex-grow: 1;
}
/* Top row items */
.draft-controls-mock,
.recommendation-panel-mock,
.team-summary-panel-mock,
.recent-picks-panel-mock {
  grid-row: 1 / 2;
  min-height: auto;
  max-height: 180px; /* Adjust for smaller top row */
  overflow-y: auto;
  min-width: 0; /* Remove minimum width constraint */
  width: 100%; /* Ensure elements fill their grid cells */
}
/* ==================== DRAFT CONTROLS PANEL ==================== */
.draft-controls-mock {
  grid-column: 1/2;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.2rem 1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 0; /* Remove fixed min-width */
  gap: 0.75rem; /* Reduced from 1.5rem to make elements closer together */
}
/* Draft Info */
.draft-info-mock {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-direction: column;
}
.draft-info-item-mock {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.info-label-mock {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.info-value-mock {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.info-value-mock.warning-mock {
  color: var(--danger-color);
  animation: pulse 1s infinite;
}
.info-value-mock.user-turn-mock {
  color: var(--success-color);
  font-weight: 800;
}
/* Progress Tracker */
.progress-tracker-mock {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.progress-bar-mock {
  height: 0.5rem;
  background-color: var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
}
.progress-fill-mock {
  height: 100%;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 1rem;
  transition: width 0.3s ease;
}
.progress-labels-mock {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
}
/* Draft Actions */
.draft-actions-mock {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.action-button-mock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.action-button-mock svg {
  width: 1.25rem;
  height: 1.25rem;
}
.action-button-mock.start-mock {
  background-color: var(--success-color);
  color: white;
}
.action-button-mock.start-mock:hover {
  background-color: #0d9488;
  transform: translateY(-2px);
}
.action-button-mock.pause-mock {
  background-color: var(--warning-color);
  color: white;
}
.action-button-mock.pause-mock:hover {
  background-color: #d97706;
  transform: translateY(-2px);
}
.action-button-mock.resume-mock {
  background-color: var(--secondary-color);
  color: white;
}
.action-button-mock.resume-mock:hover {
  background-color: #0284c7;
  transform: translateY(-2px);
}
.action-button-mock.reset-mock {
  background-color: var(--danger-color);
  color: white;
}
.action-button-mock.reset-mock:hover {
  background-color: #dc2626;
  transform: translateY(-2px);
}
.action-button-mock.view-recap-mock {
  background-color: var(--success-color);
  color: white;
}
.action-button-mock.view-recap-mock:hover {
  background-color: #0d9488;
  transform: translateY(-2px);
}
.action-button-mock.disabled-mock {
  background-color: var(--text-light);
  cursor: not-allowed;
  transform: none !important;
}
/* Import League button styles */
.import-league-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--primary-color, #4c51bf);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
  margin-right: 10px;
}
.import-league-button:hover {
  background-color: var(--primary-color-dark, #434190);
}
.import-league-button svg {
  width: 18px;
  height: 18px;
}
/* Dark theme styles for import button */
.dark-theme .import-league-button {
  background-color: var(--primary-color-dark, #434190);
  color: var(--text-light, #f7fafc);
}
.dark-theme .import-league-button:hover {
  background-color: var(--primary-color, #4c51bf);
}
/* Update dashboard-controls to accommodate the new button */
.dashboard-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Import League button and dropdown styles */
.import-league-container {
  position: relative;
}
.import-league-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--primary-color, #4c51bf);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}
.import-league-button:hover {
  background-color: var(--primary-color-dark, #434190);
}
.import-league-button svg {
  width: 18px;
  height: 18px;
}
.import-options-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  box-shadow: var(--shadow);
  z-index: 100;
  overflow: hidden;
  margin-top: 4px;
}
.import-options-dropdown button {
  width: 100%;
  padding: 8px 16px;
  text-align: left;
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.2s;
}
.import-options-dropdown button:hover {
  background-color: var(--background-color);
}
.import-options-dropdown button:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}
/* Dark theme styles for import button */
.dark-theme .import-league-button {
  background-color: var(--primary-color-dark, #434190);
  color: var(--text-light, #f7fafc);
}
.dark-theme .import-league-button:hover {
  background-color: var(--primary-color, #4c51bf);
}
.dark-theme .import-options-dropdown {
  background-color: var(--card-bg);
  border-color: var(--border-color);
}
.dark-theme .import-options-dropdown button {
  color: var(--text-primary);
}
.dark-theme .import-options-dropdown button:hover {
  background-color: var(--background-color);
}
/* Responsive adjustments */
@media screen and (max-width: 500px) {
  .import-league-button {
    width: 100%;
    max-width: 200px;
  }
}
/* ==================== RECOMMENDATION PANEL ==================== */
.recommendation-panel-mock {
  grid-column: 2 / 3;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  min-width: 0; /* Remove fixed min-width */
}
.recommendation-panel-mock h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}
.recommended-player-mock {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  color: white;
  background-color: #1790F3; /* Added default background color */
}
.rec-player-header-mock {
  display: flex;
  padding: 0.75rem;
  gap: 0.75rem;
}
.rec-player-image-mock {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 2px solid white;
  overflow: hidden;
  flex-shrink: 0;
}
.rec-player-image-mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rec-player-details-mock {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.rec-player-name-mock {
  font-size: 1rem;
  font-weight: 600;
}
.rec-player-info-mock {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.rec-player-rank-mock {
  font-size: 0.75rem;
  opacity: 0.9;
  margin-top: -0.25rem; /* Add negative margin to move it up slightly */
}
.rec-reason-mock {
  padding: 0.75rem;
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 0.875rem;
}
.draft-rec-button-mock {
  width: 100%;
  padding: 0.625rem 0;
  border: none;
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}
.draft-rec-button-mock:hover {
  background-color: rgba(0, 0, 0, 0.4);
}
.draft-rec-button-mock:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  cursor: not-allowed;
  opacity: 0.7;
}
/* Add or update styles for the recommendation panel flex header */
.recommend-flex-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 0.5rem;
}
/* Style for the user priority display in the recommendation header */
#user-priority-display-draft {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 3px;
  max-width: 60%;
  min-height: 26px;
}
#user-priority-display-draft .team-priorities-display {
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}
#user-priority-display-draft .priority-badge {
  font-size: 0.65rem;
  padding: 0.1rem 0.15rem;
  white-space: nowrap;
}
/* Responsive adjustments for the recommendation header */
@media screen and (max-width: 768px) {
  .recommend-flex-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  #user-priority-display-draft {
    max-width: 100%;
    justify-content: flex-start;
    margin-top: 0.25rem;
  }
}
/* ==================== TEAM SUMMARY PANEL ==================== */
.team-summary-panel-mock {
  grid-column: 3 / 4;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  min-width: 0; /* Remove fixed min-width */
}
.team-summary-panel-mock h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  border-bottom: 1px solid var (--border-color);
  padding-bottom: 0.5rem;
}
/* Team positions - add more spacing between rows */
.team-positions-mock {
  display: flex;
  flex-direction: column;
  gap: 0.1rem; /* Increased from 0.75rem for more space between position rows */
  margin-bottom: 0rem; /* Increased from 1.25rem to add more space before "Positions Needed" label */
}
/* Team positions - fix the visibility of progress bars */
.team-position-count-mock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 24px; /* Ensure minimum height for visibility */
}
.position-progress-mock {
  flex: 1;
  height: 0.375rem; /* Ensure height is explicit */
  background-color: var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  min-width: 50px; /* Ensure minimum width */
  position: relative; /* Ensure proper positioning */
  z-index: 1; /* Ensure proper stacking */
}
.position-progress-fill-mock {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 1rem;
  transition: width 0.3s ease;
  position: absolute; /* Use absolute positioning */
  left: 0;
  top: 0;
  min-width: 0; /* Allow very small widths */
}
/* Position Badge */
.position-badge-mock {
  font-size: 0.7rem; /* Reduced from default size to make it smaller */
  padding: 0.05rem 0.1rem;
  min-width: 18px;
  display: flex;
  justify-content: center;
}
/* Team needs */
.team-needs-mock {
  margin-bottom: 1.25rem;
}
.team-needs-mock h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}
.needs-list-mock {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.need-item-mock {
  font-size: 0.825rem;
  padding: 0.375rem 0.5rem;
  background-color: var(--background-color);
  border-radius: var(--border-radius-sm);
  display: flex;
  justify-content: space-between;
}
.need-position-mock {
  font-weight: 600;
  color: var(--text-primary);
}
.need-count-mock {
  color: var(--text-secondary);
}
.need-item-mock.completed-mock {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
  font-weight: 500;
  text-align: center;
  justify-content: center;
}
/* Roster requirements */
.roster-requirements-mock {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  }
.roster-requirements-mock h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.position-requirements-mock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.position-requirement-mock {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.position-label-mock {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.position-controls-mock {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}
.position-controls-mock button {
  border: none;
  background-color: var(--background-color);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.position-controls-mock button:hover {
  background-color: var(--border-color);
}
.position-controls-mock button:disabled {
  color: var(--text-light);
  cursor: not-allowed;
}
.position-controls-mock span {
  flex: 1;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}
/* View team button */
.view-team-button-mock,
.view-history-button-mock,
.select-picks-button,
.configure-needs-button {
  width: 100%;
  padding: 0.5rem 0;
  text-align: center;
  border: none;
  background-color: #1790F3;
  color: white;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.75rem;
  height: 36px; /* Match action buttons height */
  display: flex;
  align-items: center;
  justify-content: center;
}
.view-team-button-mock:hover,
.view-history-button-mock:hover,
.select-picks-button:hover,
.configure-needs-button:hover {
  background-color: #1277CD;
}
.configure-needs-button {
  background-color: var(--secondary-color);
}
.configure-needs-button:hover {
  background-color: #0284c7;
}
/* ==================== RECENT PICKS PANEL ==================== */
.recent-picks-panel-mock {
  grid-column: 4 /5;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  min-width: 0; /* Remove fixed min-width */
}
.recent-picks-panel-mock h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}
.recent-picks-list-mock {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
/* Fix alignment in Recent Picks Panel */
.recent-pick-mock {
  display: flex;
  align-items: flex-start; /* Changed from center to flex-start for consistent vertical alignment */
  gap: 0.75rem;
  padding: 0.5rem;
  background-color: var(--background-color);
  border-radius: var(--border-radius-sm);
}
.recent-pick-number-mock {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-secondary);
  min-width: 2rem; /* Add fixed width for the pick number */
  text-align: center; /* Center the number */
  padding-top: 0.125rem; /* Slight top padding to align with name */
}
.recent-pick-details-mock {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
}
.recent-pick-player-mock {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.125rem; /* Add small margin to separate from team name */
}
.recent-pick-meta-mock {
  display: flex;
  justify-content: flex-start; /* Changed from space-between to flex-start */
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.no-picks-mock {
  text-align: center;
  padding: 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}
/* Recent Picks Panel - Fix View Full History button height */
.recent-picks-panel-mock .view-history-button-mock {
  height: 36px;
  min-height: 36px;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: normal;
  box-sizing: border-box;
}
/* ==================== DRAFT BOARD ==================== */
.draft-board-mock {
  grid-column: 1/4;
  grid-row: 2/5;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  overflow: auto; /* Keep this to allow the main container to scroll */
  display: flex;
  flex-direction: column;
}
.draft-board-mock h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var (--text-primary);
  flex-shrink: 0; /* Prevent heading from shrinking */
}
.draft-board-scroll-container {
  overflow-x: auto; /* Only allow horizontal scrolling if needed */
  overflow-y: visible; /* Don't add vertical scrollbar */
  max-width: 100%;
  padding-bottom: 1rem;
  flex: 1; /* Take up remaining space */
}
.board-grid-mock {
  display: grid;
  gap: 0.35rem;
  max-height: none; /* Remove max-height restriction */
  overflow-y: visible; /* Remove the vertical scrollbar */
}
.board-slot-mock {
  position: relative;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 0;
  min-height: 4.5rem;
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  transition: transform 0.2s ease;
}
.board-slot-mock:hover {
  transform: scale(1.02);
  z-index: 2;
}
.board-slot-mock:not(.picked-mock) {
  padding: 0.5rem;
}
.board-slot-mock.user-slot-mock {
  border: 2px dashed var(--accent-color);
  background-color: rgba(249, 115, 22, 0.05);
}
.board-slot-mock.current-mock {
  border: 2px solid var(--primary-color);
}
.board-slot-mock.current-user-mock {
  border: 2px solid var(--success-color);
  background-color: rgba(16, 185, 129, 0.05);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}
.pick-number-mock {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  z-index: 5;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 0.1rem 0.3rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0.25rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.picked-player-mock {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem 0.5rem 0.5rem;
  color: white;
  height: 100%;
  width: 100%;
  border-radius: var(--border-radius-sm);
  box-sizing: border-box;
}
.picked-player-mock img {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.player-info-mock {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  padding-right: 0.25rem;
}
.player-name-mock-mock {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: white;
  line-height: 1.2;
  max-width: 100%;
  margin-bottom: 0.1rem;
}
.player-pos-mock {
  font-size: 0.75rem;
  opacity: 0.9;
  white-space: nowrap;
  color: white;
}
.empty-slot-mock {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  padding: 0.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* ==================== PLAYER TABS ==================== */
.player-tabs-mock {
  grid-column: 4/5;
  grid-row: 2/5;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tab-buttons-mock {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}
.tab-button-mock {
  flex: 1;
  padding: 0.75rem 0.5rem;
  border: none;
  background-color: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}
.tab-button-mock:hover {
  color: var(--primary-color);
}
.tab-button-mock.active-mock {
  color: #1790F3;
  border-bottom: 2px solid #1790F3;
}
/* ==================== PLAYER FILTERS ==================== */
.player-filters-mock {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}
.search-bar-mock {
  position: relative;
  margin-bottom: 0.75rem;
}
.search-bar-mock input {
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  height: 2.25rem;
  transition: var(--transition);
}
.search-bar-mock input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
.clear-search-mock {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
}
.clear-search-mock:hover {
  background-color: var(--background-color);
}
.position-filters-mock {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
  color: var(--text-dark);
}
.position-filter-mock {
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border-color);
  background-color: var(--background-color);
  border-radius: var(--border-radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.position-filter-mock:hover {
  border-color: var(--primary-color);
  transform: scale(1.1);
}
.position-filter-mock.active-mock {
  background-color: #1790F3;
  color: white;
  border-color: #1790F3;
}
.sort-options-mock {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.sort-options-mock span {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-right: 0.25rem;
}
.sort-option-mock {
  padding: 0.2rem 0.4rem;
  border: none;
  background-color: transparent;
  font-size: 0.7rem;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--border-radius-sm);
}
.sort-option-mock:hover {
  background-color: var(--background-color);
}
.sort-option-mock.active-mock {
  color: #1790F3;
  font-weight: 600;
}
/* ==================== DRAFT PLAYERS ==================== */
.draft-players-mock {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.draft-players-mock h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var (--text-primary);
}
/* Available players */
.available-players-mock {
  color: white;
  max-height: none;
  flex: 1;
  overflow-y: auto;
  width: 100%;
  padding: 0.75rem;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
}
.available-players-tab-mock {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.player-card-mock {
  min-height: 30px;
  margin-top: 5px;
  border-radius: 10px;
  padding: 5px; 
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
  width: 100%;
  cursor: pointer; /* Add cursor pointer to indicate item is clickable */
}
.player-card-mock::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjZmZmIj48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDVMNSAwWk02IDRMNCA2Wk0tMSAxTDEgLTFaIiBzdHJva2U9IiMyMjIiIHN0cm9rZS13aWR0aD0iMSI+PC9wYXRoPgo8L3N2Zz4=");
  mix-blend-mode: multiply;
  opacity: 0.3;
  z-index: -1;
  border-radius: 10px;
  pointer-events: none;
}
.white-circle-mock {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
  overflow: hidden;
  flex-shrink: 0;
}
.player-card-mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.player-card-info-mock {
  flex: 1;
  display: flex;
  flex-direction: column; /* Change to column layout for vertical alignment */
  align-items: flex-start; /* Align everything to the left */
  justify-content: center;
  gap: 0.1rem; /* Small gap between items */
  font-size: 0.875rem;
}
/* Make player card info layout horizontal on larger screens */
@media screen and (min-width: 511px) {
  .player-card-info-mock {
    flex-direction: row; /* Change back to row layout on larger screens */
    align-items: center; /* Center items vertically when in row layout */
    justify-content: flex-start; /* Explicitly set left alignment */
    gap: 0.5rem; /* Slightly larger gap for row layout */
    flex-wrap: wrap; /* Allow wrapping if needed */
    width: 100%; /* Ensure the container takes full width */
  }
  
  .player-metadata-mock {
    margin-left: 0.25rem; /* Add a small margin to separate from player name */
  }
}
.player-rank-mock {
  font-weight: 600;
  margin-right: 0.25rem;
  line-height: 1.1;
}
.player-name-text {
  line-height: 1.1;
  font-weight: 500;
}
.player-metadata-mock {
  margin-left: 0; /* Remove left margin that was causing the offset */
  opacity: 0.9;
  line-height: 1.1;
  font-size: 0.8rem; /* Slightly smaller font for position/team */
}
.player-btn-mock {
  height: 20px;
  margin-left: auto;
  margin-right: 0;
  background: #484c50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 10px;
  display: flex; 
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  font-weight: bold;
  padding: 0 5px;
  flex-shrink: 0;
}
/* ==================== ROSTER TAB ==================== */
.your-roster-tab-mock {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.your-roster-tab-mock h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  flex-shrink: 0;
}
.roster-by-position-mock {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  flex: 1;
  padding-right: 0.5rem;
  -webkit-overflow-scrolling: touch;
}
.empty-roster-mock {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.roster-player-card-mock {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  color: white;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.roster-player-card-mock:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.roster-player-image-mock {
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
.roster-player-image-mock img {
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.roster-player-card-mock:hover .roster-player-image-mock img {
  transform: scale(1.05);
}
.roster-player-info-mock {
  padding: 0.75rem;
  background-color: rgba(0, 0, 0, 0.15);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.roster-player-name-mock {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.roster-player-team-mock {
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  opacity: 0.9;
}
.roster-player-rank-mock {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: auto;
  background-color: rgba(0, 0, 0, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  display: inline-block;
  align-self: flex-start;
}
.position-group-mock {
  margin-bottom: 2rem;
}
.position-heading-mock {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.position-heading-mock::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border-color);
}
.position-players-mock {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.roster-empty-slot-mock {
  border: 2px dashed var(--border-color);
  border-radius: var(--border-radius-sm);
  height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}
.roster-empty-slot-mock:hover {
  border-color: var(--primary-color);
  background-color: rgba(79, 70, 229, 0.05);
}
.empty-slot-text-mock {
  color: var(--text-light);
  font-size: 0.875rem;
  text-align: center;
  padding: 1rem;
}
/* ==================== HISTORY TAB ==================== */
.draft-history-tab-mock {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.draft-history-tab-mock h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  flex-shrink: 0;
}
.history-scroll-container {
  overflow-x: auto;
  overflow-y: auto;
  max-width: 100%;
  flex: 1;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  scrollbar-width: thin;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
}
.empty-history-mock {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.history-list-mock {
  width: 100%;
  min-width: 850px; /* Increased from 800px to give more space */
  table-layout: fixed;
}
.history-header-mock {
  display: grid;
  grid-template-columns: 0.7fr 1fr 2fr 0.8fr 1.8fr; /* Increased width for pick, team, player name, and both team columns */
  padding: 0.75rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--background-color);
  border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
  position: sticky;
  top: 0;
  z-index: 5;
  background-color: var(--background-color);
}
.history-row-mock {
  display: grid;
  grid-template-columns: 0.7fr 1fr 2fr 0.8fr 1.8fr; /* Increased width for pick, team, player name, and both team columns */
  padding: 0.75rem 0.5rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-color);
}
.history-row-mock:last-child {
  border-bottom: none;
}
.user-pick-history-mock {
  background-color: rgba(79, 70, 229, 0.05);
}
.history-col-mock {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 0.5rem;
}
.history-col-mock.player-name-mock-mock {
  font-weight: 500;
  padding-right: 1rem; /* Add extra padding on the right */
}
.empty-history-mock {
  text-align: center;
  padding: 3rem 1rem;
  color: var (--text-secondary);
}
/* ==================== SETTINGS PANEL ==================== */
.settings-panel-mock {
  position: absolute;
  top: 8rem;
  right: 1rem;
  width: 450px;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 100;
  border: 1px solid var(--border-color);
  max-height: 80vh;
  overflow-y: scroll;
  padding-bottom: 2.5rem; /* Add extra padding at the bottom to ensure save button is visible */
}
.settings-panel-wrapper{
  position: relative;
}
.settings-panel-mock h2 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}
.settings-grid-mock {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  overflow-y: visible;
}
.setting-item-mock {
  display: flex;
  flex-direction: column;
}
.setting-item-mock label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.setting-item-mock input,
.setting-item-mock select {
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background-color: var(--card-bg);
  font-size: 0.875rem;
  color: var(--text-primary);
  transition: var(--transition);
}
.setting-item-mock input:focus,
.setting-item-mock select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}
/* Number input container */
.setting-item-mock .number-input-container {
  display: flex;
  align-items: center;
  height: 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background-color: var(--card-bg);
}
.setting-item-mock .number-input-container button {
  width: 2.5rem;
  height: 100%;
  border: none;
  background-color: var(--background-color);
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.setting-item-mock .number-input-container button:hover {
  background-color: var(--border-color);
}
.setting-item-mock .number-input-container button:active {
  background-color: var(--primary-color);
  color: white;
}
.setting-item-mock .number-input-container input {
  width: 100%;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  -moz-appearance: textfield;
  background-color: var(--card-bg);
}
.setting-item-mock .number-input-container input:focus {
  outline: none;
}
/* Hide number input spinners */
.setting-item-mock .number-input-container input::-webkit-outer-spin-button,
.setting-item-mock .number-input-container input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.settings-footer-mock {
  margin-top: 2rem; /* Increased from 1.5rem to create more space */
  margin-bottom: 6rem; /* Added bottom margin */
  display: flex;
  justify-content: flex-end;
  /* position: sticky; Make the footer sticky */
  /* bottom: 0; Stick to bottom of container */
  background-color: var(--card-bg); /* Match container background */
  padding: 0.5rem 0; /* Add padding for separation */
  z-index: 5; /* Ensure it's above other content */
}
.settings-footer-mock button {
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.settings-footer-mock button:hover {
  background-color: var(--primary-hover);
}
/* Settings panel locked state */
.settings-panel-locked {
  pointer-events: none; /* Prevents any interaction with the panel */
}
.settings-panel-locked,
.settings-panel-tooltip-locked {
  pointer-events: none; /* Prevents any interaction with the panel */
}
/* Make sure the help modal is above the locked panel */
.help-modal-container {
  position: absolute;
  top: 200px;
  right: 30px;
  z-index: 2200;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  max-width: 350px;
  width: 100%;
  overflow: auto;
  height: 50vh;
  padding-bottom: 4rem;
  pointer-events: auto; /* Ensure the modal itself can still be interacted with */
}
/* ==================== TUTORIAL MODAL STYLES ==================== */
.mock-tutorial-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 1rem;
  overflow-y: auto;
}
.mock-tutorial-modal {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 650px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  animation: fadeInScale 0.3s ease-out;
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.mock-tutorial-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-color);
  color: white;
}
.mock-tutorial-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}
.close-tutorial-button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: white;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}
.close-tutorial-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.mock-tutorial-content {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}
.mock-tutorial-intro {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}
.mock-tutorial-section {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}
.mock-tutorial-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.mock-tutorial-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  color: var (--primary-color);
}
.mock-tutorial-section p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 0.75rem 0;
  color: var(--text-secondary);
}
.mock-tutorial-section ul {
  margin: 0.5rem 0 0.75rem 1.5rem;
  padding: 0;
}
.mock-tutorial-section li {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}
.mock-tutorial-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}
.start-draft-button {
  padding: 0.75rem 2rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.start-draft-button:hover {
  background-color: var(--primary-hover);
}
/* Responsive styles for the tutorial modal */
@media screen and (max-width: 768px) {
  .mock-tutorial-modal {
    max-width: 95%;
    max-height: 90vh;
  }
  
  .mock-tutorial-header h3 {
    font-size: 1.3rem;
  }
  
  .mock-tutorial-intro {
    font-size: 1rem;
  }
  
  .mock-tutorial-section h4 {
    font-size: 1rem;
  }
  
  .mock-tutorial-section p,
  .mock-tutorial-section li {
    font-size: 0.9rem;
  }
  
  .start-draft-button {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}
@media screen and (max-width: 576px) {
  .mock-tutorial-modal {
    position: fixed;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0;
    max-height: 80vh;
    height: auto;
    width: 90%;
  }
  
  .mock-tutorial-overlay {
    align-items: center; /* Ensure vertical centering */
    padding: 0; /* Remove padding that might affect centering */
  }

  .mock-tutorial-modal {
    top: 20px;
    height: 50vh;
  }
  
  .mock-tutorial-modal {
    max-width: 100%;
    max-height: 95vh;
  }
  
  .mock-tutorial-header {
    padding: 1rem;
  }
  
  .mock-tutorial-header h3 {
    font-size: 1.1rem;
  }
  
  .mock-tutorial-content {
    padding: 1rem;
  }
  
  .mock-tutorial-intro {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .mock-tutorial-section {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }
  
  .mock-tutorial-section h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .mock-tutorial-section p,
  .mock-tutorial-section li {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }
  
  .mock-tutorial-footer {
    padding: 1rem;
  }
  
  .start-draft-button {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    width: 100%;
  }
}
@media screen and (max-width: 350px) {
  .mock-tutorial-header h3 {
    font-size: 1rem;
  }
  
  .close-tutorial-button {
    font-size: 1.25rem;
    width: 1.75rem;
    height: 1.75rem;
  }
  
  .mock-tutorial-intro {
    font-size: 0.8rem;
  }
  
  .mock-tutorial-section h4 {
    font-size: 0.85rem;
  }
  
  .mock-tutorial-section p,
  .mock-tutorial-section li {
    font-size: 0.8rem;
  }
}
/* Support for dark theme */
.dark-theme .mock-tutorial-modal {
  background-color: var(--card-bg);
}
.dark-theme .mock-tutorial-section h4 {
  color: var(--primary-color);
}
.dark-theme .mock-tutorial-intro,
.dark-theme .mock-tutorial-section p,
.dark-theme .mock-tutorial-section li {
  color: var(--text-secondary);
}
/* ==================== RESPONSIVE SETTINGS PANEL ==================== */
/* Medium screens (tablets) */
@media screen and (max-width: 768px) {
  .settings-panel-mock {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 95vh;
    max-height: 100vh;
    margin:0 0 0px 0; /* Remove margin that was causing scrolling issues */
    padding-top: 6rem; /* Add padding instead of margin for top space */
    padding-bottom: 2rem; /* Add padding at the bottom for more scroll space */
    border-radius: 0;
    overflow-y: auto; /* Ensure vertical scrolling is enabled */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    
  }
  
  .settings-header-mock {
    /* position: sticky; */
    /* top: 0; */
    background-color: var(--card-bg);
    z-index: 10;
    padding-top: 1rem;
  }

  
  
  .settings-footer-mock {
    /* position: sticky; */
    /* bottom: 0; */
    background-color: var(--card-bg);
    padding: 1rem 0;
    z-index: 10;
    margin-bottom: 8rem;
    margin-top: auto; /* Push to the bottom of the flex container */
  }
  
  /* Ensure content area can scroll */
  .settings-grid-mock, 
  .roster-requirements-mock {
    overflow: visible;
  }

  .settings-header-buttons {
    gap: 0.6rem; /* Slightly reduce gap on medium screens */
  }
  
  .settings-header-save-button {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
  }
}
/* Small screens (mobile phones) */
@media screen and (max-width: 576px) {
  .settings-panel-mock {
    padding-top: 1rem;
    padding-bottom: 7rem;
  }
  
  /* Switch grid to single column */
  .settings-grid-mock {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  /* Adjust setting item spacing */
  .setting-item-mock {
    margin-bottom: 0.5rem;
  }
  
  /* Make the position requirements more compact */
  .position-requirements-mock {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  /* Adjust help tooltips */
  .settings-header-buttons {
    gap: 0.5rem;
  }
  
  .settings-header-save-button {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}
/* Very small screens - further adjustments */
@media screen and (max-width: 375px) {
  .settings-panel-mock {
    padding-top: 4rem; 
    padding-bottom: 4rem; /* Increase bottom padding for more scroll area */
  }
  
  /* Ensure the footer is always accessible */
  .settings-footer-mock {
    padding: 1rem 0.5rem;
    margin-bottom: 10rem;

  }
  
  /* Add extra spacing at the bottom */
  .roster-requirements-mock {
    margin-bottom: 2rem;
  }

  .settings-header-mock {
    flex-wrap: wrap;
    row-gap: 0.75rem;
  }
  
  .settings-header-mock h2 {
    width: 100%;
  }
  
  .settings-header-buttons {
    width: 100%;
    justify-content: space-between;
  }
}
/* Extra small screens */
@media screen and (max-width: 320px) {
  .settings-panel-mock {
    padding: 0.75rem;
  }
  
  .settings-header-mock h2 {
    font-size: 1.1rem;
  }
  
  /* Further reduce spacing */
  .setting-item-mock label {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
  }
  
  .setting-item-mock input,
  .setting-item-mock select {
    height: 2.25rem;
    font-size: 0.8rem;
  }
  
  .number-input-container {
    height: 2.25rem;
  }
  
  .number-input-container button {
    width: 2.25rem;
  }
  
  /* Make the pick mode toggle more compact */
  .pick-mode-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .settings-header-save-button {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
  }
  
  .settings-header-buttons {
    gap: 0.4rem;
  }
}
/* Smallest screens */
@media screen and (max-width: 320px) {
  .settings-panel-mock {
    padding-top: 1rem; /* Even less top padding on tiny screens */
    padding-bottom: 10rem;
  }
  
  .settings-header-mock h2 {
    font-size: 0.9rem;
  }
  
  .setting-item-mock label {
    font-size: 0.75rem;
  }
  
  .setting-item-mock input,
  .setting-item-mock select,
  .number-input-container input {
    font-size: 0.75rem;
  }
  
  .number-input-container button {
    font-size: 1rem;
  }
  
  /* Custom picks preview */
  .custom-picks-preview {
    font-size: 0.7rem;
  }
  
  /* Roster requirements */
  .roster-requirements-mock h3 {
    font-size: 0.9rem;
  }
  
  .position-label-mock {
    font-size: 0.75rem;
  }
  
  /* Help button */
  .help-button-mock {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  /* Further tighten spacing */
  .settings-grid-mock {
    gap: 0.5rem;
  }
}
/* ==================== UTILITY BUTTONS ==================== */
.settings-toggle-mock {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  transition: var(--transition);
}
.settings-toggle-mock:hover {
  background-color: var(--primary-hover);
  transform: rotate(30deg);
}
.settings-toggle-mock:disabled {
  background-color: var(--text-light);
  cursor: not-allowed;
}
.settings-toggle-mock svg {
  width: 1.25rem;
  height: 1.25rem;
}
.export-button-mock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var (--transition);
}
.export-button-mock:hover {
  background-color: #0284c7;
}
.export-button-mock:disabled {
  background-color: var(--text-light);
  cursor: not-allowed;
}
.export-button-mock svg {
  width: 1rem;
  height: 1rem;
}
/* Tutorial button */
.tutorial-button-mock {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f97316;
  color: white;
  border: none;
  border-radius: 50%;
  width: 2.8rem;
  height: 2.8rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
   /* Remove the extra margin to create consistent spacing */
  padding: 0;
  overflow: visible;
  position: relative;
  margin-left:px;
  animation: pulse 2s infinite;
}
.tutorial-button-mock:hover {
  background-color: #ea580c;
  transform: scale(1.05);
  animation: none;
}
.tutorial-button-mock svg {
  width: 65%;
  height: 65%;
  overflow: visible;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* Toggle button with question mark */
.toggle-button-mock {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}
.settings-header-mock h2 {
  border: none;
  margin-bottom: -5px;
}
.setting-header-mock{
  display:flex;
  justify-content: space-between;
}
/* Help button - Updated for better responsiveness across all screen sizes */
.help-button-mock {
  background: transparent;
  border: 2px solid var(--text-secondary);
  color: var(--text-secondary);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  padding: 0.25rem;
  box-sizing: border-box;
  overflow: visible;
  /* margin-bottom: 20px; */
  position: relative; /* Add position relative */
  z-index: 5; /* Ensure it stays above other elements */
  min-width: 1.75rem; /* Add min-width to prevent shrinking */
  min-height: 1.75rem; /* Add min-height to prevent shrinking */
}
.help-button-mock:hover {
  background-color: var(--background-color);
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.05); /* Slight scale on hover for better feedback */
}
.help-button-mock svg {
  width: 1.25rem;
  height: 1.25rem;
  min-width: 0.8rem; /* Ensure SVG doesn't get too small */
  min-height: 0.8rem; /* Ensure SVG doesn't get too small */
}
/* Add responsive styles for the help button */
@media screen and (max-width: 1200px) {
  .help-button-mock {
    width: 1.6rem;
    height: 1.6rem;
  }
  
  .help-button-mock svg {
    width: 1.1rem;
    height: 1.1rem;
  }
}
@media screen and (max-width: 768px) {
  .help-button-mock {
    width: 1.5rem;
    height: 1.5rem;
    /* margin-bottom: 15px; */
  }
  
  .help-button-mock svg {
    width: 1rem;
    height: 1rem;
  }
}
@media screen and (max-width: 576px) {
  .help-button-mock {
    width: 1.4rem;
    height: 1.4rem;
    margin-bottom: 10px;
  }
}
@media screen and (max-width: 480px) {
  .settings-header-mock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap; /* Prevent wrapping */
  }
  
  .settings-header-mock h2 {
    font-size: 1.1rem; /* Slightly smaller font size on small screens */
    margin-right: 0.5rem; /* Add some margin to prevent overlap */
    white-space: nowrap; /* Prevent wrapping */
  }
  
  .help-button-mock {
    width: 1.3rem;
    height: 1.3rem;
    min-width: 1.3rem; /* Ensure fixed width */
    min-height: 1.3rem; /* Ensure fixed height */
    margin-bottom: 10px;
    padding: 0.2rem;
  }
  
  .help-button-mock svg {
    width: 0.9rem;
    height: 0.9rem;
  }
}
@media screen and (max-width: 375px) {
  .help-button-mock {
    width: 1.2rem;
    height: 1.2rem;
    min-width: 1.2rem;
    min-height: 1.2rem;
    padding: 0.15rem;
    margin-left: 0.3rem; /* Add margin to prevent overlap */
  }
  
  .help-button-mock svg {
    width: 0.85rem;
    height: 0.85rem;
  }
}
@media screen and (max-width: 320px) {
  .help-button-mock {
    width: 1.1rem;
    height: 1.1rem;
    min-width: 1.1rem;
    min-height: 1.1rem;
    padding: 0.1rem;
  }
  
  .help-button-mock svg {
    width: 0.8rem;
    height: 0.8rem;
  }
  
  .settings-header-mock h2 {
    font-size: 1rem; /* Even smaller font on tiny screens */
  }
}
/* Make sure the settings header is properly structured */
.settings-header-mock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}
/* Add styles for the header buttons container */
.settings-header-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* Space between buttons */
}
/* Style for the header save button */
.settings-header-save-button {
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.settings-header-save-button:hover {
  background-color: var(--primary-hover);
}
/* Fix vertical alignment in header across screen sizes */
.setting-header-mock {
  display: flex;
  align-items: center; /* Ensure vertical centering */
  justify-content: space-between;
}
.settings-header-mock h2 {
  border: none;
  margin-bottom: -5px;
}
/* Help modal */
.help-modal-container {
  position: absolute;
  top: 200px;
  right: 30px;
  z-index: 2200;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  max-width: 350px;
  width: 100%;
  overflow: auto;
  height: 50vh;
  padding-bottom: 4rem;
}
.help-modal-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.help-modal-header h3 {
  font-size: 1rem;
  margin: 0;
  color: var(--text-primary);
}
.help-modal-content {
  /* padding: 1rem; */
  max-height: 400px;
  /* overflow-y: auto; */
  padding: 1rem 1rem 1rem 1rem;
  margin-bottom:2rem;
}
.help-section {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}
.help-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.help-section h4 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.help-section p {
  font-size: 0.8125rem;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.close-modal-button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
}
.close-modal-button:hover {
  background-color: var(--background-color);
  color: var(--text-primary);
}
.modal-overlay {
  display: none;
}
/* Help tooltip - Updated to center in settings panel */
.help-tooltip {
  position: absolute;
  z-index: 1200;
  top: 50%;
  right: 50%;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  width: 300px;
  padding: 1.25rem;
  animation: fadeIn 0.3s ease-in-out;
}
/* Centered tooltip positioning for all screen sizes */
.help-tooltip-draft-pick-mode {
  position: fixed;
  top: 50% !important;
  left: 68% !important;
  transform: translate(-50%, -50%) !important;
  margin-top: 0;
  width: 400px;
  max-width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 2300;
  pointer-events: auto; /* Explicitly ensure this tooltip remains interactive */
}
.draft-pick-mode-header {
  display: flex;
  justify-content: space-between;
}
.cpu-behavior-mode-header {
  display: flex;
  justify-content: space-between;
}
.help-tooltip-cpu-behavior {
  position: fixed;
  top: 50% !important;
  left:68% !important;
  transform: translate(-50%, -50%) !important;
  margin-top: 0;
  width: 400px;
  max-width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 2300;
  pointer-events: auto; /* Explicitly ensure this tooltip remains interactive */
}
/* Add overlay effect behind tooltips to make them stand out */
.help-tooltip-draft-pick-mode::after,
.help-tooltip-cpu-behavior::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: -1;
}
/* Remove the arrow for centered tooltips as it doesn't make sense with centered positioning */
.help-tooltip-draft-pick-mode::before,
.help-tooltip-cpu-behavior::before {
  display: none;
}
/* For smaller screens, adjust width for better fit */
@media screen and (max-width: 480px) {
  .help-tooltip-draft-pick-mode,
  .help-tooltip-cpu-behavior {
    width: 320px;
  }
}
/* Centered tooltip positioning for all screen sizes - ADDED */
@media screen and (max-width: 600px) {
  .help-tooltip,
  .help-tooltip-draft-pick-mode,
  .help-tooltip-cpu-behavior {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-width: 90vw;
    width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 2000;
  }
  
  /* Adjust content layout for better readability on small screens */
  .tooltip-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  /* Ensure tooltip headers and close buttons are always accessible */
  .draft-pick-mode-header,
  .cpu-behavior-mode-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* position: sticky; */
    top: 0;
    background-color: var(--card-bg);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    z-index: 1;
  }
  
  /* Darker semi-transparent overlay to make centered tooltips stand out better */
  .help-tooltip::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: -1;
  }
}
/* Additional adjustments for very small screens */
@media screen and (max-width: 350px) {
  .help-tooltip,
  .help-tooltip-draft-pick-mode,
  .help-tooltip-cpu-behavior {
    width: 95vw;
    padding: 1rem;
  }
  
  .tooltip-content h4 {
    font-size: 1rem;
  }
  
  .tooltip-content p {
    font-size: 0.875rem;
  }
}
/* Help tooltip - Original positioning for larger screens */
.help-tooltip-draft-pick-mode {
  top: 50%;  /* Adjust as needed */
  right: 50%;
  margin-top: 0.5rem;
  pointer-events: auto; /* Explicitly ensure this tooltip remains interactive */
}
.draft-pick-mode-header{
  display:flex;
  justify-content: space-between;
}
.cpu-behavior-mode-header{
  display:flex;
  justify-content: space-between;
}
.help-tooltip-cpu-behavior {
  top: 50%;  /* Adjust as needed */
  right: 20% !important;
  margin-top: 0.5rem;
  height: 20vh;
  overflow-y: auto;
  pointer-events: auto; /* Explicitly ensure this tooltip remains interactive */
}
.help-tooltip-draft-pick-mode::before,
.help-tooltip-cpu-behavior::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  width: 0;
  height: 0;
  border-left: 0.5rem solid transparent;
  border-right: 0.5rem solid transparent;
  border-bottom: 0.5rem solid var(--card-bg);
  z-index: 2200;
}
.help-tooltip::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  width: 0;
  height: 0;
  border-left: 0.5rem solid transparent;
  border-right: 0.5rem solid transparent;
  border-bottom: 0.5rem solid var(--card-bg);
  z-index: 2200;
}
.tooltip-content h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 600;
}
.tooltip-content p {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}
.close-tooltip {
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: block;
  text-align: center;
}
.close-tooltip:hover {
  background-color: var(--primary-hover);
}
/* ==================== MODALS ==================== */
/* Pick Selector Modal */
.pick-selector-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  z-index: 1000;
  padding: 2rem 0;
  overscroll-behavior: contain;
}
.pick-selector-modal {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  width: 90%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 6rem auto;
  position: relative;
  max-height: 85vh;
}
.pick-selector-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pick-selector-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}
.close-selector-button {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-secondary);
  border-radius: 50%;
  transition: var(--transition);
}
.close-selector-button:hover {
  background-color: var(--background-color);
  color: var(--text-primary);
}
.pick-selector-content {
  padding: 1.5rem;
  overflow-y: auto; /* Enable vertical scrolling */
  max-height: none;
  flex: 1;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  position: relative;
  scroll-behavior: auto;
}
.pick-selector-info {
  margin-bottom: 1.5rem;
}
.pick-selector-info p {
  margin: 0 0 0.75rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}
.pick-selector-summary {
  background-color: var(--background-color);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.clear-picks-button {
  background: transparent;
  border: none;
  color: var(--danger-color);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius-sm);
}
.clear-picks-button:hover {
  background-color: rgba(239, 68, 68, 0.1);
}
.clear-picks-button:disabled {
  color: var(--text-light);
  cursor: not-allowed;
}
.pick-selector-board-container {
  overflow-x: auto;
  margin-bottom: 1rem;
  overscroll-behavior: contain;
}
.pick-selector-board {
  display: flex;
  flex-direction: column;
}
.pick-selector-header-row {
  display: flex;
  border-bottom: 1px solid var(--border-color);
}
.pick-selector-header-cell {
  flex: 1;
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-right: 1px solid var (--border-color);
}
.pick-selector-header-cell:last-child {
  border-right: none;
}
.pick-selector-grid {
  display: flex;
  flex-direction: column;
}
.pick-selector-team-row {
  display: flex;
  border-bottom: 1px solid var(--border-color);
}
.pick-selector-team-row:last-child {
  border-bottom: none;
}
.pick-selector-cell {
  flex: 1;
  height: 4rem;
  padding: 0.5rem;
  border-right: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: var(--transition);
  pointer-events: auto;
}
.pick-selector-cell:last-child {
  border-right: none;
}
.pick-selector-cell:hover {
  background-color: rgba(79, 70, 229, 0.05);
}
.pick-selector-cell.selected {
  background-color: var(--primary-color);
  color: white;
}
.pick-selector-cell.selected:hover {
  background-color: var(--primary-hover);
}
.pick-selector-cell.hovered:not(.selected) {
  background-color: rgba(79, 70, 229, 0.1);
}
.pick-number {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.team-label {
  font-size: 0.75rem;
  opacity: 0.9;
}
.pick-selector-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
.cancel-button, 
.save-picks-button {
  padding: 0.625rem 1.25rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.cancel-button {
  background-color: var(--background-color);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.cancel-button:hover {
  background-color: var(--border-color);
}
.save-picks-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
}
.save-picks-button:hover {
  background-color: var(--primary-hover);
}
.save-picks-button:disabled {
  background-color: var(--text-light);
  cursor: not-allowed;
}
/* Compact Pick Grid */
.compact-pick-grid-container {
  width: 100%;
  margin-bottom: 1.5rem;
  overflow: visible;
  padding: 0.5rem;
}
.compact-pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
  gap: 0.5rem;
  max-height: 400px;
  width: 100%;
}
.compact-pick-cell {
  height: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  padding: 0.15rem;
  position: relative;
  background-color: var(--background-color);
}
.compact-pick-cell.selected {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}
.compact-pick-cell:hover {
  background-color: rgba(79, 70, 229, 0.1);
}
.compact-pick-cell.selected:hover {
  background-color: var(--primary-hover);
}
.compact-pick-cell.hovered:not(.selected) {
  background-color: rgba(79, 70, 229, 0.15);
}
.compact-pick-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
}
/* Team Needs Modal - Completely redesigned for compact view with 14 teams */
.team-needs-modal {
  max-width: 850px;
  max-height: 75vh;
  margin: 12vh auto;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  padding: 0.75rem;
  overflow: visible;
  display: flex;
  flex-direction: column;
  width: 90%;
}
.team-needs-modal h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border-color);
}
.team-needs-table-container {
  flex: 1;
  max-height: calc(75vh - 88px);
  overflow-y: auto;
}
.team-needs-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.75rem;
}
.team-needs-table th {
  position: sticky;
  top: 0;
  z-index: 10;
  text-align: center;
  padding: 0.25rem 0.1rem;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
}
.team-needs-table td {
  padding: 0.15rem 0.1rem;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.75rem;
}
/* Make the team column slightly wider */
.team-needs-table th:first-child,
.team-needs-table td:first-child {
  width: 65px;
  text-align: left;
  padding-left: 0.5rem;
}
/* Make position columns equal width */
.team-needs-table th:not(:first-child),
.team-needs-table td:not(:first-child) {
  width: calc((100% - 65px) / 4);
}
/* Alternate row colors for better readability */
.team-needs-table tbody tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}
/* Make the select boxes smaller */
.need-select {
  width: 2rem;
  height: 1.5rem;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background-color: var(--card-bg);
  font-size: 0.75rem;
  color: var(--text-primary);
  text-align: center;
  cursor: pointer;
}
.team-needs-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  gap: 0.5rem;
}
.randomize-needs-button {
  padding: 0.4rem 0.75rem;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.randomize-needs-button:hover {
  background-color: #0284c7;
}
.save-needs-button {
  padding: 0.4rem 0.75rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.save-needs-button:hover {
  background-color: var(--primary-hover);
}
/* Team Needs Modal - Header and Help Button */
.team-needs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.team-needs-header h3 {
  margin: 0;
}
.team-needs-help-button {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}
.team-needs-help-button:hover {
  background-color: var(--primary-hover);
  transform: scale(1.1);
}
/* Team Needs Help Box as Popup */
.team-needs-help-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-needs-help-content {
  background-color: var(--card-bg);
  border-radius: var (--border-radius);
  box-shadow: var(--shadow-xl);
  padding: 1.25rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  margin-top: 80px;
  padding-bottom: 100px;
  /* animation: fadeIn 0.2s ease-in-out; */
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.team-needs-help-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}
.team-needs-help-content p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  line-height: 1.4;
}
.team-needs-help-content ul {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
}
.team-needs-help-content li {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  line-height: 1.4;
}
.close-help-popup-button {
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.75rem;
  display: block;
  width: 100%;
}
.close-help-popup-button:hover {
  background-color: var(--primary-hover);
}
/* Team Needs Help Box */
.team-needs-help-box {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem;
  margin-bottom: 1rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.team-needs-help-box h4 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var (--primary-color);
}
.team-needs-help-box p {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.team-needs-help-box ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}
.team-needs-help-box li {
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}
.close-help-button {
  padding: 0.3rem 0.6rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.5rem;
}
.close-help-button:hover {
  background-color: var(--primary-hover);
}
/* Draft Recap Modal */
.draft-recap-modal {
  max-width: 800px;
  max-height: 80vh;
  margin-top: 150px;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Hide overflow on the container itself */
}
.draft-recap-header {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}
.draft-grade-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.draft-grade {
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2.8rem; /* Reduced from 3.5rem to prevent overflow */
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
}
.draft-grade-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.draft-recap-summary {
  flex: 1;
}
.recap-summary-text {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}
.draft-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}
.draft-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 0.5rem;
  background-color: var(--background-color);
  border-radius: var(--border-radius-sm);
  flex: 1;
}
.draft-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}
.draft-stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: center;
}
.draft-team-recap {
  margin-top: 1rem;
}
.draft-team-recap h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.draft-position-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-height: none; /* Remove any height restrictions */
}
.draft-position-group {
  background-color: var (--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.draft-position-group h5 {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  background-color: var(--background-color);
  color: var(--text-primary);
  margin: 0;
}
.draft-players-list {
  padding: 0.5rem;
  max-height: 18rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
}
/* Draft recap - player items */
.draft-player-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 0.5rem;
  color: white;
}
.draft-player-img {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  object-fit: cover;
}
.draft-player-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-right: 0.5rem;
}
.draft-player-name {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.draft-player-team {
  font-size: 0.75rem;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.25rem;
}
.draft-player-actions {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 0.375rem;
}
.draft-player-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
}
.draft-player-action-btn svg {
  width: 1rem;
  height: 1rem;
}
.draft-player-action-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.draft-player-action-btn.dashboard-btn:hover {
  background-color: rgba(16, 185, 129, 0.6);
}
.draft-player-action-btn.profile-btn:hover {
  background-color: rgba(59, 130, 246, 0.6);
}
.draft-player-action-btn.recruit-btn:hover {
  background-color: rgba(249, 115, 22, 0.6);
}
.draft-no-players {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--text-light);
  font-size: 0.875rem;
  font-style: italic;
}
.restart-draft-button,
.export-draft-button,
.share-draft-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.restart-draft-button {
  background-color: var(--danger-color);
  color: white;
  border: none;
}
.restart-draft-button:hover {
  background-color: #dc2626;
}
.export-draft-button {
  background-color: var(--secondary-color);
  color: white;
  border: none;
}
.export-draft-button:hover {
  background-color: #0284c7;
}
.share-draft-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
}
.share-draft-button:hover {
  background-color: var(--primary-hover);
}
.restart-draft-button svg,
.export-draft-button svg,
.share-draft-button svg {
  width: 1rem;
  height: 1rem;
}
/* Return to Draft Button */
.return-to-draft-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #4B9CD3; /* Changed to Carolina Blue */
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  z-index: 1000;
}
.return-to-draft-button:hover {
  background-color: #2E7AC2; /* Changed to darker Carolina Blue */
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.return-to-draft-button svg {
  width: 1.25rem;
  height: 1.25rem;
}
.return-to-draft-button.pulse {
  animation: pulse 2s infinite;
}
.toggle-box {
  line-height: 18px;
  gap: 10px;
}
/* Add pulsing animation for tutorial button */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.5);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
  }
}
/* Media query for smaller screens to adjust max height */
@media screen and (max-height: 700px) {
  .draft-recap-modal {
    max-height: 90vh; /* Increase height on smaller screens */
    margin-top: 5vh; /* Reduce top margin */
  }
  
  .draft-players-list {
    max-height: 12rem; /* Reduce the height of individual position lists */
  }
}
/* ==================== DARK THEME SUPPORT ==================== */
.dark-theme .setting-item-mock .number-input-container {
  background-color: var(--card-bg);
  border-color: var(--border-color);
}
.dark-theme .setting-item-mock .number-input-container button {
  background-color: rgba(255, 255, 255, 0.1);
  color: var (--text-primary);
}
.dark-theme .setting-item-mock .number-input-container button:hover {
  background-color: rgba(255, 255, 255, 0.15);
}
.dark-theme .setting-item-mock .number-input-container button:active {
  background-color: var(--primary-color);
}
.dark-theme .setting-item-mock .number-input-container input {
  color: var(--text-primary);
  background-color: var(--card-bg);
}
.dark-theme .position-filter-mock {
  color: white;
}
.dark-theme .help-modal {
  background-color: var(--card-bg);
}
.dark-theme .help-modal-header h3,
.dark-theme .help-section h4,
.dark-theme .tooltip-content h4 {
  color: var(--text-primary);
}
.dark-theme .help-section p,
.dark-theme .tooltip-content p {
  color: var(--text-secondary);
}
.dark-theme .help-tooltip {
  background-color: var(--card-bg);
  border-color: var(--border-color);
}
.dark-theme .help-modal-header,
.dark-theme .help-section {
  border-color: var(--border-color);
}
/* Add specific rule for the dashboard header title in dark mode */
.dark-theme .dashboard-header-mock h1 {
  color: white;
}
/* Add rule for history player names in dark mode */
.dark-theme .history-col-mock.player-name-mock-mock {
  color: white;
}
/* ==================== RESPONSIVE STYLES ==================== */
/* Dashboard header responsive */
@media screen and (max-width: 1130px) {
  .dashboard-header-mock {
    flex-direction: column;
    gap: 1.5rem;
    padding-top: .2rem;
  }
  
  .dashboard-header-mock h1 {
    position: relative;
    left: auto;
    transform: none;
    margin-bottom: 0.5rem;
  }
  
  .header-actions-mock {
    margin: 0 auto;
  }
  
  .header-left-mock {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  .dashboard-header-mock h1 {
    font-size: 1.8rem;
  }
}
@media screen and (max-width: 500px) {
  .dashboard-header-mock h1 {
    font-size: 1.5rem;
    padding: 0 10px;
  }
}
@media screen and (max-width: 400px) {
  .dashboard-header-mock h1 {
    font-size: 1.3rem;
    white-space: normal;
    width: 100%;
    text-align: center;
  }
  
  .dashboard-header-mock {
    padding: 1rem 0.3rem;
  }
}
@media screen and (max-width: 350px) {
  .dashboard-header-mock h1 {
    font-size: 2rem;
  }
}
/* Draft content responsive */
@media screen and (max-width: 1200px) {
  .draft-content-mock {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto 1fr;
  }

  .help-tooltip-draft-pick-mode {
    top: 50% !important;  /* Adjust as needed */
    right: 50% !important;
    margin-top: 0.5rem;
  }
  .help-tooltip-cpu-behavior {
    top: 50% !important;  /* Adjust as needed */
    right: 50% !important;
    margin-top: 0.5rem;
  }
  
  .draft-controls-mock {
    grid-column: 1;
    grid-row: 1;
  }
  
  .recommendation-panel-mock {
    grid-column: 2;
    grid-row: 1;
  }
  
  .team-summary-panel-mock {
    grid-column: 1;
    grid-row: 2;
  }
  
  .recent-picks-panel-mock {
    grid-column: 2;
    grid-row: 2;
  }
  
  .main-content-mock {
    grid-column: 1 / span 2;
    grid-row: 3;
  }
}
/* Adjust layout for screens below 1200px */
@media screen and (max-width: 1200px) {
  .grid-container-mock {
    /* Change to more row-oriented layout */
    grid-template-rows: auto auto auto auto auto;
  }
  
  
  /* Make draft board span full width */
  .draft-board-mock {
    grid-column: 1 / span 4;
    grid-row: 2 / 3;
    min-height: 500px; /* Ensure adequate height */
    max-height: none;
  }
  
  /* Move player tabs below draft board */
  .player-tabs-mock {
    grid-column: 1 / span 4;
    grid-row: 3 / 4;
    min-height: 400px; /* Ensure adequate height */
  }
  
  /* Adjust panels to span the full width in the bottom row */
  .recommendation-panel-mock,
  .team-summary-panel-mock,
  .recent-picks-panel-mock {
    grid-row: 4 / 5;
  }
  
  /* Prevent available players from being too tall */
  .available-players-mock {
    max-height: 300px;
  }
}
@media screen and (max-width: 768px) {
  
  .draft-content-mock {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto 1fr;
  }

  .help-tooltip-draft-pick-mode {
    top: 50% !important;  /* Adjust as needed */
    right: 20px !important;
    margin-top: 0.5rem;
  }
  .help-tooltip-cpu-behavior {
    top: 50% !important;  /* Adjust as needed */
    right: 10px !important;
    margin-top: 0.5rem;
  }
  
  .draft-controls-mock {
    grid-column: 1;
    grid-row: 1;
  }
  
  .recommendation-panel-mock {
    grid-column: 1;
    grid-row: 2;
  }
  
  .team-summary-panel-mock {
    grid-column: 1;
    grid-row: 3;
  }
  
  .recent-picks-panel-mock {
    grid-column: 1;
    grid-row: 4;
  }
  
  .main-content-mock {
    grid-column: 1;
    grid-row: 5;
    grid-template-columns: 1fr;
  }
  
  .help-modal-container {
    right: 40px;
    top: 250px;
    max-width: 300px;
  }
  
  .compact-pick-grid {
    grid-template-columns: repeat(auto-fill, minmax(35px, 1fr));
  }
  
  .compact-pick-cell {
    height: 1.4rem;
  }
  
  .compact-pick-label {
    font-size: 0.65rem;
  }
  
  .history-list-mock {
    min-width: 600px;
  }
  
  .history-scroll-container {
    margin: 0 -0.5rem;
    width: calc(100% + 1rem);
    border-left: none;
    border-right: none;
    border-radius: 0;
  }

  .draft-board-mock {
    max-height: 50vh;
  }
  
  .player-tabs-mock {
    max-height: calc(50vh + 100px); /* Increased by 100px as requested */
  }
  
  .available-players-mock {
    max-height: calc(50vh - 20px); /* Adjusted to account for the taller player tabs */
  }
  
  .roster-by-position-mock,
  .history-scroll-container {
    max-height: calc(50vh + 20px); /* Adjusted to account for the taller player tabs */
  }
}
@media screen and (max-width: 576px) {
  .compact-pick-grid {
    grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
  }

  .help-tooltip-draft-pick-mode {
    top: 245px;  /* Adjust as needed */
    right: 50px;
    margin-top: 0.5rem;
  }
  .help-tooltip-cpu-behavior {
    top: 50%;  /* Adjust as needed */
    right: 10px;
    margin-top: 0.5rem;
  }
  
  .compact-pick-cell {
    height: 1.25rem;
  }
  
  .compact-pick-label {
    font-size: 0.6rem;
  }

  .draft-grade {
    width: 4rem;
    height: 4rem;
    font-size: 2.2rem; /* Reduced from 2.5rem */
  }
}
@media screen and (max-width: 480px) {
  .help-modal-container {
    height: 40vh;
    right: 0px;
    top: 150px;
    max-width: calc(100% - 20px);
    overflow-y: auto;
  }
  
  .setting-item-mock .number-input-container button {
    width: 2.2rem;
  }
  
  .history-list-mock {
    min-width: 600px;
  }
}
@media screen and (max-width: 400px) {
  .draft-grade {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.8rem; /* Reduced from 2rem */
  }
  .help-tooltip-draft-pick-mode {
    width: 80%;
    margin-top: 0.5rem;
  }
  .help-tooltip-cpu-behavior {
    height: 30vh;
    top: 50%;
    right: 10px;
    margin-top: 0.5rem;
    /* overflow: auto; */
  }
}
@media screen and (max-width: 340px) {
  .draft-grade {
    width: 3rem;
    height: 3rem;
    font-size: 1.6rem; /* Reduced from 1.75rem */
  }
}
/* Large screens (1300px+) - Fixed height top row with fitting content */
@media screen and (min-width: 1300px) {
  /* Top row items - same height with no scrolling and fitting content */
  .draft-controls-mock,
  .recommendation-panel-mock,
  .team-summary-panel-mock,
  .recent-picks-panel-mock {
    height: 180px;
    min-height: 180px;
    max-height: 180px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  
  /* Draft Controls Panel - Enhanced layout adjustments for better fit */
  .draft-controls-mock {
    padding: 0.5rem 0.6rem;
    gap: 0.5rem;
    justify-content: space-between;
  }
  
  .draft-info-mock {
    flex-direction: row;
    gap: 0.3rem;
    margin-bottom: 0.3rem;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .draft-info-item-mock {
    padding: 0;
    flex: 1;
    min-width: calc(25% - 0.3rem);
    max-width: calc(25% - 0.3rem);
    height: 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .info-label-mock {
    font-size: 0.7rem;
    margin-bottom: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .info-value-mock {
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .progress-tracker-mock {
    gap: 0.15rem;
    margin-bottom: 0.3rem;
  }
  
  .progress-bar-mock {
    height: 0.35rem;
  }
  
  .progress-labels-mock {
    font-size: 0.65rem;
  }
  
  .draft-actions-mock {
    gap: 0.5rem;
    margin-bottom: 60px;
  }
  
  .action-button-mock {
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    min-height: 30px;
  }
  
  .action-button-mock svg {
    width: 0.9rem;
    height: 0.9rem;
  }
  
  /* Recommendation Panel - Content adjustment */
  .recommendation-panel-mock {
    padding: 0.3rem 0.7rem;
  }
  
  .recommendation-panel-mock h3 {
    margin: 0 0 0.2rem 0;
    font-size: 0.8rem;
    padding-bottom: 0.1rem;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
  }
  
  .recommended-player-mock {
    display: flex;
    flex-direction: column;
    height: calc(180px - 2.2rem); /* Account for panel padding and header */
  }
  
  .rec-player-header-mock {
    padding: 0.3rem 0.4rem;
    gap: 0.4rem;
    height: 40%;
    min-height: 0;
  }
  
  .rec-player-image-mock {
    width: 2rem;
    height: 2rem;
    border-width: 1px;
  }
  
  .rec-player-details-mock {
    gap: 0.15rem;
  }
  
  .rec-player-name-mock {
    font-size: 0.8rem;
    line-height: 1.1;
  }
  
  .rec-player-info-mock {
    font-size: 0.75rem;
    gap: 0.3rem;
  }
  
  .rec-player-rank-mock {
    font-size: 0.65rem;
    margin-top: -0.2rem; /* Slightly less negative margin for compact view */
  }
  
  .rec-reason-mock {
    padding: 0.3rem 0.4rem;
    font-size: 0.75rem;
    line-height: 1.1;
    height: 30%;
    display: flex;
    align-items: center;
  }
  
  .rec-reason-mock p {
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  
  .draft-rec-button-mock {
    padding: 0.3rem 0;
    font-size: 0.75rem;
    height: 30%;
    margin-top: auto;
  }
  
  /* Team Summary Panel - Complete redesign for better fit */
  .team-summary-panel-mock {
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    height: 180px;
  }
  
  .team-summary-panel-mock h3 {
    margin: 0 0 0.2rem 0;
    font-size: 0.8rem;
    padding-bottom: 0.1rem;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
  }
  
  /* Team positions - explicitly create a 2×2 grid layout */
  .team-positions-mock {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 0rem;
    margin-bottom: 0.1rem;
    flex-shrink: 0;
  }
  
  /* Explicitly place each position in the grid */
  .team-position-count-mock:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  
  .team-position-count-mock:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
  
  .team-position-count-mock:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }
  
  .team-position-count-mock:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }
  
  .team-position-count-mock {
    display: grid;
    grid-row: 1;
    position: relative; /* Ensure proper positioning */
    z-index: 1; /* Ensure proper z-index */
    min-width: 40px; /* Ensure minimum width */
    margin: 0 4px; /* Add some horizontal margin */
  }
  
  .position-count-mock {
    font-size: 0.65rem;
    min-width: 8px;
    margin-right: 2px;
    grid-column: 3;
    grid-row: 1;
  }
  
  .position-total-mock {
    display: none; /* Hide to save space */
  }
  
  /* Position Badge */
  .position-badge-mock {
    font-size: 0.6rem; /* Even smaller for compact view */
    padding: 0.05rem 0.1rem;
    min-width: 18px;
    display: flex;
    justify-content: center;
    grid-column: 1;
    grid-row: 1;
  }
  
  /* Team needs - simplified for space efficiency */
  .team-needs-mock {
    margin-bottom: 0.2rem;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 100px; /* Increased from 85px */
  }
  
  .team-needs-mock h4 {
    font-size: 0.7rem; /* Increased from 0.65rem */
    margin-bottom: 0.2rem; /* Increased from 0.1rem */
    flex-shrink: 0;
  }
  
  .needs-list-mock {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.2rem; /* Increased from 0.1rem */
    overflow-y: auto;
    padding-right: 0.1rem;
    max-height: 75px; /* Added explicit max-height */
  }
  
  .need-item-mock {
    font-size: 0.55rem; /* Increased from 0.6rem */
    padding: 0.15rem 0.2rem; /* Increased from 0.1rem 0.15rem */
    line-height: 1.2; /* Increased from 1 */
    min-height: 0;
    height: auto;
  }
  
  .need-item-mock.completed-mock {
    grid-column: span 2;
    padding: 0.15rem; /* Increased from 0.1rem */
  }
  
  /* View team button - adjust for new spacing */
  .view-team-button-mock {
    margin-top: 0.15rem; /* Increased from 0.1rem */
  }
  
  /* Recent Picks Panel - Content adjustment for better fit */
  .recent-picks-panel-mock {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
  }
  
  .recent-picks-panel-mock h3 {
    margin-bottom: 0.15rem;
    font-size: 0.85rem;
    padding-bottom: 0.1rem;
    border-bottom-width: 1px;
    flex-shrink: 0;
  }
  
  .recent-picks-list-mock {
    gap: 0.15rem;
    margin-bottom: 0.25rem;
    overflow-y: auto;
    flex: 1;
    max-height: 125px; /* Allocate most of the space for the list */
  }
  
  .recent-pick-mock {
    padding: 0.15rem 0.25rem;
    min-height: 0;
  }
  
  .recent-pick-number-mock {
    min-width: 1.75rem; /* Slightly smaller fixed width for larger screens */
    font-size: 0.7rem;
  }
  
  .recent-pick-player-mock {
    font-size: 0.65rem; /* Reduced from 0.7rem */
    line-height: 1.1;
  }
  
  .recent-pick-meta-mock {
    font-size: 0.6rem; /* Reduced from 0.65rem */
  }
  
  .no-picks-mock {
    font-size: 0.75rem;
    padding: 0.5rem;
  }
  
  .view-history-button-mock {
    padding: 0.2rem 0;
    font-size: 0.7rem;
    margin-top: 0.15rem;
    height: 22px;
    flex-shrink: 0;
  }

  /* Fix for view history button on large screens */
  .recent-picks-panel-mock .view-history-button-mock {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0.5rem 0 !important;
    margin-top: 0.75rem !important;
  }
}
/* Dashboard header responsive */
@media screen and (max-width: 1300px) {
  /* Adjust the grid container to allow scrolling */
  .grid-container-mock {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto auto; /* Changed to just 3 rows */
    gap: 12px;
    height: auto; /* Remove fixed height to allow scrolling */
    min-height: 800px; /* Add min-height instead */
    overflow: visible; /* Allow content to be visible and page to scroll */
  }
  
  /* Draft controls span full width in the first row */
  .draft-controls-mock {
    grid-column: 1 / span 4;
    grid-row: 1 / 2;
    width: 100%;
    max-height: 220px; /* Set a maximum height to prevent overflow */
    overflow-y: auto; /* Add vertical scrolling if needed */
    padding: 0.75rem;
  }
  
  /* Make draft info display more compactly in a row */
  .draft-info-mock {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
  }
  
  .draft-info-item-mock {
    min-width: 110px;
    flex: 1;
  }
  
  .info-value-mock {
    font-size: 1.5rem; /* Smaller font size */
  }
  
  .info-label-mock {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
  }
  
  /* Make progress tracker more compact */
  .progress-tracker-mock {
    margin: 0.25rem 0;
    gap: 0.25rem;
  }
  
  /* Make action buttons more compact */
  .draft-actions-mock {
    margin-top: 0.5rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: space-around; /* Distribute space evenly */
  }
  
  .action-button-mock {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    flex-grow: 0; /* Don't let buttons expand to fill space */
    min-width: 100px;
  }
  
  .action-button-mock svg {
    width: 1rem;
    height: 1rem;
  }
  
  /* Main content in the second row */
  .draft-board-mock {
    grid-column: 1 / span 3;
    grid-row: 2 / 3;
  }
  
  .player-tabs-mock {
    grid-column: 4 / span 1;
    grid-row: 2 / 3;
  }
  
  /* Three panels in the third row, each taking up 1/3 width */
  .recommendation-panel-mock,
  .team-summary-panel-mock,
  .recent-picks-panel-mock {
    grid-row: 3 / 4;
    max-height: none; /* Remove the max-height restriction */
  }
  
  .recommendation-panel-mock {
    grid-column: 1 / span 1;
  }
  
  .team-summary-panel-mock {
    grid-column: 2 / span 1;
  }
  
  .recent-picks-panel-mock {
    grid-column: 3 / span 2;
  }
  
  /* Adjust the dashboard container to allow scrolling */
  .dashboard-container-mock {
    height: auto;
    overflow: visible;
    padding-bottom: 2rem; /* Add some padding at the bottom */
  }
}
/* Adjust layout for medium screens */
@media screen and (max-width: 1200px) {
  /* Further compact the draft info items */
  .draft-info-mock {
    justify-content: center;
  }
  
  .draft-info-item-mock {
    min-width: 100px;
    flex-basis: calc(50% - 0.75rem);
    margin-bottom: 0.5rem;
  }
  
  .info-value-mock {
    font-size: 1.4rem; /* Even smaller font on medium screens */
  }
  
  /* Make the action buttons smaller and better distributed */
  .action-button-mock {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
    min-width: 90px; /* Slightly smaller minimum width */
  }
  
  .action-button-mock svg {
    width: 0.9rem;
    height: 0.9rem;
  }
  
  /* Switch to stacked layout for smaller screens */
  .grid-container-mock {
    grid-template-columns: 1fr;
  }
  
  .draft-controls-mock {
    grid-column: 1;
    max-height: 250px; /* Slightly taller to accommodate the stacked layout */
  }
  
  .draft-board-mock {
    grid-column: 1;
    grid-row: 2;
  }
  
  .player-tabs-mock {
    grid-column: 1;
    grid-row: 3;
  }
  
  .recommendation-panel-mock {
    grid-column: 1;
    grid-row: 4;
  }
  
  .team-summary-panel-mock {
    grid-column: 1;
    grid-row: 5;
  }
  
  .recent-picks-panel-mock {
    grid-column: 1;
    grid-row: 6;
  }
  .draft-controls-mock {
    gap: 0.3rem;
  }
}
/* Adjust layout for smaller screens */
@media screen and (max-width: 600px) {
  /* Return to fully vertical layout for draft controls */
  .draft-info-mock {
    flex-direction: column;
    gap: 0.2rem;
  }
  
  .draft-info-item-mock {
    flex-basis: 100%;
    margin-bottom: 0.3rem;
  }
  
  .info-label-mock {
    font-size: 0.7rem;
    margin-bottom: 0.15rem;
  }
  
  .info-value-mock {
    font-size: 1.2rem;
  }
  
  .progress-tracker-mock {
    margin: 0.2rem 0;
  }
  
  .draft-actions-mock {
    flex-direction: column;
    gap: 0.2rem;
  }
  
  .action-button-mock {
    width: 100%;
  }

  /* Make draft controls more compact and vertical */
  .draft-controls-mock {
    padding: 0.6rem 0.5rem;
    gap: 0.3rem;
    max-height: none; /* Remove max height constraint to prevent overflow */
    overflow-y: visible; /* Change to visible */
  }
  
  /* Force draft info to be in a grid layout with 2 items per row */
  .draft-info-mock {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem;
    margin-bottom: 0.3rem;
  }
  
  /* Make each info item more compact */
  .draft-info-item-mock {
    text-align: center;
    min-width: 0;
    margin-bottom: 0;
  }
  
  /* Reduce label and value font sizes */
  .info-label-mock {
    font-size: 0.7rem;
    margin-bottom: 0.15rem;
  }
  
  .info-value-mock {
    font-size: 1.2rem;
    line-height: 1.1;
  }
  
  /* Make progress tracker more compact */
  .progress-tracker-mock {
    gap: 0.2rem;
    margin: 0.2rem 0 0.3rem 0;
  }
  
  .progress-bar-mock {
    height: 0.3rem;
  }
  
  .progress-labels-mock {
    font-size: 0.65rem;
  }
  
  /* Make action buttons wrap and be more compact */
  .draft-actions-mock {
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: center;
  }
  
  .action-button-mock {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
    flex: 1 1 calc(50% - 0.3rem); /* Two buttons per row */
    min-height: 2rem;
  }
  
  .action-button-mock svg {
    width: 0.8rem;
    height: 0.8rem;
  }
}
/* Extra small screens */
@media screen and (max-width: 375px) {
  /* Further reduce sizes */
  .draft-controls-mock {
    padding: 0.4rem 0.3rem;
  }
  
  .info-label-mock {
    font-size: 0.65rem;
  }
  
  .info-value-mock {
    font-size: 1rem;
  }
  
  /* Stack action buttons in a single column */
  .action-button-mock {
    flex: 1 1 100%;
    padding: 0.35rem 0.5rem;
    margin-bottom: 0.2rem;
  }
  
  /* Hide icons in buttons on very small screens to save space */
  .action-button-mock svg {
    display: none;
  }
}
/* Specific fix for button overflow between 374px and 370px */
@media screen and (min-width: 368px) and (max-width: 375px) {
  .draft-controls-mock {
    padding: 0.4rem 0.25rem;
  }
  
  .action-button-mock {
    padding: 0.35rem 0.3rem;
    font-size: 0.7rem;
    flex: 0 1 calc(50% - 0.2rem); /* Use flex-basis but don't allow growth */
    min-width: 0;
    max-width: calc(50% - 0.2rem); /* Enforce maximum width */
    margin-bottom: 0.2rem;
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .draft-actions-mock {
    gap: 0.2rem; /* Reduce gap between buttons */
    justify-content: space-between; /* Space buttons evenly */
  }
  
  .action-button-mock svg {
    width: 0.7rem;
    height: 0.7rem;
    min-width: 0.7rem;
  }
}
/* Further optimize for very small screens */
@media screen and (max-width: 370px) {
  .draft-controls-mock {
    padding: 0.4rem 0.3rem;
  }
  
  .info-label-mock {
    font-size: 0.65rem;
  }
  
  .info-value-mock {
    font-size: 1rem;
  }
  
  /* Further compress action buttons */
  .action-button-mock {
    padding: 0.35rem 0.3rem;
    font-size: 0.7rem;
    flex: 1 1 calc(50% - 0.3rem);
    min-width: 0;
    max-width: calc(50% - 0.3rem);
    margin-bottom: 0.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    text-align: center;
    line-height: 1.1;
    word-break: break-word;
    overflow: hidden;
    white-space: nowrap;
  }
  
  .action-button-mock svg {
    width: 0.7rem;
    height: 0.7rem;
    min-width: 0.7rem;
  }

  /* Make board slots more compact */
  .board-slot-mock {
    min-height: 3.5rem;
    width: 140px; /* Allow slots to be narrower */
  }
  
  .board-slot-mock:not(.picked-mock) {
    padding: 0.25rem; /* Smaller padding for empty slots */
  }
  
  /* Adjust the picked player layout to be more compact */
  .picked-player-mock {
    padding: 0.4rem 0.25rem 0.25rem 0.25rem;
    gap: 0.25rem;
  }
  
  /* Make player images smaller */
  .picked-player-mock img {
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem; /* Ensure image doesn't grow */
  }
  
  /* Reduce text sizes and make them more compact */
  .player-info-mock {
    min-width: 0; /* Allow text container to shrink */
    padding-right: 0.1rem;
  }
  
  .player-name-mock-mock {
    font-size: 0.7rem;
    margin-bottom: 0;
  }
  
  .player-pos-mock {
    font-size: 0.65rem;
  }
  
  /* Adjust pick number position/size */
  .pick-number-mock {
    font-size: 0.6rem;
    padding: 0.05rem 0.2rem;
  }
  
  /* Reduce the gap between grid items */
  .board-grid-mock {
    gap: 0.2rem;
  }
  
  /* Improve scrolling on small screens */
  .draft-board-scroll-container {
    padding-bottom: 0.5rem;
  }
}
@media screen and (max-width: 320px) {
  .draft-info-mock {
    grid-template-columns: 1fr;
  }
  
  .action-button-mock {
    padding: 0.25rem;
    font-size: 0.65rem;
    line-height: 1;
  }
  
  .action-button-mock svg {
    display: none;
  }
}
/* Add responsive styles for player tabs and draft board */
@media screen and (max-width: 1300px) {
  /* Make draft board properly scrollable with fixed height */
  .draft-board-mock {
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  
  .draft-board-scroll-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
  }
  
  /* Make player tabs properly scrollable with fixed height */
  .player-tabs-mock {
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  
  /* Make each tab view scrollable */
  .available-players-tab-mock,
  .your-roster-tab-mock,
  .draft-history-tab-mock {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  
  /* Make the available players section scrollable */
  .available-players-mock {
    flex: 1;
    overflow-y: auto;
    max-height: calc(60vh - 120px); /* Subtract header and filter heights */
  }
  
  /* Make roster view scrollable */
  .roster-by-position-mock {
    flex: 1;
    overflow-y: auto;
    max-height: calc(60vh - 80px); /* Subtract header height */
  }
  
  /* Make history view scrollable */
  .history-scroll-container {
    flex: 1;
    overflow-y: auto;
    max-height: calc(60vh - 80px); /* Subtract header height */
  }
}
/* For smaller screens, reduce the max-height to maintain proportions */
@media screen and (max-width: 768px) {
 
  .draft-board-mock {
    max-height: 50vh;
  }
  
  .player-tabs-mock {
    max-height: calc(50vh + 100px); /* Increased by 100px as requested */
  }
  
  .available-players-mock {
    max-height: calc(50vh - 20px); /* Adjusted to account for the taller player tabs */
  }
  
  .roster-by-position-mock,
  .history-scroll-container {
    max-height: calc(50vh + 20px); /* Adjusted to account for the taller player tabs */
  }
}
/* For smaller screens, reduce the max-height to maintain proportions */
@media screen and (max-width: 768px) {
  .draft-board-mock {
    max-height: 50vh;
  }
  
  .player-tabs-mock {
    max-height: calc(50vh + 100px); /* Increased by 100px as requested */
  }
  
  .available-players-mock {
    max-height: calc(50vh - 20px); /* Adjusted to account for the taller player tabs */
  }
  
  .roster-by-position-mock,
  .history-scroll-container {
    max-height: calc(50vh + 20px); /* Adjusted to account for the taller player tabs */
  }
}
/* For smaller screens, reduce the max-height to maintain proportions */
@media screen and (max-width: 768px) {
  .draft-board-mock {
    max-height: 50vh;
  }
  
  .player-tabs-mock {
    max-height: calc(50vh + 100px); /* Increased by 100px as requested */
  }
  
  .available-players-mock {
    max-height: calc(50vh - 20px); /* Adjusted to account for the taller player tabs */
  }
  
  .roster-by-position-mock,
  .history-scroll-container {
    max-height: calc(50vh + 20px); /* Adjusted to account for the taller player tabs */
  }
}
/* For smaller screens, reduce the max-height to maintain proportions */
@media screen and (max-width: 768px) {
  .draft-board-mock {
    max-height: 50vh;
  }
  
  .player-tabs-mock {
    max-height: calc(50vh + 100px); /* Increased by 100px as requested */
  }
  
  .available-players-mock {
    max-height: calc(50vh - 20px); /* Adjusted to account for the taller player tabs */
  }
  
  .roster-by-position-mock,
  .history-scroll-container {
    max-height: calc(50vh + 20px); /* Adjusted to account for the taller player tabs */
  }
}
/* For smaller screens, reduce the max-height to maintain proportions */
@media screen and (max-width: 768px) {
  .draft-board-mock {
    max-height: 50vh;
  }
  
  .player-tabs-mock {
    max-height: calc(50vh + 100px); /* Increased by 100px as requested */
  }
  
  .available-players-mock {
    max-height: calc(50vh - 20px); /* Adjusted to account for the taller player tabs */
  }
  
  .roster-by-position-mock,
  .history-scroll-container {
    max-height: calc(50vh + 20px); /* Adjusted to account for the taller player tabs */
  }
}
/* For smaller screens, reduce the max-height to maintain proportions */
@media screen and (max-width: 768px) {
  .draft-board-mock {
    max-height: 50vh;
  }
  
  .player-tabs-mock {
    max-height: calc(50vh + 100px); /* Increased by 100px as requested */
  }
  
  .available-players-mock {
    max-height: calc(50vh - 20px); /* Adjusted to account for the taller player tabs */
  }
  
  .roster-by-position-mock,
  .history-scroll-container {
    max-height: calc(50vh + 20px); /* Adjusted to account for the taller player tabs */
  }
}
/* For smaller screens, reduce the max-height to maintain proportions */
@media screen and (max-width: 768px) {
  .draft-board-mock {
    max-height: 50vh;
  }
  
  .player-tabs-mock {
    max-height: calc(50vh + 100px); /* Increased by 100px as requested */
  }
  
  .available-players-mock {
    max-height: calc(50vh - 20px); /* Adjusted to account for the taller player tabs */
  }
  
  .roster-by-position-mock,
  .history-scroll-container {
    max-height: calc(50vh + 20px); /* Adjusted to account for the taller player tabs */
  }
}
/* For smaller screens, reduce the max-height to maintain proportions */
@media screen and (max-width: 768px) {
  .draft-board-mock {
    max-height: 50vh;
  }
  
  .player-tabs-mock {
    max-height: calc(50vh + 100px); /* Increased by 100px as requested */
  }
  
  .available-players-mock {
    max-height: calc(50vh - 20px); /* Adjusted to account for the taller player tabs */
  }
  
  .roster-by-position-mock,
  .history-scroll-container {
    max-height: calc(50vh + 20px); /* Adjusted to account for the taller player tabs */
  }
}
/* For smaller screens, reduce the max-height to maintain proportions */
@media screen and (max-width: 768px) {
  .draft-board-mock {
    max-height: 50vh;
  }
  
  .player-tabs-mock {
    max-height: calc(50vh + 100px); /* Increased by 100px as requested */
  }
  
  .available-players-mock {
    max-height: calc(50vh - 20px); /* Adjusted to account for the taller player tabs */
  }
  
  .roster-by-position-mock,
  .history-scroll-container {
    max-height: calc(50vh + 20px); /* Adjusted to account for the taller player tabs */
  }
}
/* For smaller screens, reduce the max-height to maintain proportions */
@media screen and (max-width: 768px) {
  .draft-board-mock {
    max-height: 50vh;
  }
  
  .player-tabs-mock {
    max-height: calc(50vh + 100px); /* Increased by 100px as requested */
  }
  
  .available-players-mock {
    max-height: calc(50vh - 20px); /* Adjusted to account for the taller player tabs */
  }
  
  .roster-by-position-mock,
  .history-scroll-container {
    max-height: calc(50vh + 20px); /* Adjusted to account for the taller player tabs */
  }
}
/* For smaller screens, reduce the max-height to maintain proportions */
@media screen and (max-width: 768px) {
  .draft-board-mock {
    max-height: 50vh;
  }
  
  .player-tabs-mock {
    max-height: calc(50vh + 100px); /* Increased by 100px as requested */
  }
  
  .available-players-mock {
    max-height: calc(50vh - 20px); /* Adjusted to account for the taller player tabs */
  }
  
  .roster-by-position-mock,
  .history-scroll-container {
    max-height: calc(50vh + 20px); /* Adjusted to account for the taller player tabs */
  }
}
/* Add styles for stacking header actions vertically on small screens */
@media screen and (max-width: 500px) {
  .header-actions-mock {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
  }
  
  /* Only apply full width to rectangular buttons */
  .header-actions-mock .export-button-mock,
  .header-actions-mock .view-recap-button {
    width: 100%;
    max-width: 200px;
    margin: 0;
  }
  
  /* Keep circular buttons round by maintaining equal width and height */
  .header-actions-mock .tutorial-button-mock,
  .header-actions-mock .settings-toggle-mock {
    /* Keep original dimensions */
    width: 2.8rem;
    height: 2.8rem;
    margin: 0;
    /* Ensure they stay centered */
    align-self: center;
  }
  
  /* Keep settings toggle as originally sized */
  .header-actions-mock .settings-toggle-mock {
    width: 2.5rem;
    height: 2.5rem;
  }
}
/* Media query for screens under 850px - Draft Recap Player Items */
@media screen and (max-width: 850px) {
  .draft-player-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
  }
  
  .draft-player-img {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.25rem;
  }
  
  .draft-player-info {
    margin-right: 0;
    align-items: center;
    width: 100%;
  }
  
  .draft-player-name, 
  .draft-player-team {
    max-width: 100%;
    text-align: center;
  }
  
  .draft-player-actions {
    margin-left: 0;
    margin-top: 0.5rem;
    justify-content: center;
  }
}
/* Add responsive adjustments for different screen sizes */
@media screen and (max-width: 1200px) {
  .dashboard-container-mock {
    width: 98%;  /* Even wider on smaller screens */
    margin: 1.5rem auto;
    padding: 0 0.25rem;
  }
}
@media screen and (max-width: 768px) {
  .dashboard-container-mock {
    width: 99%;  /* Almost full width on mobile */
    margin: 1rem auto;
    padding: 0;
  }
  
  .grid-container-mock {
    gap: 8px;  /* Reduce gap on smaller screens */
    padding: 8px;  /* Reduce padding on smaller screens */
  }
}
@media screen and (max-width: 480px) {
  .dashboard-container-mock {
    width: 100%;  /* Full width on very small screens */
    margin: 0.5rem auto;
  }
  
  .grid-container-mock {
    gap: 6px;  /* Minimize gap on very small screens */
    padding: 6px;  /* Minimize padding on very small screens */
  }
  
  .dashboard-header-mock {
    padding: 0.75rem 0.5rem;  /* Reduce header padding */
  }
}
/* Add specific media queries for help tooltips on very small screens */
@media screen and (max-width: 320px) {
  .help-tooltip {
    max-width: 85%;
    width: 85%;
    left: 7.5%; /* Center the tooltip better on small screens */
    right: auto;
    padding: 0.5rem;
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .help-tooltip-draft-pick-mode,
  .help-tooltip-cpu-behavior {
    position: fixed;
    top: 50% !important;
    right: 0;
    transform: translate(-50%, -50%);
    margin-top: 0;
    z-index: 3000;
  }

  .tooltip-content h4 {
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
  }

  .tooltip-content p {
    font-size: 0.75rem;
    margin-bottom: 0.35rem;
  }

  .close-tooltip {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    margin-top: 0.35rem;
  }
}
/* Import Settings Panel */
.import-settings-panel {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin: 0 auto 1.5rem;
  width: 96%;
  max-width: 1200px;
  position: relative;
  animation: slideInDown 0.3s ease-out;
}
@keyframes slideInDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.import-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}
.import-settings-header h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 0;
}
.close-import-settings {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-secondary);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}
.close-import-settings:hover {
  background-color: var(--background-color);
  color: var(--text-primary);
}
.import-settings-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 1rem;
}
.import-setting-item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background-color: var(--background-color);
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}
.import-setting-item:hover {
  background-color: rgba(79, 70, 229, 0.05);
}
.import-setting-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  position: relative;
}
.import-setting-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.toggle-slider {
  position: relative;
  display: inline-block;
  width: 3rem;
  height: 1.5rem;
  background-color: var(--border-color);
  border-radius: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 1.1rem;
  width: 1.1rem;
  left: 0.2rem;
  bottom: 0.2rem;
  background-color: white;
  border-radius: 50%;
  transition: var(--transition);
}
.import-setting-toggle input:checked + .toggle-slider {
  background-color: var(--primary-color);
}
.import-setting-toggle input:checked + .toggle-slider:before {
  transform: translateX(1.5rem);
}
.toggle-label-mock {
  font-family: arial;
  font-weight: bolder;
  margin-top: 5px;
  font-size: .8rem;
  color: var(--text-primary);
  line-height: 1.4;
  width: 90%;
}
/* Add these styles to your CSS file */
.user-priority-display-draft {
  font-size: 0.8rem;
  margin-top: 5px;
}
.user-priorities-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}
.priorities-label {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-bottom: 2px;
}
.priorities-empty {
  font-size: 0.75rem;
  opacity: 0.7;
  font-style: italic;
}
.priority-badge {
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  text-align: center;
  color: white;
  margin-right: 3px;
}
/* If these color classes aren't already defined elsewhere */
.priority-very-high {
  background-color: #ef4444;
}
.priority-high {
  background-color: #f97316;
}
.priority-medium {
  background-color: #eab308;
}
.priority-low {
  background-color: #6b7280;
}
.import-settings-footer {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}
.apply-import-settings {
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.apply-import-settings:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}
.empty-slot-flex-conatiner{
  display: flex;
  flex-direction: column;
}
/* Dark theme support for import settings */
.dark-theme .import-settings-panel {
  background-color: var(--card-bg);
}
.dark-theme .import-setting-item {
  background-color: rgba(255, 255, 255, 0.05);
}
.dark-theme .import-setting-item:hover {
  background-color: rgba(79, 70, 229, 0.1);
}
.dark-theme .toggle-slider {
  background-color: var(--border-color);
}
.dark-theme .toggle-slider:before {
  background-color: var(--card-bg);
}
/* Responsive adjustments for import settings panel */
@media screen and (max-width: 768px) {
  .import-settings-panel {
    padding: 1.25rem;
    width: 98%;
  }
  
  .import-settings-content {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .import-settings-header h3 {
    font-size: 1.1rem;
  }
  
  .close-import-settings {
    font-size: 1.25rem;
    width: 1.75rem;
    height: 1.75rem;
  }
  
  .import-setting-item {
    padding: 0.5rem;
  }
  
  .apply-import-settings {
    padding: 0.6rem 1.25rem;
    font-size: 0.8rem;
  }
}
@media screen and (max-width: 480px) {
  .import-settings-panel {
    padding: 1rem;
    width: 100%;
    border-radius: 0;
  }
  
  .import-settings-header h3 {
    font-size: 1rem;
  }
  
  .toggle-label-mock {
    font-size: 0.8rem;
  }
  
  .toggle-slider {
    width: 2.5rem;
    height: 1.25rem;
    margin-right: 0.75rem;
  }
  
  .toggle-slider:before {
    height: 0.9rem;
    width: 0.9rem;
    left: 0.175rem;
    bottom: 0.175rem;
  }
  
  .import-setting-toggle input:checked + .toggle-slider:before {
    transform: translateX(1.25rem);
  }
  
  .apply-import-settings {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    width: 100%;
  }
  
  .import-settings-footer {
    margin-top: 1rem;
  }
}
/* Styles for team priorities display */
.team-priorities-display {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px;
  margin-top: 4px;
  padding: 3px;
  max-width: 100%;
}
.recommended-flex-header{
  display:flex;
  justify-content: space-between;
}
.priority-item {
  display: inline-flex;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}
.priority-badge {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.priority-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}
.empty-slot-flex-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.team-priority-slot-display {
  width: 100%;
  min-height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3px;
}
/* Priority score colors - these match the getColorForScore function */
.priority-score-high {
  background-color: #d32f2f; /* High priority - red */
  color: white;
}
.priority-score-medium {
  background-color: #ff9800; /* Medium priority - orange */
  color: white;
}
.priority-score-low-medium {
  background-color: #ffeb3b; /* Low-medium priority - yellow */
  color: black;
}
.priority-score-low {
  background-color: #8bc34a; /* Low priority - green */
  color: black;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Updated styling for the draft board slots to accommodate priorities */
.board-slot-mock {
  /* ...existing code... */
  position: relative;
  transition: transform 0.2s ease;
}
.board-slot-mock:hover {
  transform: scale(1.02);
  z-index: 2;
}
.empty-slot-mock {
  /* ...existing code... */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* Style for the team priority not found message */
.priority-not-found {
  font-size: 0.65rem;
  padding: 0.2rem 0.3rem;
  color: var(--text-secondary);
  font-style: italic;
  background-color: var(--background-color);
  border-radius: 3px;
  white-space: nowrap;
}:root {
  /* Main color scheme */
  --color-background-primary: rgba(0, 0, 0,);
  --color-background-secondary: rgba(0, 0, 0);
  --color-background-tertiary: rgba(0, 0, 0, 0.0);
  --color-background-accent: rgba(0, 0, 0, 0.5);
  --color-background-light: rgba(255, 255, 255, 0.1);
  --color-background-lighter: rgba(255, 255, 255, 0.15);
  --color-background-lightest: rgba(255, 255, 255, 0.2);
  
  /* Text colors */
  --color-text-primary: #fff;
  --color-text-secondary: rgba(255, 255, 255, 0.8);
  --color-text-tertiary: rgba(255, 255, 255, 0.6);
  
  /* Border colors */
  --color-border-light: rgba(255, 255, 255, 0.1);
  --color-border-medium: rgba(255, 255, 255, 0.2);
  
  /* Button colors */
  --color-button-primary: #1a73e8;
  --color-button-hover: #185abc;
  
  /* Status colors */
  --color-success: #2ecc71;
  --color-success-bg: rgba(46, 204, 113, 0.2);
  --color-danger: #e74c3c;
  --color-danger-bg: rgba(231, 76, 60, 0.2);
  --color-warning: #f39c12;
  --color-neutral: #95a5a6;
  --color-neutral-bg: rgba(149, 165, 166, 0.2);
  
  /* Gradients */
  --gradient-success: linear-gradient(135deg, rgba(46, 204, 113, 0.2), rgba(46, 204, 113, 0.4));
  --gradient-danger: linear-gradient(135deg, rgba(231, 76, 60, 0.2), rgba(231, 76, 60, 0.4));
  --gradient-neutral: linear-gradient(135deg, rgba(149, 165, 166, 0.2), rgba(149, 165, 166, 0.4));
  --gradient-button: linear-gradient(135deg, rgba(52, 152, 219, 0.5), rgba(41, 128, 185, 0.8));
  
  /* Specific UI elements */
  --color-live-indicator: #ff5252;
  --color-grade-a: #4CAF50;
  --color-grade-b: #8BC34A;
  --color-grade-c: #FFC107;
  --color-grade-d: #FF9800;
  --color-grade-f: #F44336;
  
  /* Shadow colors */
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-dark: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Main container */
.recruit-profile-container {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  color: var(--color-text-primary);
  transition: all 0.3s ease;
  position: relative;
  z-index: 0;
}

/* Main container - add responsiveness for wider screens */
.recruit-profile-container {
  width: 100%;
  max-width: 1200px; /* Default max-width */
  margin: 40px auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  color: var(--color-text-primary);
  transition: all 0.3s ease;
  position: relative;
  z-index: 0;
}

.recruit-profile-container::before {
  content: '';
  position: absolute;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjZmZmIj48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDVMNSAwWk02IDRMNCA2Wk0tMSAxTDEgLTFaIiBzdHJva2U9IiMyMjIiIHN0cm9rZS13aWR0aD0iMSI+PC9wYXRoPgo8L3N2Zz4=");
  mix-blend-mode: multiply;
  opacity: 0.2;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* Info box section */
.recruit-info-box {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border-medium);
}

/* Enhance player info box section for better responsiveness */
.recruit-info-box {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border-medium);
  gap: 15px; /* Add gap for better spacing at all sizes */
}

.recruit-picture-info-box {
  flex: 0 0 180px; /* Increased from 150px to accommodate larger image */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}

/* Improved responsive player image container */
.recruit-picture-info-box {
  flex: 0 0 auto; /* Change from fixed width to auto sizing */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0; /* Remove fixed margin, use gap instead */
}

.recruit-profile-placeholder-circle {
  width: 170px;  /* Increased from 120px */
  height: 170px; /* Increased from 120px */
  border-radius: 50%;
  background: var(--color-background-lighter);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Make player image responsive with min/max constraints */
.recruit-profile-placeholder-circle {
  width: clamp(100px, 15vw, 170px); /* Responsive but constrained size */
  height: clamp(100px, 15vw, 170px); /* Same as width for circle */
  border-radius: 50%;
  background: var(--color-background-lighter);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-light); /* Add subtle shadow for depth */
}

.recruit-profile-placeholder-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-text-info-box {
  flex: 1;
  /* min-width: 300px; */
}

/* Player text info responsive improvements */
.recruit-text-info-box {
  flex: 1;
  /* min-width: min(300px, 85vw); Responsive min-width */
  display: flex;
  flex-direction: column;
}

.recruit-name-text {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

/* Player name responsive styling */
.recruit-name-text {
  font-size: clamp(18px, 3vw, 28px); /* Responsive font size */
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px; /* Use gap instead of margin for spacing */
}

.recruit-placeholder-info-square {
  width: 40px;
  height: 40px;
  background: var(--color-background-lighter);
  margin-right: 10px;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Team logo square responsive sizing */
.recruit-placeholder-info-square {
  width: clamp(30px, 5vw, 40px); /* Responsive width */
  height: clamp(30px, 5vw, 40px); /* Responsive height */
  background: var(--color-background-lighter);
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0; /* Prevent logo from shrinking too much */
}

.recruit-logo-profile-page {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.recruit-second-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

/* Player details row responsive improvements */
.recruit-second-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
  width: 100%; /* Ensure it takes full width */
}

.recruit-number-text {
  background: var(--color-background-lighter);
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: bold;
}

/* Update the recruit-double-entry styling to address the connected boxes issue */
.recruit-double-entry {
  display: flex;
  align-items: center;
  background: var(--color-background-light);
  padding: 5px 10px;
  border-radius: 5px; /* Default border radius for all boxes */
  margin-right: 5px;
}

/* Add a container for connecting the double entry boxes */
.recruit-double-entry-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0; /* Remove gap between boxes */
}

/* Enhance the connected boxes container for responsiveness */
.recruit-double-entry-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: 100%; /* Ensure full width on mobile */
  margin-bottom: 10px;
}

/* Style for the first box in a connected group */
.recruit-double-entry-container .recruit-double-entry:first-child {
  border-radius: 5px 0 0 5px; /* Round only the left corners */
  margin-right: 0; /* Remove right margin to connect with next box */
  border-right: 1px solid rgba(255, 255, 255, 0.1); /* Add subtle separator */
}

/* Style for middle boxes in a connected group */
.recruit-double-entry-container .recruit-double-entry:not(:first-child):not(:last-child) {
  border-radius: 0; /* No rounded corners for middle boxes */
  margin-right: 0; /* Remove right margin */
  border-right: 1px solid rgba(255, 255, 255, 0.1); /* Add subtle separator */
}

/* Style for the last box in a connected group */
.recruit-double-entry-container .recruit-double-entry:last-child {
  border-radius: 0 5px 5px 0; /* Round only the right corners */
}

/* When there's only one box, keep all corners rounded */
.recruit-double-entry-container .recruit-double-entry:only-child {
  border-radius: 5px;
  border-right: none;
}

.recruit-double-text {
  margin-right: 5px;
}

.recruit-double-text:first-child {
  opacity: 0.8;
  margin-right: 5px;
}

.recruit-double-entry-text {
  margin-right: 5px;
}

.recruit-double-entry-text:first-child {
  opacity: 0.8;
}

/* Stats box section */
.recruit-stats-box {
  padding: 20px;
}

.recruit-filter-button-box {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.recruit-filter-box {
  display: flex;
  gap: 10px;
}

.recruit-filter-button {
  background: var(--color-background-light);
  border: none;
  color: var(--color-text-primary);
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.recruit-filter-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.recruit-filter-button.active {
  background: var(--color-background-lightest);
  font-weight: bold;
}

.recruit-add-dashb-button {
  background: var(--color-background-lighter);
  border: none;
  color: var(--color-text-primary);
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.recruit-add-dashb-button:hover {
  background: var(--color-background-lightest);
}

/* Stats table */
.recruit-stats-table {
  width: 100%;
  overflow-x: auto;
}

.recruit-stats-table table {
  width: 100%;
  border-collapse: collapse;
  color: var(--color-text-primary);
}

.recruit-stats-table th {
  text-align: left;
  padding: 10px;
  background: var(--color-background-tertiary);
  font-weight: bold;
}

.recruit-stats-table td {
  padding: 10px;
  border-bottom: 1px solid var(--color-border-light);
}

.recruit-stats-table tr:hover td {
  background: var(--color-background-light);
}

/* Additional info section */
.recruit-additional-info {
  padding: 20px;
  margin-top: 20px;
}

/* Return to Draft button */
.recruit-return-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: var(--color-button-primary);
  color: var(--color-text-primary);
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 100;
}

.recruit-return-button:hover {
  background: var(--color-button-hover);
  transform: translateY(-2px);
}

.recruit-return-button svg {
  width: 20px;
  height: 20px;
}

.recruit-return-button.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(26, 115, 232, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(26, 115, 232, 0);
  }
}

/* My Scouting button */
.recruit-my-scouting-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--color-button-primary);
  color: var(--color-text-primary);
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 100;
  font-size: 14px;
  font-weight: bold;
}

.recruit-my-scouting-button:hover {
  background: var(--color-button-hover);
  transform: translateY(-2px);
}

.recruit-my-scouting-button svg {
  width: 20px;
  height: 20px;
}

/* Adjust positioning when both buttons are present */
.recruit-return-button + .recruit-my-scouting-button {
  right: 180px; /* Position to the left of return button */
}

/* Loading, error and empty states */
.recruit-loading-indicator,
.recruit-error-message,
.recruit-empty-state {
  text-align: center;
  padding: 40px;
  font-size: 18px;
}

.recruit-loading-indicator {
  color: var(--color-text-tertiary);
}

.recruit-error-message {
  color: var(--color-danger);
}

.recruit-empty-state {
  color: var(--color-text-tertiary);
}

/* Responsive design */
@media (max-width: 768px) {
  .recruit-profile-container {
    padding: 10px;
  }

  .recruit-info-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }

  .recruit-picture-info-box {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .recruit-text-info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .recruit-name-text {
    justify-content: center;
  }

  .recruit-second-row {
    justify-content: center;
  }

  .recruit-stats-table {
    font-size: 14px;
  }

  .recruit-filter-button-box {
    flex-direction: column;
  }

  .recruit-filter-box {
    margin-bottom: 15px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .recruit-info-box{
    justify-content: center;
    align-items: center;
  }
  
  .recruit-text-info-box{
    align-items: center;
    justify-content: center;
    width: 90%;
  }

  .recruit-second-row {
    flex-direction: column;
    align-items: center;
    /* gap: 8px; */
  }

  .recruit-number-text{
    width: 90%;
  }

  .recruit-double-entry {
    width: 90%;
    justify-content: center;
    margin-right: 0;
    
  }

  .recruit-double-entry-container{
    gap: 8px;
    justify-content: center;
    /* width: 100%; */
  }
}

/* Improved NFL Draft Projection Section */
.recruit-draft-projection-box {
  margin: 1.5rem 0;
  padding: 1.25rem;
  border-radius: 10px;
  background-color: var(--color-background-primary);
  box-shadow: var(--shadow-light);
  color: var(--color-text-primary);
}

.recruit-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border-medium);
  color: var(--color-text-primary);
}

.recruit-draft-projection-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.recruit-subsection-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
}

/* Landing spots grid */
.recruit-landing-spots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

/* Add this to your CSS file */
.info-button {
  margin-left: 10px;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 12px;
  text-align: center;
  line-height: 16px;
  background-color: #f0f0f0;
  cursor: pointer;
  padding: 0;
  color:black;
  font-weight: bold;
  -webkit-text-fill-color: black !important;
}

.recruit-draft-pick{
  margin-top: 5px;
}

.info-tooltip {
  -webkit-text-fill-color: black !important;
  position: absolute;
  top: 20px;
  text-wrap: wrap;
  height: fit-content;
  left: 0;
  z-index: 10;
  width: 200px;
  background-color: #fff;
  color: black;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 13px;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}


.recruit-landing-spot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-background-light);
  border-radius: 8px;
  padding: 1rem;
  transition: transform 0.2s, background-color 0.2s;
}

.recruit-landing-spot-card:hover {
  transform: translateY(-3px);
  background-color: var(--color-background-lighter);
}

.recruit-team-logo-container {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  background-color: var(--color-text-secondary);
  border-radius: 50%;
  padding: 0.25rem;
}

.recruit-team-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.recruit-team-name {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-text-primary);
}

/* Scouting report styling */
.recruit-scouting-report {
  margin-top: 0.5rem;
}

.recruit-scouting-content {
  display: flex;
  background-color: var(--color-background-light);
  border-radius: 8px;
  padding: 1.25rem;
  position: relative;
}

.recruit-analysis-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-right: 1rem;
  color: var(--color-text-secondary);
}

.recruit-analysis-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  font-style: italic;
  margin: 0;
}

/* Media queries for responsive design */
@media (min-width: 768px) {
  .recruit-draft-projection-content {
    flex-direction: row;
  }
  
  .recruit-landing-spots {
    flex: 1;
    margin-right: 1.5rem;
  }
  
  .recruit-scouting-report {
    flex: 1;
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .recruit-landing-spots-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  
  .recruit-team-logo-container {
    width: 50px;
    height: 50px;
  }
}

/* Modified responsive design for player info section */
@media (max-width: 768px) {
  .recruit-profile-container {
    padding: 10px;
  }

  .recruit-info-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }

  .recruit-picture-info-box {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .recruit-text-info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .recruit-name-text {
    justify-content: center;
  }

  .recruit-second-row {
    justify-content: center;
  }

  .recruit-stats-table {
    font-size: 14px;
  }

  .recruit-filter-button-box {
    flex-direction: column;
  }

  .recruit-filter-box {
    margin-bottom: 15px;
    justify-content: center;
  }
}

/* Enhance existing media query for small screens (up to 768px) */
@media (max-width: 767px) {
  .recruit-profile-container {
    padding: 12px;
    margin: 30px auto;
  }

  .recruit-info-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px;
  }

  .recruit-picture-info-box {
    margin-bottom: 15px;
  }

  .recruit-text-info-box {
    align-items: center;
    width: 100%;
  }
  
  .recruit-name-text {
    justify-content: center;
    text-align: center;
  }

  .recruit-second-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  /* Ensure secondary boxes scale properly */
  .recruit-double-entry-container {
    justify-content: center;
    width: 100%;
  }
  
  .recruit-double-entry:not(:first-child):not(:last-child) {
    border-radius: 0;
  }
}

/* Additional media queries for smaller screens */
@media (max-width: 480px) {
  .recruit-info-box {
    padding: 10px;
  }

  .recruit-filter-button{
    width: 80px;
    font-size: .6rem;
  }
}

/* YouTube Video Section */
.recruit-youtube-box {
  padding: 20px;
  background-color: var(--color-background-primary);
  border-radius: 10px;
  color: var(--color-text-primary);
  max-height: 700px;
  overflow: hidden;
}

.recruit-video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio for videos */
  height: 0;
  overflow: hidden;
  margin-top: 15px;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.2);
  max-height: 600px;
}

.recruit-youtube-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-medium);
  max-height: 600px;
}

/* Add a shadow effect on hover */
.recruit-video-container:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}

/* Video loading skeleton */
.recruit-video-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-background-light);
  border-radius: 8px;
}

.recruit-video-loading-text {
  font-size: 16px;
  color: var(--color-text-secondary);
}/*select a playe ==============================================
   Player Comparison Tool - Main Styles
   ============================================== */

/* ----- General Container & Layout ----- */
.player-comparison-container {
  font-family: 'Roboto', Arial, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding:10px;
  background-color: var(--background-color);
  color: var(--text-color);
}

.player-comparison-layout {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.comparison-box {
  display: flex;
  flex-direction: row;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 0;
}

/* ----- Page Title Styling ----- */
.page-title {
  width: 100%;
  padding: 0 1rem;
  margin: 2rem 0 1.3rem 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; /* For tooltip positioning */
}

.page-title h1 {
  font-size: 2rem;
  font-weight: bold;
  color: var(--page-title-color);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Help button and tooltip styles */
.help-button {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: var(--primary-bg, rgb(93, 91, 91));
  color: white;
  border: none;
  font-weight: bold;
  margin-left: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background-color 0.2s, transform 0.2s;
}

.help-button:hover {
  background-color: #4a4a4a;
  transform: scale(1.1);
}

.help-tooltip {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 20px;
  z-index: 1000;
  text-align: left;
  color: #333;
  margin-top: 15px;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.help-tooltip p {
  margin-top: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.help-tooltip p:last-of-type {
  margin-bottom: 15px;
  font-style: italic;
}

.help-tooltip ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.help-tooltip li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.close-help {
  background-color: var(--primary-bg, rgb(93, 91, 91));
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 15px;
  font-size: 0.9rem;
  cursor: pointer;
  float: right;
}

.close-help:hover {
  background-color: #4a4a4a;
}

/* Responsive styles for help tooltip */
@media (max-width: 768px) {
  .help-tooltip {
    width: 95%;
    padding: 15px;
    max-width: 450px;
  }
  
  .help-tooltip p, .help-tooltip li {
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .page-title h1 {
    font-size: 1.75rem;
  }
  
  .help-tooltip {
    max-width: 95%;
    padding: 12px;
  }
  
  .help-tooltip p {
    font-size: 0.85rem;
  }
  
  .help-tooltip li {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }
}

@media (max-width: 420px) {
  .page-title {
    flex-direction: column;
  }
  
  .help-button {
    margin: 8px 0 0 0;
  }
  
  .help-tooltip {
    left: 50%;
    width: 100%;
    box-sizing: border-box;
    border-radius: 6px;
  }
}

@media (max-width: 350px) {
  .page-title h1 {
    font-size: 1.5rem;
  }
  
  .help-tooltip {
    padding: 10px;
  }
  
  .help-tooltip li {
    font-size: 0.75rem;
  }
  
  .close-help {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* For very large screens */
@media (min-width: 1600px) {
  .help-tooltip {
    max-width: 700px;
    padding: 25px;
  }
  
  .help-tooltip p {
    font-size: 1.1rem;
  }
  
  .help-tooltip li {
    font-size: 1.05rem;
    margin-bottom: 10px;
  }
  
  .help-button {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}

/* ----- Comparison Controls Section ----- */
.comparison-controls {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  align-items: center;
  flex-wrap: nowrap;
}

/* Player columns */
.player-column {
  display: flex;
  flex-direction: column;
  width: 38%;
}

.player-controls-wrapper {
  display: flex;
  width: 100%;
  gap: 10px;
  flex-direction: column; /* Changed from row to column */
  align-items: stretch; /* Changed from center to stretch */
  height: auto; /* Changed from fixed height to auto */
}

/* Updated player position labels to remove background and use black text */
.player-position-label {
  font-size: 16px;
  font-weight: 600;
  padding: 6px 12px;
  background-color: transparent;
  color: var(--position-label-color);
  border-radius: 6px;
  margin-bottom: 10px;
  text-align: center;
  height: 22px;
  line-height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  text-transform: uppercase;
}

/* Search inputs updated to match rankingsTable style */
.player-column .left-search,
.player-column .right-search {
  position: relative;
  width: 100%; /* Changed from 70% to 100% */
  height: 41px;
}

.player-column .left-search input,
.player-column .right-search input {
  width: 100%;
  height: 40px;
  border-radius: 30px;
  border: 1px solid black;
  padding: 0 1.5rem;
  background-color: rgb(76, 73, 73);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  font-weight: bold;
  box-sizing: border-box;
}

.player-column .left-search input::placeholder,
.player-column .right-search input::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-weight: normal;
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  background-color: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-result-item {
  padding: 8px 15px;
  cursor: pointer;
  transition: background-color 0.2s;
  border-bottom: 1px solid #f0f0f0;
}

.search-result-item:hover {
  background-color: #f0f0f0;
}

.search-result-item:last-child {
  border-bottom: none;
}

/* Ensure search result dropdowns have dark background with light text for better visibility */
.player-comparison-container .search-results {
  background-color: #333;
  color: white;
  border: 1px solid #555;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.player-comparison-container .search-result-item {
  padding: 8px 12px;
  border-bottom: 1px solid #555;
  color: white;
  cursor: pointer;
}

.player-comparison-container .search-result-item:last-child {
  border-bottom: none;
}

.player-comparison-container .search-result-item:hover {
  background-color: #444;
}

/* Ensure these styles apply in both light and dark themes */
.player-comparison-container.dark-theme .search-results,
.player-comparison-container .search-results {
  background-color: #333;
  color: white;
}

.player-comparison-container.dark-theme .search-result-item,
.player-comparison-container .search-result-item {
  color: white;
}

/* Season selectors updated to match filter-select style */
.player-column select {
  width: 100%; /* Changed from 30% to 100% */
  padding: 10px;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid black;
  border-radius: 30px;
  font-size: 14px;
  background-color: rgb(76, 73, 73);
  color: white;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px top 50%;
  padding-right: 30px;
}

/* Stats filter */
.stats-filter-container {
  display: none;
}

.stats-filter-label {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  text-align: center;
  white-space: nowrap;
}

.stats-filter-select {
  width: 100%;
  max-width: 180px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  height: 41px;
  box-sizing: border-box;
  cursor: pointer;
  background-color: white;
}

/* ----- Updated Filter Container Styling ----- */
.filters-container {
  display: flex;
  flex-direction: column;
  width: 24%;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

/* Updated filter label to remove background and use black text */
.filter-label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
  white-space: nowrap;
  height: 22px;
  line-height: 22px;
  color: var(--filter-label-color);
  background-color: transparent;
  border-radius: 6px;
  padding: 0 12px;
  box-shadow: none;
  text-transform: uppercase;
}

.filter-select {
  width: 100%;
  max-width: 180px;
  padding: 10px;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid black;
  border-radius: 30px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  background-color: rgb(76, 73, 73);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px top 50%;
  padding-right: 30px;
}

/* ----- Player Section Styling ----- */
.player-section {
  flex: 1;
  min-width: 0;
  padding: 20px;
  overflow: hidden;
  width: 50%;
  position: relative;
  z-index: 0;
  color: white;
}

.player-section::before {
  content: '';
  position: absolute;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjZmZmIj48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDVMNSAwWk02IDRMNCA2Wk0tMSAxTDEgLTFaIiBzdHJva2U9IiMyMjIiIHN0cm9rZS13aWR0aD0iMSI+PC9wYXRoPgo8L3N2Zz4=");
  mix-blend-mode: multiply;
  opacity: 0.2;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.player-section h2,
.player-section h3,
.player-section h4,
.player-section p,
.player-section .stat-label,
.player-section .stat-value,
.player-section strong,
.player-section span {
  color: white;
}

.left-player {
  border-right: 1px solid #ddd;
}

.player-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  font-style: italic;
  /* Remove the default white color to allow theme-specific classes to work */
}

/* Make these selectors more specific to override any inherited styles */
.player-placeholder .light-placeholder {
  color: #333333 !important;
}

.player-placeholder .dark-placeholder {
  color: #FBFBFB !important;
}

.player-header-container {
  position: relative;
  overflow: visible;
  width: 100%;
  margin-bottom: 15px; /* Reduced from 30px */
  height: auto !important;
  min-height: 120px; /* Reduced from 160px */
}

.player-header {
  display: flex;
  margin-bottom: 12px; /* Reduced from 15px */
  gap: 12px; /* Reduced from 15px */
  height: auto !important;
  overflow: visible;
  align-items: center;
  flex-wrap: wrap;
}

.left-player .player-header {
  flex-direction: row;
}

.right-player .player-header {
  flex-direction: row;
  justify-content: space-between;
}

.player-headshot {
  width: clamp(70px, 12vw, 120px); /* Reduced from 80px, 15vw, 160px */
  height: clamp(70px, 12vw, 120px); /* Reduced from 80px, 15vw, 160px */
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff; /* Reduced from 4px */
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.pc-player-info {
  flex: 1;
  padding: 0;
  min-width: 0;
  color: white;
  display: flex;
  flex-direction: column;
  max-width: calc(100% - 150px); /* Adjusted from 180px */
  justify-content: center;
}

.pc-player-info h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: clamp(22px, 3.2vw, 32px); /* Increased from clamp(18px, 2.8vw, 28px) */
  font-weight: 700;
  word-break: break-word;
  line-height: 1.2;
  text-align: center;
}

.player-bio-details {
  display: flex;
  flex-wrap: wrap;
  margin: 10px 0 0;
  gap: 8px;
  height: auto !important;
  align-content: flex-start;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.player-bio-details p {
  margin: 4px 0;
  font-size: 14px;
  background-color: rgba(210, 210, 210, 0.25);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  word-break: break-word;
  flex: 1 1 calc(50% - 8px);
  min-width: 0;
  box-sizing: border-box;
  white-space: normal;
}

.left-player .pc-player-info {
  text-align: left;
}

.right-player .pc-player-info {
  text-align: right;
}

.pc-player-info p {
  margin: 5px 0;
  font-size: 14px;
}

.player-bio {
  margin-top: 10px;
  font-size: 14px;
  font-style: italic;
  color: white;
}

/* Bio spacer */
.bio-spacer {
  width: 100%;
  flex-grow: 1;
  min-height: 5px;
}

/* ----- Stats Display ----- */
.player-stats, .combine-results {
  margin-bottom: 20px;
  position: relative;
  margin-top: 20px;
  clear: both;
}

.player-stats h3, .combine-results h3 {
  margin-top: 0;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 2px solid #fff;
  font-size: 18px;
  color: white;
}

/* Left container titles */
.left-player .player-stats h3,
.left-player .combine-results h3 {
  text-align: left;
}

/* Right container titles */
.right-player .player-stats h3,
.right-player .combine-results h3 {
  text-align: right;
}

/* Stats category headings */
.left-player .stat-group h4 {
  margin-top: 15px;
  margin-bottom: 10px;
  color: white;
  text-align: left;
}

.right-player .stat-group h4 {
  margin-top: 15px;
  margin-bottom: 10px;
  color: white;
  text-align: right;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.left-player .stat-row {
  padding-right: 30px;
}

.right-player .stat-row {
  padding-left: 30px;
}

.stat-label, .stat-value {
  font-size: 14px;
  color: white;
}

.left-player .stat-label {
  text-align: left;
}

.right-player .stat-label {
  text-align: right;
}

.left-player .stat-value {
  font-weight: bold;
  text-align: right;
}

.right-player .stat-value {
  font-weight: bold;
  text-align: left;
}

/* ----- Stat Comparison Indicators ----- */
.left-wins::after, .right-wins::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-size: cover;
  top: 50%;
  transform: translateY(-50%);
}

.left-player .left-wins::after {
  right: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="green" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12l5 5 9-9"></path></svg>');
}

.left-player .right-wins::after {
  right: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="red" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 18L18 6M6 6l12 12"></path></svg>');
}

.right-player .right-wins::after {
  left: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="green" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12l5 5 9-9"></path></svg>');
}

.right-player .left-wins::after {
  left: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="red" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 18L18 6M6 6l12 12"></path></svg>');
}

/* ----- Comparison Summary ----- */
.comparison-summary {
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--summary-bg-color);
  color: var(--text-color);
}

.comparison-summary h3 {
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
  font-size: 20px;
  color: var(--text-color);
}

.summary-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.summary-player, .summary-ties {
  flex: 1;
  text-align: center;
  padding: 10px;
}

.summary-player.winner {
  background-color: var(--winner-bg-color);
}

.summary-player h4, .summary-ties h4 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--text-color);
}

.summary-player p, .summary-ties p {
  margin: 5px 0;
  font-size: 14px;
  color: var(--text-color);
}

.summary-verdict {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.summary-verdict h4 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--text-color);
}

.summary-verdict p {
  margin: 5px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
}

/* ----- Radar Charts ----- */
.radar-charts-container {
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--chart-bg-color);
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.radar-charts-container h3 {
  margin-top: 0;
  margin-bottom: 20px;
  text-align: center;
  font-size: 22px;
  color: var(--chart-text-color);
}

.radar-charts-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
}

.radar-chart-box {
  flex: 1 1 300px;
  min-width: 300px;
  max-width: 600px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  background-color: var(--card-bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.radar-chart-box h4 {
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
  font-size: 18px;
  color: var(--chart-text-color);
  width: 100%;
}

.radar-chart {
  height: 350px;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.radar-chart canvas {
  max-width: 100% !important;
  max-height: 100% !important;
}

/* ----- Utility Classes ----- */
.player-position-labels {
  display: none; /* Hide the original container */
}

.season-selectors-container {
  display: none; /* Hide this since we're integrating dropdowns with search */
}

/* New ADP display under player name */
.player-adp-display {
  font-size: 16px;
  font-weight: 500;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.left-player .player-adp-display {
  justify-content: center;
}

.right-player .player-adp-display {
  justify-content: center;
}

.adp-better {
  color: #2ecc71; /* Green */
}

.adp-worse {
  color: #e74c3c; /* Red */
}

.adp-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 12px;
}

.adp-check {
  background-color: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
}

.adp-x {
  background-color: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}

/* ----- Media Queries ----- */
/* Large screens */
@media (max-width: 1200px) {
  .pc-player-info p {
    font-size: 13px;
  }
  
  .pc-player-info h2 {
    font-size: 28px; /* Increased from 24px */
  }
  
  .player-headshot {
    width: 110px; /* Reduced from 140px */
    height: 110px; /* Reduced from 140px */
  }
  
  .pc-player-info {
    max-width: calc(100% - 130px); /* Adjusted from 160px */
  }

  .player-bio-details p {
    min-width: calc(25% - 12px);
  }
}

/* Large desktop screens (1200px and above) */
@media (min-width: 1200px) {
  /* Even larger title */
  .page-title h1 {
    font-size: 2.8rem;
  }
}

/* Medium-large screens */
@media (max-width: 1100px) {
  .player-column {
    width: 36%;
  }
  
  .filters-container {
    width: 28%;
  }
  
  .filter-label {
    font-size: 15px;
  }
  
  .filter-select {
    max-width: 170px;
  }
}

/* Medium screens */
@media (max-width: 992px) {
  .player-header {
    height: 150px;
  }

  .stat-label, .stat-value {
    font-size: 13px;
  }

  .player-bio-details p {
    min-width: calc(33.333% - 12px);
  }
  
  .player-column {
    width: 34%;
  }
  
  .filters-container {
    width: 32%;
  }
  
  .filter-label {
    font-size: 14px;
  }
}

/* Medium-small screens */
@media (max-width: 900px) {
  .player-header-container {
    height: 130px !important;
  }

  .player-bio-details {
    height: 85px;
  }
}

/* Small screens */
@media (max-width: 768px) {
  .comparison-controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .player-column {
    width: 45%;
  }
  
  .filters-container {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    order: 3;
    margin-top: 15px;
  }
  
  .filter-group {
    width: auto;
    min-width: 200px;
  }
  
  .filter-select {
    max-width: 200px;
  }
  
  .player-header-container {
    height: 190px !important; /* Reduced from 180px */
  }

  .player-header {
    flex-direction: column !important;
    align-items: center;
  }
  
  .left-player .player-header,
  .right-player .player-header {
    flex-direction: column !important;
    align-items: center;
  }
  
  .right-player .pc-player-info {
    order: 1;
    text-align: center !important;
    max-width: 100%;
    width: 100%;
    padding-top: 0;
  }
  
  .pc-player-info {
    text-align: center !important;
    padding: 0;
    max-width: 100%;
  }
  
  .pc-player-info h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 26px; /* Increased from 22px */
  }
  
  .radar-charts-container {
    padding: 15px;
  }
  
  .radar-chart-box {
    padding: 10px;
  }
  
  .radar-chart-box h4 {
    font-size: 16px;
  }
  
  .radar-chart {
    height: 280px;
  }

  .player-controls-wrapper {
    height: auto;
  }
  
  .filter-label,
  .player-position-label {
    width: 100%;
    height: auto;
    padding: 8px 0; /* Reduced horizontal padding since there's no background */
  }
}

/* Extra small screens */
@media (max-width: 576px) {
  .comparison-controls {
    flex-direction: column;
    align-items: center;
    /* gap: px; */
    flex-wrap: wrap;
  }
  
  .player-column {
    width: 100%;
    max-width: 450px;
    display: block;
  }
  
  .player-controls-wrapper {
    flex-direction: column;
    gap: 5px;
    width: 100%;
  }
  
  .player-column .left-search,
  .player-column .right-search,
  .player-column select {
    width: 100%;
  }
  
  .filters-container {
    flex-direction: column;
    gap: 10px;
    margin: 0 0;
  }
  
  .filter-group {
    width: 100%;
    max-width: 450px;
  }
  
  .filter-select {
    max-width: 100%;
  }
  
  /* Explicit ordering for mobile */
  .filters-container {
    order: 7;
  }
  
  .player-position-label.left-label {
    order: 1;
  }
  
  .player-column.left-column .left-search {
    order: 2;
  }
  
  .player-column.left-column select {
    order: 3;
  }
  
  .player-position-label.right-label {
    order: 4;
    margin-top: 20px;
  }
  
  .player-column.right-column .right-search {
    order: 5;
  }
  
  .player-column.right-column select {
    order: 6;
  }
  
  .player-position-label,
  .left-search,
  .right-search,
  .player-column select,
  .filters-container {
    width: 100%;
    max-width: 450px;
    margin-bottom: 10px;
  }
  
  .search-results {
    width: 100%;
  }
  
  .comparison-box {
    flex-direction: column;
  }
  
  .player-section {
    width: 100%;
  }
  
  .left-player {
    border-right: none;
    border-bottom: 1px solid #ddd;
  }
  
  .summary-content {
    flex-direction: column;
    gap: 15px;
  }

  /* Reset alignments when stacked vertically */
  .right-player .player-stats h3,
  .right-player .combine-results h3,
  .right-player .stat-group h4 {
    text-align: left;
  }
  
  .left-label .position-text::before {
    content: "   (Top)"; /* Added extra spaces for more left padding */
    font-size: 14px; /* Reduced from 18px */
    vertical-align: middle; /* Add vertical alignment */
    line-height: normal; /* Ensure proper line height */
    margin-left: 10px;
    display: inline-block; /* Allow vertical alignment */
    padding-bottom: 1px; /* Slight adjustment to match baseline */
  }
  
  .right-label .position-text::before {
    content: "   (Bottom)"; /* Added extra spaces for more left padding */
    font-size: 14px; /* Reduced from 18px */
    margin-left: 10px;
    vertical-align: middle; /* Add vertical alignment */
    line-height: normal; /* Ensure proper line height */
    display: inline-block; /* Allow vertical alignment */
    padding-bottom: 1px; /* Slight adjustment to match baseline */
  }
  
  .position-text {
    font-size: 0;
    display: inline-block; /* Make it an inline-block for better alignment */
    vertical-align: middle; /* Align with adjacent text */
  }
  
  .player-header-container {
    height: 180px !important;
  }
  
  .player-bio-details {
    justify-content: center;
  }
  
  .player-bio-details p {
    flex: 1 1 calc(50% - 6px);
    font-size: 12px;
    padding: 3px 5px;
    text-align: center;
  }
  
  .pc-player-info h2 {
    font-size: 24px; /* Increased from 22px */
    margin-bottom: 8px;
  }
  
  .radar-chart-box {
    min-width: 250px;
    max-width: 100%;
    padding: 10px;
  }
  
  .radar-chart {
    height: 250px;
  }
  
  .radar-charts-container {
    padding: 10px;
  }
  
  .radar-charts-container h3 {
    font-size: 18px;
  }

  .player-adp-display {
    font-size: 14px;
  }
}

/* Tiny screens */
@media (max-width: 400px) {
  .player-header {
    height: 160px; /* Reduced from 190px */
  }
  
  .player-headshot {
    width: 90px; /* Reduced from 110px */
    height: 90px; /* Reduced from 110px */
  }
  
  .player-header-container {
    height: 110px !important; /* Reduced from 130px */
  }
  
  .player-bio-details p {
    min-width: calc(100% - 12px);
  }
  
  .player-header-container {
    height: 130px !important;
  }
  
  .player-bio-details p {
    flex: 1 1 100%;
    font-size: 11px;
  }
  
  .player-headshot {
    width: 70px; /* Reduced from 80px */
    height: 70px; /* Reduced from 80px */
    border-width: 2px; /* Reduced from 3px */
  }
  
  .pc-player-info h2 {
    font-size: 20px; /* Increased from 18px */
    margin-bottom: 5px; /* Reduced from 6px */
  }
  
  .radar-chart-box {
    min-width: 100%;
    padding: 6px;
  }
  
  .radar-chart {
    height: 200px;
  }
  
  .radar-charts-container {
    padding: 10px;
  }
  
  .radar-charts-container h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .player-adp-display {
    font-size: 12px;
  }
  
  .adp-indicator {
    width: 16px;
    height: 16px;
    font-size: 10px;
  }
}

@media (max-width: 320px) {
  .player-header-container {
    height: 100px !important; /* Reduced from 120px */
  }
  
  .radar-charts-container {
    padding: 5px;
    margin-bottom: 15px;
  }
  
  .radar-charts-wrapper {
    gap: 10px;
  }
  
  .radar-chart-box {
    padding: 5px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  }
  
  .radar-chart {
    height: 180px;
  }
  
  .radar-chart-box h4 {
    font-size: 13px;
    margin-bottom: 5px;
  }
}

/* Desktop screens (1024px and above) */
@media (min-width: 1024px) {
  /* Larger title */
  .page-title h1 {
    font-size: 2.5rem;
  }
}

/* ----- Dark Theme ----- */
:root {
  /* Light theme variables */
  --background-color: #ffffff;
  --text-color: #333333;
  --border-color: #dddddd;
  --card-bg-color: #ffffff;
  --page-title-color: #333;
  --filter-label-color: black;
  --summary-bg-color: #ffffff;
  --chart-bg-color: #ffffff;
  --chart-text-color: #333;
  --winner-bg-color: rgba(76, 175, 80, 0.1);
  --position-label-color: black;
  --chart-grid-color: rgba(0, 0, 0, 0.1);
}

body.dark-theme, .dark-theme {
  /* Dark theme variables */
  --background-color: rgb(22, 21, 21);
  --text-color: #FBFBFB;
  --border-color: #555555;
  --card-bg-color: rgb(40, 40, 40);
  --page-title-color: #FBFBFB;
  --filter-label-color: #FBFBFB;
  --summary-bg-color: rgb(40, 40, 40);
  --chart-bg-color: rgb(40, 40, 40);
  --chart-text-color: #FBFBFB;
  --winner-bg-color: rgba(76, 175, 80, 0.2);
  --position-label-color: #FBFBFB;
  --chart-grid-color: rgba(255, 255, 255, 0.2);
}

/* Theme toggle button */
.theme-toggle-button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  margin-left: 15px;
  padding: 5px 10px;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.dark-theme .theme-toggle-button {
  background-color: rgba(255, 255, 255, 0.1);
}

.theme-toggle-button:hover {
  background-color: rgba(128, 128, 128, 0.2);
}

/* Search inputs and filters in dark mode */
.dark-theme .player-column input,
.dark-theme .filter-select {
  background-color: rgb(76, 73, 73);
  color: white;
}

.dark-theme .search-results {
  background-color: rgb(40, 40, 40);
  border-color: #555555;
}

.dark-theme .search-result-item {
  border-bottom-color: #555555;
  color: #FBFBFB;
}

.dark-theme .search-result-item:hover {
  background-color: rgb(60, 60, 60);
}

/* Radar chart text and styling for dark theme */
.dark-theme .radar-chart-box {
  color: white;
}

.dark-theme .radar-chart-box canvas {
  filter: brightness(1.1);
}

/* Make all text in the radar charts container white in dark mode */
.dark-theme .radar-charts-container h3,
.dark-theme .radar-chart-box h4,
.dark-theme .radar-chart text,
.dark-theme .radar-chart .chartjs-tooltip {
  color: white !important;
}.recruit-live-stats-box {
  border-left: 3px solid white;
  border-top: 1px solid white;
  border-right: 1px solid white;
  border-bottom: 1px solid white;
  margin: 20px 0;
  padding: 20px;
  background-color: var(--color-background-primary);
  border-radius: 10px;
  position: relative;
}

.recruit-live-season-note {
  font-size: 0.8em;
  opacity: 0.8;
  margin-left: 8px;
  font-style: italic;
  font-weight: normal;
}

.recruit-live-indicator {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: white;
  margin-bottom: 15px;
  font-size: 16px;
}

.recruit-live-dot {
  width: 10px;
  height: 10px;
  background-color: var(--color-live-indicator);
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  70% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(0.8);
    opacity: 1;
  }
}

.recruit-game-info {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--color-border-medium);
}

.recruit-game-teams {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  font-size: 18px;
}

.recruit-home-team, .recruit-away-team {
  display: flex;
  align-items: center;
  flex: 1;
}

.recruit-home-team {
  justify-content: flex-end;
  text-align: right;
}

.recruit-away-team {
  justify-content: flex-start;
  text-align: left;
}

.recruit-team-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 50%;
  background: transparent;
}

.white-circle-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  margin-right: 8px;
  margin-left: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.recruit-vs {
  margin: 0 15px;
  font-weight: bold;
  opacity: 0.6;
}

.recruit-score {
  font-size: 24px;
  font-weight: bold;
  margin: 0 10px;
}

.recruit-game-time {
  text-align: center;
  opacity: 0.8;
  font-size: 14px;
}

.recruit-live-stats-container {
  background-color: var(--color-background-tertiary);
  padding: 15px;
  border-radius: 8px;
}

.recruit-live-stats-title {
  text-align: center;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: bold;
}

.recruit-live-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.recruit-stat-item {
  background-color: var(--color-background-light);
  padding: 10px;
  border-radius: 6px;
  text-align: center;
}

.recruit-stat-value {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recruit-stat-label {
  font-size: 12px;
  opacity: 0.7;
  text-transform: uppercase;
}

/* Responsive design */
@media (max-width: 768px) {
  .recruit-live-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .recruit-game-teams {
    flex-direction: column;
    gap: 10px;
  }
  
  .recruit-home-team, .recruit-away-team {
    justify-content: center;
  }
  
  .recruit-vs {
    margin: 5px 0;
  }
}
/* Fantasy Stock Value section - enhanced chart styles */
.fantasy-stock-section {
  margin: 20px 0;
  padding: 20px;
  background-color: var(--color-background-primary);
  border-radius: 10px;
  position: relative;
}

/* Chart specific styles - updated for responsive behavior */
.fantasy-stock-chart {
  background-color: var(--color-background-primary);
  padding: 0; /* SVG will fill the container */
  border-radius: 8px;
  margin-bottom: 20px;
  position: relative; /* for absolutely positioned svg child */
  overflow: hidden;

  /* Preferred modern approach */
  aspect-ratio: 1000 / 400;

  /* Ensure a readable minimum height on small screens */
  min-height: 220px;

  /* Fallback for browsers that don't support aspect-ratio:
     maintain the same 1000x400 aspect using padding-bottom (400/1000 = 40%) */
  height: auto;
  padding-bottom: 40%;
}

@media(max-width: 700px){
  .fantasy-stock-chart{
    aspect-ratio: 1000/500;
  }
}
@media(max-width: 540px){
  .fantasy-stock-chart{
    aspect-ratio: 1000/600;
  }
}
@media(max-width: 445px){
  .fantasy-stock-chart{
    width: 100%;
    /* height: 300px; */
  }
  .chart-svg{
    height: 300px;
  }
}

/* Ensure chart scales down and remains readable at very small viewports (320px and below) */
@media (max-width: 320px) {
  .fantasy-stock-chart {
    /* Force a usable width on extremely small devices, but allow shrinking if needed */
    width: 320px;
    max-width: 100%;
    margin: 0 auto;
    /* Keep the same visual aspect using the padding-bottom fallback (1000x400 => 40%) */
    aspect-ratio: unset; /* avoid conflicts with aspect-ratio on older browsers */
    padding-bottom: 40%;
    min-height: 120px;
    overflow: visible;
  }

  /* Make the SVG fill the computed container height */
  .chart-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* ensure it matches the padding-bottom height */
  }

  /* Slightly smaller default point sizes for tiny screens (CSS fallback for SVG circles) */
  .chart-point {
    r: 3; /* used where browser applies CSS r for inline SVG; JS-rendered r may still override */
    stroke-width: 1.25;
  }

  /* Fine tune labels for small screens */
  .chart-label {
    font-size: 9px;
  }

  .y-axis-label {
    font-size: 8px;
  }

  /* Ensure the single-point annotations remain readable but not oversized */
  .fantasy-stock-chart .chart-point:hover {
    r: 5 !important;
  }
}

.chart-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  overflow: visible;
}

/* Axis lines */
.chart-x-axis, .chart-y-axis {
  stroke: var(--color-border-medium);
  stroke-width: 1;
}

/* Chart elements */
.chart-line {
  fill: none;
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.chart-area {
  opacity: 0.15;
}

/* Dynamic chart point sizing */
.chart-point {
  fill: var(--color-text-primary);
  stroke-width: 2;
  /* Default size - will be overridden by data-point-count attribute */
  r: 4;
  transition: r 0.3s ease;
}

/* Point sizing based on data point count */
.chart-point[data-point-count="1"],
.chart-point[data-point-count="2"],
.chart-point[data-point-count="3"] {
  r: 6; /* Larger points for 1-3 data points */
  stroke-width: 3;
}

.chart-point[data-point-count="4"],
.chart-point[data-point-count="5"],
.chart-point[data-point-count="6"] {
  r: 5; /* Medium-large for 4-6 data points */
  stroke-width: 2.5;
}

.chart-point[data-point-count="7"],
.chart-point[data-point-count="8"],
.chart-point[data-point-count="9"],
.chart-point[data-point-count="10"] {
  r: 4; /* Medium for 7-10 data points */
  stroke-width: 2;
}

.chart-point[data-point-count="11"],
.chart-point[data-point-count="12"],
.chart-point[data-point-count="13"],
.chart-point[data-point-count="14"],
.chart-point[data-point-count="15"] {
  r: 3.5; /* Medium-small for 11-15 data points */
  stroke-width: 1.75;
}

.chart-point[data-point-count="16"],
.chart-point[data-point-count="17"],
.chart-point[data-point-count="18"],
.chart-point[data-point-count="19"],
.chart-point[data-point-count="20"] {
  r: 3; /* Small for 16-20 data points */
  stroke-width: 1.5;
}

.chart-point[data-point-count="21"],
.chart-point[data-point-count="22"],
.chart-point[data-point-count="23"],
.chart-point[data-point-count="24"],
.chart-point[data-point-count="25"] {
  r: 2.5; /* Smaller for 21-25 data points */
  stroke-width: 1.25;
}

.chart-point[data-point-count="26"],
.chart-point[data-point-count="27"],
.chart-point[data-point-count="28"],
.chart-point[data-point-count="29"],
.chart-point[data-point-count="30"] {
  r: 2; /* Very small for 26-30 data points */
  stroke-width: 1;
}

/* For more than 30 points */
.chart-point[data-point-count="31"],
.chart-point[data-point-count="32"],
.chart-point[data-point-count="33"],
.chart-point[data-point-count="34"],
.chart-point[data-point-count="35"],
.chart-point[data-point-count="many"] {
  r: 1.5; /* Minimal for >30 data points */
  stroke-width: 0.75;
}

/* Hover effect to highlight points regardless of size */
.chart-point:hover {
  r: 6 !important; /* Force larger size on hover for better interaction */
  stroke-width: 3 !important;
  filter: brightness(1.3);
  cursor: pointer;
  z-index: 10; /* Ensure hovered point appears above others */
}

/* Responsive adjustments for point sizes on smaller screens */
@media (max-width: 768px) {
  .chart-point[data-point-count="1"],
  .chart-point[data-point-count="2"],
  .chart-point[data-point-count="3"] {
    r: 5; /* Slightly smaller on medium screens */
  }
  
  .chart-point[data-point-count="4"],
  .chart-point[data-point-count="5"],
  .chart-point[data-point-count="6"] {
    r: 4.5;
  }
  
  .chart-point:hover {
    r: 5 !important; /* Smaller hover effect on medium screens */
  }
}

@media (max-width: 480px) {
  .chart-point[data-point-count="1"],
  .chart-point[data-point-count="2"],
  .chart-point[data-point-count="3"] {
    r: 4.5; /* Even smaller on small screens */
  }
  
  .chart-point[data-point-count="4"],
  .chart-point[data-point-count="5"],
  .chart-point[data-point-count="6"] {
    r: 4;
  }
  
  /* Adjust all other point sizes for smaller screens */
  .chart-point[data-point-count="7"],
  .chart-point[data-point-count="8"],
  .chart-point[data-point-count="9"],
  .chart-point[data-point-count="10"] {
    r: 3.5;
  }
  
  .chart-point[data-point-count="11"],
  .chart-point[data-point-count="12"],
  .chart-point[data-point-count="13"],
  .chart-point[data-point-count="14"],
  .chart-point[data-point-count="15"] {
    r: 3;
  }
  
  .chart-point[data-point-count="16"],
  .chart-point[data-point-count="many"] {
    r: 2.5;
  }
  
  .chart-point:hover {
    r: 4.5 !important; /* Smaller hover effect on small screens */
  }

  /* Make chart labels a bit smaller but readable */
  .chart-label {
    font-size: 10px;
  }

  .y-axis-label {
    font-size: 9px;
  }
}

/* Trend-specific colors */
.chart-line.up {
  stroke: var(--color-success);
}

.chart-area.up {
  fill: var(--color-success);
}

.chart-point.up {
  stroke: var(--color-success);
}

.chart-line.down {
  stroke: var(--color-danger);
}

.chart-area.down {
  fill: var(--color-danger);
}

.chart-point.down {
  stroke: var(--color-danger);
}

.chart-line.neutral {
  stroke: var(--color-neutral);
}

.chart-area.neutral {
  fill: var(--color-neutral);
}

.chart-point.neutral {
  stroke: var(--color-neutral);
}

/* Labels */
.chart-label {
  fill: var(--color-text-tertiary);
  font-size: 12px;
}

.y-axis-label {
  text-anchor: end;
  font-size: 12px;
  fill: var(--color-text-tertiary);
}

/* Color stops for gradients */
.stop-color-up {
  stop-color: var(--color-success);
}

.stop-color-down {
  stop-color: var(--color-danger);
}

.stop-color-neutral {
  stop-color: var(--color-neutral);
}

/* Fantasy Insights styling - updated to light gray background */
.fantasy-stock-insights {
  background-color: var(--color-background-light);
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
}

.insights-title {
  font-size: 22px;
  font-weight: bold;
}

.fantasy-stock-insights-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

/* If your fantasy insights section uses h3 or another heading element directly */
.fantasy-stock-insights h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

/* Enhanced Fantasy Stock Section */
.fantasy-stock-section {
  margin: 25px 0;
  padding: 25px;
  background-color: var(--color-background-primary);
  border-radius: 15px;
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
}

/* Improved header styling */
.fantasy-stock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--color-border-light);
}

.fantasy-stock-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text-primary);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-left: 30px;
}

/* Add stock icon before title */
.fantasy-stock-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 7h8m0 0v8m0-8l-8 8-4-4-6 6'%3E%3C/path%3E%3C/svg%3E");
  background-size: contain;
  opacity: 0.8;
}

/* Enhanced stock change indicator */
.fantasy-stock-change {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
}



.fantasy-stock-change:hover {
  transform: translateY(-2px);
}

.stock-arrow {
  font-size: 22px;
  margin-right: 8px;
  font-weight: bold;
}

/* Stock change colors */
.stock-up {
  background: var(--gradient-success);
  color: var(--color-success);
}

.stock-down {
  background: var(--gradient-danger);
  color: var(--color-danger);
}

.stock-neutral {
  background: var(--gradient-neutral);
  color: var(--color-text-primary);
}

/* Improved format toggle buttons */
.fantasy-adp-format-toggle {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 25px;
  padding: 10px;
  background: var(--color-background-primary);
  border-radius: 12px;
  position: relative;
}

.adp-format-button {
  flex: 1;
  min-width: 100px;
  background: var(--color-background-light);
  color: var(--color-text-primary);
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.adp-format-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.adp-format-button::after {
  content: none;
}

.adp-format-button.active {
  background: var(--gradient-button);
  box-shadow: 0 0 0 2px var(--color-border-light), var(--shadow-light);
  color: var(--color-text-primary);
  font-weight: 700;
}

/* Enhanced metric cards - reduced height */
.fantasy-stock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.fantasy-stock-metric {
  background: var(--color-background-light);
  padding: 5px 15px; /* Reduced vertical padding */
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.metric-value {
  font-size: 24px; /* Reduced from 32px */
  font-weight: 800;
  margin-bottom: 2px; /* Reduced from 5px */
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  line-height: 1; /* Tighter line height */
}

.fantasy-stock-metric .metric-label {
  font-size: 12px; /* Reduced font size if it exists */
  line-height: 1.2; /* Tighter line height */
}

.insights-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.insights-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 5px 0;
}

.insight-icon {
  margin-right: 10px;
  font-size: 14px;
  font-weight: bold;
}

.insight-icon.up {
  color: var(--color-success);
}

.insight-icon.down {
  color: var(--color-danger);
}

.insight-icon.neutral {
  color: var(--color-neutral);
}

.insights-icon {
  margin-right: 8px;
  font-size: 18px;
}

@media(max-width: 420px ) {
  .fantasy-stock-change{
    font-size: .5rem;
    /* padding-right: 3rem; */
    width: 300px;
    padding: 1rem;
    display: flex;
    justify-content: center;
  }
  .fantasy-stock-metric .metric-label{
    font-size: .6rem;
  }
}/* Draft Range Section Styles */
.draft-range-section {
  background-color: var(--color-background-primary);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: white;
}

.draft-range-header {
  margin-bottom: 15px;
}

.draft-range-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
}

.draft-range-subtitle {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 15px;
}

.draft-range-adp-value {
  font-weight: bold;
}

.draft-range-grid {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.draft-range-labels {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 5px;
}

.draft-round-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.draft-round-label {
  font-weight: bold;
  padding: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 5px;
}

.draft-picks-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.draft-board-compact {
  width: 100%;
}

.draft-round {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 5px;
  width: 100%;
  overflow: hidden;
}

.draft-pick {
  flex: 1;
  height: 22px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  min-width: 0;
}

.pick-number {
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0.9;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 100%;
}

.adp-marker {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: 50%;
  bottom: 0px;
  left: 51%;
  transform: translateX(-50%);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* ADP Format Toggle Buttons */
.fantasy-adp-format-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.draft-range-format-toggle {
  margin-bottom: 15px;
}

.adp-format-button {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}

.adp-format-button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.02);
}

.adp-format-button.active {
  font-weight: bold;
}

/* Heat map colors for legend */
.draft-range-legend {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.9;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}

.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

/* Heat map color classes */
.exact-adp {
  background-color: rgba(46, 204, 113, 1) !important;
}

.close-adp {
  background-color: rgba(46, 204, 113, 0.75) !important;
}

.near-adp {
  background-color: rgba(46, 204, 113, 0.5) !important;
}

.far-adp {
  background-color: rgba(46, 204, 113, 0.25) !important;
}

/* Legend colors */
.legend-color.exact-adp {
  background-color: rgba(46, 204, 113, 1);
}

.legend-color.close-adp {
  background-color: rgba(46, 204, 113, 0.75);
}

.legend-color.near-adp {
  background-color: rgba(46, 204, 113, 0.5);
}

.legend-color.far-adp {
  background-color: rgba(46, 204, 113, 0.25);
}

/* Responsive design for draft range */
@media (max-width: 768px) {
  .draft-range-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .draft-round-label {
    width: 60px;
    font-size: 11px;
  }
  
  .draft-range-legend {
    flex-wrap: wrap;
  }
  
  .pick-number {
    font-size: 8px;
  }

  .fantasy-adp-format-toggle {
    flex-wrap: wrap;
    gap: 6px;
  }

  .adp-format-button {
    padding: 6px 12px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .draft-pick {
    height: 20px;
  }
  
  .pick-number {
    transform: scale(0.9);
  }
  
  .draft-round {
    gap: 3px;
  }
}

@media (max-width: 450px) {
  .draft-round {
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
    margin-bottom: 8px;
  }
  
  .draft-pick {
    height: 18px;
  }
  
  .pick-number {
    font-size: 8px;
    transform: scale(0.85);
  }
  
  .adp-marker {
    width: 4px;
    height: 4px;
  }
}

@media (max-width: 374px) {
  .draft-round {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .pick-number {
    font-size: 7px;
    transform: scale(0.8);
  }
}

@media (max-width: 320px) {
  .draft-round {
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
  }
  
  .draft-round-label {
    font-size: 10px;
    padding: 3px;
  }
  
  .pick-number {
    font-size: 6px;
    transform: scale(0.75);
  }
}
/* Player Poll Section Styles */
.player-poll-section {
  /* background-color: rgba(0, 0, 0); */
  border-radius: 10px;
  margin: 25px 0;
  padding: 20px;
  color: #fff;
}

.player-poll-header {
  margin-bottom: 20px;
}

.player-poll-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
}

.player-poll-subtitle {
  font-size: 16px;
  opacity: 0.8;
}

.player-poll-options {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.poll-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  border-radius: 8px;
  border: 2px solid;
  flex: 1;
  min-width: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: bold;
}

.poll-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.poll-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
}

.poll-loading, .poll-error {
  width: 100%;
  text-align: center;
  padding: 10px;
  margin-top: 15px;
}

.poll-error {
  color: #e74c3c;
  background-color: rgba(231, 76, 60, 0.2);
  border-radius: 5px;
}

/* Poll Results Styles */
.player-poll-results {
  padding: 10px;
}

.poll-results-header {
  margin-bottom: 20px;
}

.poll-results-title {
  font-size: 18px;
  font-weight: bold;
}

.poll-results-subtitle {
  font-size: 14px;
  opacity: 0.8;
}

.poll-results-bars {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.poll-bar-group {
  width: 100%;
}

.poll-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.poll-bar-container {
  height: 24px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  position: relative;
}

.poll-bar {
  height: 100%;
  min-width: 5%;
  position: relative;
  transition: width 0.5s ease;
}

.poll-bar.user-voted {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.poll-bar-percentage {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-weight: bold;
  font-size: 14px;
}

.poll-total-votes {
  text-align: right;
  font-size: 14px;
  opacity: 0.8;
  margin-top: 10px;
}

.poll-user-vote {
  display: flex;
  align-items: center;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.poll-user-vote-label {
  margin-right: 10px;
}

.poll-user-vote-value {
  font-weight: bold;
  margin-right: 20px;
}

.poll-change-vote {
  margin-left: auto;
  transition: all 0.2s ease;
}

.poll-change-vote:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Consensus opinion section */
.poll-consensus {
  margin-top: 20px;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.poll-consensus-header {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.poll-consensus-title {
  font-weight: bold;
  font-size: 16px;
}

.poll-consensus-value {
  font-size: 18px;
  font-weight: bold;
}

.poll-consensus-rank {
  margin-top: 5px;
  font-size: 14px;
  padding-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.poll-rank-label {
  opacity: 0.8;
  margin-right: 5px;
}

.poll-rank-value {
  font-weight: bold;
  font-size: 16px;
  margin-right: 5px;
}

.poll-rank-format {
  font-style: italic;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .poll-consensus-header {
    flex-direction: column;
  }
}
/* filepath: c:\Users\jnedw\Documents\Dynasty-Buddy-App\DynastyBuddyApp\frontend\src\styles\RecruitPageStyles\RecruitGameLogs.css */

.recruit-game-logs {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.recruit-game-logs h3 {
  /* margin: 0 0 15px 0; */
  color: white;
}

.game-logs-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  /* justify-content: center; */
  align-items: center;
  width: 100%;
  gap: 10px;
}

.game-row {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.05);
  gap: 15px;
  max-width: 600px;
}

.game-info-gamelog {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  flex: 1.6;
  min-width: 0;

}

.team-info {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

/* Highlight the winning team row */
.team-info.winner {
  /* previously: subtle gold tint */
  background: rgba(6, 182, 212, 0.07); /* subtle teal/cyan tint */
  border-radius: 6px;
  padding: 4px 6px;
  transition: background-color 0.18s ease, transform 0.12s ease;
}

/* Slight lift for winner on hover */
.team-info.winner:hover {
  transform: translateY(-2px);
}

/* Make winner text more visible */
.team-info.winner .team-name {
  color: #06b6d4; /* teal/cyan */
  font-weight: 700;
}

.team-logo {
  width: 24px;
  height: 24px;
  background-color: white;
  border-radius: 50%;
  
  padding: 1px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.team-name {
  font-weight: bold;
  color: white;
  font-size: 12px;
  /* flex: 20; */
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: wrap;
  text-align: center;
}

.team-score {
  font-size: 14px;
  font-weight: normal;
  color: white;
  min-width: 20px;
  text-align: center;
  flex-shrink: 0;
}

/* Ensure score uses the shared .team-score class and highlight it when winner */
.team-score.winner {
  font-weight: 800;
  color: #06b6d4; /* teal/cyan for winner */
}

.vs {
  font-weight: bold;
  color: white;
  font-size: 12px;
  padding-left: 20px;
  /* text-align: center; */
  /* align-self: center; */
}

.game-week {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
  white-space: nowrap;
}

.game-stats {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 2;
  min-width: 0;
}

.stat-category-section {
  flex: 1;
  min-width: 0;
}

.category-title {
  color: white;
  font-size: 11px;
  margin-bottom: 5px;
  font-weight: bold;
  text-transform: uppercase;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}

.stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  min-height: 30px;
}

.stat-category {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-bottom: 1px;
}

.stat-value {
  font-size: 10px;
  font-weight: bold;
  color: white;
}

/* Header with toggle button */
.gamelogs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 12px 0;
}

/* Toggle button (simple, accessible) */
.toggle-button {
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 18px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.toggle-button:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.18);
}

/* Ensure small screens keep a usable button size */
@media (max-width: 420px) {
  .toggle-button {
    padding: 6px 10px;
    font-size: 12px;
  }
}

@media(max-width: 950px) {
  .game-row{
    width: 90%
  }
}

@media(max-width:670px) {
  .game-row{
    flex-direction: column;
  }

  .team-info{
    justify-content: space-between;
  }

  .game-info-gamelog{
    flex-direction: row;
    align-items: center;
    /* gap: 10px; */
  }

  .team-score{
    margin: 0;
    padding: 0;
    
  }

  .vs{
    padding-left: 0;
    padding: 0 10px;
  }

  .team-name{
    /* width:fit-content; */
   
  
  }
}

@media(max-width: 350px){
  .team-name{
    font-size: .4rem;
  }

  .team-info img {
    width: 20px;
    height: 20px;
  }

  .team-info span{
    font-size: .5rem;
  }
}/* Base styles for the navbar */
.responsive-navbar {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1200;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-family: 'Arial', sans-serif;
  left: 0;
  right: 0;
}

/* Logo Image Styling */
.logo-image {
  max-height: 200px;
  width: auto;
  display: block;

}

.mobile-logo .logo-image {
  max-height: 200px;
  width: auto;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem; /* Increased from 1rem to 1.2rem for more height */
  min-height: 105px;
  height: 105px; /* Add explicit min-height to ensure space */
  /* gap: 50px; */
}

.desktop-nav .theme-controls {
  position: absolute;
  right: 10px; /* Position it before the login/account button */
  top: 15%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.mobile-nav {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1rem; /* Increased from 1rem to 1.2rem */
  height: 105px;
  min-height: 60px; /* Add explicit min-height */
  overflow: hidden; /* Add this to crop the image within the container */
  position: relative; /* Ensure proper stacking context */
}

.logo {
  display: flex;
  align-items: center;
  min-width: 220px; /* Add minimum width to prevent squishing */
}

.logo a {
  /* font-weight: bolder;
  font-size: 2.4rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: black; */
  /* text-decoration: none; */
  /* width: auto; Override the fixed width */
}

.nav-links {
  display: flex;
  gap: 3.5rem;
  margin-right: 2rem;
  /* font-size: 3rem; */
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: gray;
}

/* Auth section */
.auth-section {
  position: relative;
}

.login-button, 
.username-display {
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  color: black;
  transition: color 0.3s ease;
}

.login-button:hover,
.username-display:hover {
  color: gray;
}

/* User dropdown menu */
.user-dropdown {
  position: relative;
}

.account-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 200px;
  z-index: 100;
  text-align: center; /* Center all text content */
}

.account-info {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  text-align: center; /* Center the account info */
}

.account-label {
  font-size: 0.8rem;
  color: gray;
  margin-bottom: 0.2rem;
}

.account-name {
  font-weight: bold;
}

.logout-button {
  width: 100%;
  text-align: center; /* Changed from left to center */
  padding: 0.8rem 1rem;
  background: none;
  border: none;
  font-size: 1rem;
  color: #dc2626;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.logout-button:hover {
  background-color: #f3f4f6;
}

/* Subscription button in account dropdown */
.subscription-button {
  display: block;
  width: 100%;
  padding: 8px 16px;
  text-align: center;
  background-color: #3182ce; /* Blue color */
  color: white;
  border: none;
  border-radius: 4px;
  margin-bottom: 8px;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
}

.subscription-button:hover {
  background-color: #2c5282; /* Darker blue on hover */
}

/* Mobile Navigation - hidden on desktop */
.mobile-nav {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  overflow: hidden; /* Add this to crop the image within the container */
  position: relative; /* Ensure proper stacking context */
}

.mobile-logo {
  display: flex;
  align-items: center;
  height: 100%; /* Constrain to container height */
  overflow: hidden; /* Ensure the logo is cropped within */
}

.mobile-logo a {
  font-weight: bolder;
  font-size: 2rem; /* Fixed typo and increased from 1.rem to 2rem */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: black;
  text-decoration: none;
  white-space: nowrap; /* Prevent text from wrapping */
}

.mobile-menu-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: white;
  border-top: 1px solid #eee;
  padding: 1rem 0;
}

.mobile-link {
  text-decoration: none;
  color: black;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  text-align: center; /* Center mobile links */
}

.mobile-auth {
  padding-top: 1rem;
  border-top: 1px solid #eee;
  margin-top: 0.5rem;
  text-align: center; /* Center all mobile auth items */
}

.mobile-username {
  font-weight: bold;
  padding: 0.5rem 1rem;
  text-align: center;
}

.mobile-logout, 
.mobile-login {
  width: 100%;
  text-align: center; /* Changed from left to center */
  padding: 0.8rem 1rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  /* color: white; */
}

.mobile-logout {
  color: #dc2626;
}

/* Mobile subscription link */
.mobile-subscription-link {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #3182ce;
  color: white;
  text-align: center;
  margin: 5px 0;
  border-radius: 4px;
  text-decoration: none;
}

.mobile-subscription-link:hover {
  background-color: #2c5282;
}

/* Login Modal */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.login-box {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.login-box h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-form input {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.dark-theme .mobile-logo a {
  color: white;
}

.dark-theme .mobile-login {
  color: white;
}

.retro-theme .mobile-logo a {
  color: #33ff33;
}

.forgot-password-btn {
  text-align: left;
  background: none;
  border: none;
  color: #2563eb;
  font-size: 0.9rem;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.login-submit-btn,
.signup-btn,
.close-btn {
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-submit-btn {
  background-color: rgb(2, 177, 69);
  color: white;
}

.signup-btn {
  background-color: #1f2937;
  color: white;
}

.close-btn {
  background-color: #111827;
  color: white;
}

.login-submit-btn:hover,
.signup-btn:hover,
.close-btn:hover {
  opacity: 0.9;
}

/* Media Queries */
@media screen and (max-width: 966px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-nav {
    display: flex;
    height: 91px;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    overflow: hidden; /* Reinforce the overflow hidden */
  }
  
  .mobile-menu {
    display: flex;
    align-items: center;
    text-align: center;
  }

  .logo-image{
    padding-left: 2rem;
  }

  .mobile-logo {
    flex-grow: 1;
    /* margin-left: 1rem; */
    text-align: left; /* Align to the left instead of center */
  }

  .mobile-logo a {
    font-size: 2.5rem; /* Increased size for mobile view */
    display: inline-block;
  }

  /* Ensure dropdown is centered on mobile too */
  .account-dropdown {
    text-align: center;
    right: 50%;
    transform: translateX(50%);
  }

  .mobile-menu .theme-controls {
    margin-top: 15px; /* Add top margin to move it down */
    margin-bottom: 15px; /* Balance with bottom margin */
  }

  /* Override any conflicting styles */
  .mobile-menu .theme-controls {
    margin: 25px 0 !important; /* Use !important to ensure this takes precedence */
    position: relative; /* Ensure positioning context is reset */
    transform: none; /* Remove any transforms that might be inherited */
    right: auto; /* Reset any right positioning */
    top: auto; /* Reset any top positioning */
  }
}

/* Extra small screens */
@media screen and (max-width: 417px) {
  .mobile-logo a {
    font-size: 1.9rem; /* Reduce font size for very small screens */
  }
  
  .mobile-nav {
    padding: 0 0.5rem; /* Reduce padding to give more space */
  }
  
  .mobile-menu-button {
    padding-left: 0.5rem; /* Add some space between logo and menu button */
  }
}

/* Extra small screens */
@media screen and (max-width: 479px) {
  .mobile-logo .logo-image {
    max-height: 210px;
    margin-left: -60px; /* Move the logo to the left to compensate for whitespace */
    object-position: center top; /* Show the top part of the image */
  }
  
  .mobile-nav {
    height: auto;
    min-height: 70px;
    max-height: 80px;
    overflow: hidden; /* Reinforce the overflow hidden */
  }
}

/* Small screens */
@media screen and (min-width: 479px) and (max-width: 768px) {
  .mobile-logo .logo-image {
    max-height: 200px;
    margin-left: -60px;
  }
}

/* Medium screens */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .logo-image {
    max-height: 350px;
    margin-left: -20px;
  }
  
  .logo {
    min-width: 200px;
  }
}

/* Medium screens */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .logo a {
    font-size: 2rem;
    
  }

  .logo-image{
    margin-left: -50px
  }
  
  .nav-links {
    gap: 1rem;
    /* margin-left: -40px; */
  }
  
  .nav-links a {
    font-size: .8rem;
  }
}

/* Large screens */
@media screen and (min-width: 1025px) and (max-width: 1440px) {
  .logo-image {
    max-height: 290px;
    margin-left: -40px;
  }
}

/* Large screens */
@media screen and (min-width: 1025px) and (max-width: 1180px) {
  /* .nav-links {
    gap: 1rem;
    margin-left: -50px;
  } */

  .nav-links a {
    font-size: .8rem;
  }
}

/* Extra large screens */
@media screen and (min-width: 1441px) {
  .logo-image {
    max-height: 350px;
    margin-left: -60px;
  }
  
  .desktop-nav {
    min-height: 120px;
    height: 120px;
  }

  .nav-links {
    /* margin-right: 50px; */
  }
}

@media screen and (min-width: 1800px) {
  .nav-links{
    margin-right: 150px;
    gap: 4rem;
  }
}

.dark-theme .responsive-navbar {
  background-color: #1a1a1a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dark-theme .nav-links a,
.dark-theme .logo a,
.dark-theme .login-button,
.dark-theme .username-display,
.dark-theme .mobile-menu-button {
  color: white;
}

.dark-theme .mobile-menu {
  background-color: #1a1a1a;
  border-top: 1px solid #333;
}

.dark-theme .mobile-link {
  color: white;
  border-bottom: 1px solid #333;
}

/* Add styles for other themes as well */
.retro-theme .responsive-navbar {
  background-color: #000088;
  border-bottom: 2px solid #00ff00;
}

.retro-theme .nav-links a,
.retro-theme .logo a,
.retro-theme .login-button,
.retro-theme .username-display,
.retro-theme .mobile-menu-button {
  color: #33ff33;
}

.modern-theme .responsive-navbar {
  background-color: var(--card-bg, #ffffff);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.football-theme .responsive-navbar {
  background-color: var(--primary-color, #1e3a8a);
  border-bottom: 4px solid var(--secondary-color, #b91c1c);
}

.football-theme .nav-links a,
.football-theme .logo a,
.football-theme .login-button,
.football-theme .username-display,
.football-theme .mobile-menu-button {
  color: var(--text-light, #ffffff);
}

.neo-brutalism-theme .responsive-navbar,
.refined-neo-brutalism-theme .responsive-navbar {
  background-color: var(--card-color, #ffffff);
  border-bottom: 3px solid var(--text-color, #121212);
}

/* Dark theme styles for login modal */
.dark-theme .login-box {
  background-color: #1a1a1a;
  color: white;
  border: 1px solid #333;
}

.dark-theme .login-form input {
  background-color: #333;
  color: white;
  border-color: #444;
}

.dark-theme .login-form input::placeholder {
  color: #aaa;
}

.dark-theme .login-box h2 {
  color: white;
}

.dark-theme .forgot-password-btn {
  color: #4dabf7; /* lighter blue for better visibility on dark backgrounds */
}

/* Retro theme styles for login modal */
.retro-theme .login-box {
  background-color: #000088;
  color: #33ff33;
  border: 2px solid #00ff00;
}

.retro-theme .login-form input {
  background-color: #000066;
  color: #33ff33;
  border-color: #00ff00;
}

.retro-theme .login-box h2 {
  color: #33ff33;
}

.retro-theme .forgot-password-btn {
  color: #00ffff;
}

/* Football theme styles for login modal */
.football-theme .login-box {
  background-color: var(--primary-color, #1e3a8a);
  color: var(--text-light, #ffffff);
}

.football-theme .login-form input {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--text-dark, #121212);
}

.football-theme .login-box h2 {
  color: var(--text-light, #ffffff);
}

/* Dark theme styles for account dropdown */
.dark-theme .account-dropdown {
  background-color: #1a1a1a;
  border: 1px solid #333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.dark-theme .account-info {
  border-bottom: 1px solid #333;
}

.dark-theme .account-label {
  color: #aaa;
}

.dark-theme .account-name {
  color: white;
}

.dark-theme .logout-button {
  color: #ff6b6b; /* Brighter red for visibility on dark background */
}

.dark-theme .logout-button:hover {
  background-color: #333;
}

/* Retro theme styles for account dropdown */
.retro-theme .account-dropdown {
  background-color: #000088;
  border: 2px solid #00ff00;
}

.retro-theme .account-info {
  border-bottom: 1px solid #00ff00;
}

.retro-theme .account-label {
  color: #00ffff;
}

.retro-theme .account-name {
  color: #33ff33;
}

.retro-theme .logout-button {
  color: #ff5555;
}

.retro-theme .logout-button:hover {
  background-color: #000066;
}

/* Football theme styles for account dropdown */
.football-theme .account-dropdown {
  background-color: var(--primary-color, #1e3a8a);
  border: 1px solid var(--secondary-color, #b91c1c);
}

.football-theme .account-info {
  border-bottom: 1px solid var(--secondary-color, #b91c1c);
}

.football-theme .account-label,
.football-theme .account-name {
  color: var(--text-light, #ffffff);
}

/* Center theme switcher in mobile view */
.mobile-menu .theme-controls {
  display: flex;
  justify-content: center;
  padding: 15px 0;
  margin: 10px 0;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}

.dark-theme .mobile-menu .theme-controls {
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

.retro-theme .mobile-menu .theme-controls {
  border-top: 1px solid #00ff00;
  border-bottom: 1px solid #00ff00;
}

.football-theme .mobile-menu .theme-controls {
  border-top: 1px solid var(--secondary-color, #b91c1c);
  border-bottom: 1px solid var(--secondary-color, #b91c1c);
}

/* Theme controls in mobile menu */
.mobile-menu .theme-controls {
  display: flex;
  justify-content: center;
  margin: 20px 0; /* Increased margin for more spacing */
  padding: 10px 0;
}/* Theme Switcher Styles */
.theme-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.theme-options {
  display: flex;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 3px;
  height: 18px;
}

.theme-option {
  background: none;
  border: none;
  cursor: pointer;
  font-size: .85rem;
  width: 28px;
  height: 10px;
  border-radius: 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 2px;
  transition: all 0.3s ease;
  position: relative;
}

.theme-option:hover {
  background-color: rgba(0, 0, 0, 0.1);
}



.theme-option.active {
  background-color: white;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}

.dark-theme .theme-options {
  background-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .theme-option.active {
  background-color: #c9c3c3b2;
}

.dark-theme .theme-icon {
  margin-bottom: 2px;
}

.dark-theme .theme-option:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Tooltip on hover */
.theme-option::after {
  content: attr(title);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  pointer-events: none;
}

.theme-option:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
  .theme-option {
    width: 32px;
    height: 11px;
    font-size: 1rem;
  }
  
  .theme-options {
    padding: 2px;
  }

  .mobile-menu {
    align-items: center; /* Center child elements */
  }
}

/* Dark theme styles */
.dark-theme {
  --bg-color: #121212;
  --text-color: #f5f5f5;
  --card-bg: #1e1e1e;
  --border-color: #333;
  --accent-color: #90caf9;
  --secondary-bg: #2d2d2d;
  --danger-color: #f48fb1;
  
  background-color: var(--bg-color);
  color: var(--text-color);
}

Retro theme styles
.retro-theme {
  --bg-color: #000066;
  --text-color: #33ff33;
  --card-bg: #000077;
  --border-color: #00ff00;
  --accent-color: #ffff00;
  --secondary-bg: #000088;
  --danger-color: #ff6666;
  --primary-font: 'Courier New', Courier, monospace;
  
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--primary-font);
}

/* Apply retro theme to specific elements */
.retro-theme .app-header {
  background-color: #000088;
  box-shadow: 0 2px 8px rgba(0, 255, 0, 0.3);
  border-bottom: 2px solid #00ff00;
}

.retro-theme .app-footer {
  background-color: #000088;
  border-top: 2px solid #00ff00;
}

.retro-theme a {
  color: #ffff00;
  text-decoration: none;
}

.retro-theme a:hover {
  color: #ff00ff;
  text-decoration: none;
}

.retro-theme button {
  background-color: #000088;
  color: #33ff33;
  border: 2px solid #00ff00;
}

.retro-theme button:hover {
  background-color: #0000aa;
}

.retro-theme input {
  background-color: #000044;
  color: #33ff33;
  border: 2px solid #00ff00;
}

.retro-theme h1, 
.retro-theme h2, 
.retro-theme h3 {
  color: #ffff00;
  text-shadow: 2px 2px 0 #ff00ff;
}

.retro-theme .theme-option.active {
  background-color: #0000aa;
  border: 2px solid #00ff00;
}

/* Scanlines effect for retro theme */
.retro-theme::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.25) 50%
  );
  background-size: 100% 4px;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.15;
}

/* CRT flicker animation */
@keyframes flicker {
  0% { opacity: 0.97; }
  5% { opacity: 0.9; }
  10% { opacity: 0.97; }
  15% { opacity: 0.94; }
  20% { opacity: 0.98; }
  25% { opacity: 0.91; }
  30% { opacity: 0.97; }
  35% { opacity: 0.93; }
  40% { opacity: 0.99; }
  45% { opacity: 0.92; }
  50% { opacity: 0.96; }
  55% { opacity: 0.93; }
  60% { opacity: 0.94; }
  65% { opacity: 0.98; }
  70% { opacity: 0.9; }
  75% { opacity: 0.95; }
  80% { opacity: 0.92; }
  85% { opacity: 0.98; }
  90% { opacity: 0.9; }
  95% { opacity: 0.96; }
  100% { opacity: 0.95; }
}

.retro-theme {
  animation: flicker 10s infinite;
}

/* Retro Theme Component-Specific Styles */

/* Tables in retro mode */
.retro-theme table {
  border: 2px solid #00ff00;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.retro-theme table th {
  background-color: #000099;
  color: #ffff00;
  border: 1px solid #00ff00;
  font-weight: bold;
  padding: 10px;
  text-transform: uppercase;
}

.retro-theme table td {
  background-color: #000077;
  color: #33ff33;
  border: 1px solid #00ff00;
  padding: 8px;
}

.retro-theme table tr:hover td {
  background-color: #0000aa;
}

/* Cards in retro mode */
.retro-theme .player-ind-card,
.retro-theme .signup-box,
.retro-theme .player-profile-box {
  background-color: #000077;
  border: 2px solid #00ff00;
  box-shadow: 5px 5px 0 #ff00ff;
}

.retro-theme .player-ind-card::before,
.retro-theme .player-profile-box::before {
  opacity: 0.1;
}

/* Form elements in retro mode */
.retro-theme input,
.retro-theme select,
.retro-theme textarea {
  background-color: #000044;
  color: #33ff33;
  border: 2px solid #00ff00;
  font-family: 'Courier New', Courier, monospace;
  padding: 10px;
}

.retro-theme input:focus,
.retro-theme select:focus,
.retro-theme textarea:focus {
  outline: none;
  border-color: #ffff00;
  box-shadow: 0 0 0 3px rgba(255, 255, 0, 0.3);
}

.retro-theme input::placeholder {
  color: #00aa00;
}

/* Buttons in retro mode */
.retro-theme button,
.retro-theme .filter-button,
.retro-theme .menu-item,
.retro-theme .menu-item-dash {
  background-color: #000099;
  color: #33ff33;
  border: 2px solid #00ff00;
  font-family: 'Courier New', Courier, monospace;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.retro-theme button:hover,
.retro-theme .filter-button:hover,
.retro-theme .menu-item:hover,
.retro-theme .menu-item-dash:hover {
  background-color: #0000cc;
  color: #ffff00;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 #ff00ff;
}

.retro-theme button:active,
.retro-theme .filter-button:active,
.retro-theme .menu-item:active,
.retro-theme .menu-item-dash:active {
  transform: translate(0, 0);
  box-shadow: none;
}

/* Navigation in retro mode */
.retro-theme .responsive-navbar {
  background-color: #000088;
  border-bottom: 2px solid #00ff00;
}

.retro-theme .nav-links a {
  color: #33ff33;
  text-shadow: 1px 1px 0 #000000;
}

.retro-theme .nav-links a:hover {
  color: #ffff00;
}

.retro-theme .mobile-menu {
  background-color: #000088;
  border-top: 2px solid #00ff00;
}

.retro-theme .logo a {
  color: #ffff00;
  text-shadow: 2px 2px 0 #ff00ff;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
}

.retro-theme .sub-menu {
  background-color: #000099;
  border: 2px solid #00ff00;
}

.retro-theme .sub-menu-item a {
  color: #33ff33;
}

.retro-theme .sub-menu-item a:hover {
  background-color: #0000cc;
  color: #ffff00;
}

/* Player profile in retro mode */
.retro-theme .stats-box table thead tr {
  background-color: #000099;
  color: #ffff00;
}

.retro-theme .stats-box tbody tr, 
.retro-theme .stats-box thead tr {
  background-color: #000077;
  color: #33ff33;
}

.retro-theme .filter-button.active {
  background-color: #0000cc;
  color: #ffff00;
  border: 2px solid #ff00ff;
}

.retro-theme .number-text {
  background-color: #000099;
  color: #ffff00;
  border: 2px solid #00ff00;
}

/* Images in retro mode */
.retro-theme .white-circle-dash,
.retro-theme .profile-placeholder-circle,
.retro-theme .white-circle-logo,
.retro-theme .placeholder-info-square {
  border: 2px solid #00ff00;
  background-color: #000044;
}

/* Loading text in retro mode */
.retro-theme .loading-indicator {
  color: #ffff00;
  font-family: 'Courier New', Courier, monospace;
  font-size: 24px;
  text-shadow: 2px 2px 0 #ff00ff;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Pixel border effect for various elements */
.retro-theme .player-ind-card,
.retro-theme .player-profile-box,
.retro-theme .signup-box,
.retro-theme .table-container,
.retro-theme .mock-draft-container {
  position: relative;
}

.retro-theme .player-ind-card::after,
.retro-theme .player-profile-box::after,
.retro-theme .signup-box::after,
.retro-theme .table-container::after,
.retro-theme .mock-draft-container::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: transparent;
  z-index: -1;
  border: 2px solid #00ff00;
  background-image: 
    linear-gradient(to right, #00ff00 1px, transparent 1px),
    linear-gradient(to bottom, #00ff00 1px, transparent 1px);
  background-size: 4px 4px;
  image-rendering: pixelated;
  opacity: 0.3;
}



/* 80s/90s Theme Styles */

/* Root variables for 80s/90s theme */
.retro-theme {
  --bg-color: #ffffff;
  --bg-pattern: repeating-linear-gradient(45deg, rgba(200, 200, 200, 0.1) 0px, rgba(200, 200, 200, 0.1) 10px, transparent 10px, transparent 20px);
  --text-color: #1a1a1a;
  --card-bg: #f0f0f0;
  --border-color: #666666;
  --accent-color-1: #ff3870; /* Hot pink */
  --accent-color-2: #00b8ff; /* Bright cyan */
  --accent-color-3: #ffe83f; /* Bright yellow */
  --accent-color-4: #6cf137; /* Bright green */
  --header-color: #1a1a1a;
  --link-color: #ff3870;
  --button-bg: #00b8ff;
  --button-hover: #00a0e0;
  --button-text: #ffffff;
  --shadow: 3px 3px 0 rgba(0, 0, 0, 0.8);
  --input-bg: #ffffff;
  --input-border: #444444;
  --primary-font: 'Arial', sans-serif;
  --header-font: 'Impact', 'Arial Black', sans-serif;

  background-color: var(--bg-color);
  background-image: var(--bg-pattern);
  color: var(--text-color);
  font-family: var(--primary-font);
}

/* Headers in 80s/90s style */
.retro-theme h1, 
.retro-theme h2, 
.retro-theme h3 {
  font-family: var(--header-font);
  color: var(--header-color);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Bold geometric gradient for main titles */
.retro-theme .dash-title {
  background: linear-gradient(to right, var(--accent-color-1), var(--accent-color-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  border-bottom: 4px solid #000;
  padding-bottom: 15px;
  text-shadow: none;
  font-family: var(--header-font);
  letter-spacing: 2px;
}

/* Links with underline effect */
.retro-theme a {
  color: var(--link-color);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.retro-theme a:hover {
  color: var(--accent-color-2);
}

.retro-theme a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transform: scaleX(0);
  transition: transform 0.3s;
}

.retro-theme a:hover::after {
  transform: scaleX(1);
}

/* Buttons with flat design and bold colors */
.retro-theme button,
.retro-theme .filter-button,
.retro-theme .go-to-recruit-button,
.retro-theme .add-dashb-button-pf,
.retro-theme .signup-button {
  background-color: var(--button-bg);
  color: var(--button-text);
  border: 2px solid #000000;
  border-radius: 0;
  font-family: var(--primary-font);
  font-weight: bold;
  text-transform: uppercase;
  padding: 8px 16px;
  transition: all 0.2s;
  box-shadow: var(--shadow);
  position: relative;
  top: 0;
  left: 0;
}

.retro-theme button:hover,
.retro-theme .filter-button:hover,
.retro-theme .go-to-recruit-button:hover,
.retro-theme .add-dashb-button-pf:hover,
.retro-theme .signup-button:hover {
  background-color: var(--button-hover);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.8);
  top: -1px;
  left: -1px;
}

.retro-theme button:active,
.retro-theme .filter-button:active,
.retro-theme .go-to-recruit-button:active,
.retro-theme .add-dashb-button-pf:active,
.retro-theme .signup-button:active {
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8);
  top: 2px;
  left: 2px;
}

/* Active filter buttons */
.retro-theme .filter-button.active {
  background-color: var(--accent-color-1);
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.3);
  top: 2px;
  left: 2px;
}

/* Form elements with bold borders */
.retro-theme input,
.retro-theme select,
.retro-theme textarea {
  background-color: var(--input-bg);
  border: 2px solid var(--input-border);
  border-radius: 0;
  padding: 8px 12px;
  font-family: var(--primary-font);
  color: var(--text-color);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.retro-theme input:focus,
.retro-theme select:focus,
.retro-theme textarea:focus {
  outline: none;
  border-color: var(--accent-color-2);
  box-shadow: 0 0 0 2px rgba(0, 184, 255, 0.3);
}

/* Navigation */
.retro-theme .app-header {
  background-color: var(--card-bg);
  border-bottom: 3px solid #000;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
}

.retro-theme .responsive-navbar {
  background-color: var(--card-bg);
}

.retro-theme .logo a {
  color: var(--header-color);
  font-family: var(--header-font);
  letter-spacing: 1px;
  font-weight: bold;
  text-shadow: 2px 2px 0 var(--accent-color-1), 
               4px 4px 0 var(--accent-color-2);
}

.retro-theme .nav-links a {
  color: var(--text-color);
  font-weight: bold;
  text-transform: uppercase;
}

.retro-theme .nav-links a:hover {
  color: var(--accent-color-2);
}

.retro-theme .mobile-menu {
  background-color: var(--card-bg);
  border-top: 2px solid #000;
}

/* Cards with bold borders and shadow */
.retro-theme .player-ind-card,
.retro-theme .player-profile-box,
.retro-theme .signup-box {
  background-color: var(--card-bg);
  border: 2px solid #000;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.8);
  border-radius: 0;
  overflow: hidden;
}

/* Replace texture with background pattern */
.retro-theme .player-ind-card::before,
.retro-theme .player-profile-box::before {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='1'/%3E%3Ccircle cx='13' cy='13' r='1'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

/* Alternating card colors */
.retro-theme .player-ind-card:nth-child(4n+1) {
  border-color: var(--accent-color-1);
}

.retro-theme .player-ind-card:nth-child(4n+2) {
  border-color: var(--accent-color-2);
}

.retro-theme .player-ind-card:nth-child(4n+3) {
  border-color: var(--accent-color-3);
}

.retro-theme .player-ind-card:nth-child(4n+4) {
  border-color: var(--accent-color-4);
}

/* Tables with grid look */
.retro-theme table {
  border-collapse: collapse;
  width: 100%;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

.retro-theme table th {
  background-color: #000;
  color: #fff;
  font-weight: bold;
  padding: 12px;
  text-align: left;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.retro-theme table td {
  padding: 8px 12px;
  border: 1px solid #000;
}

.retro-theme table tr:nth-child(even) td {
  background-color: rgba(0, 0, 0, 0.05);
}

.retro-theme table tr:hover td {
  background-color: rgba(255, 56, 112, 0.1);
}

/* Menu items and filters */
.retro-theme .menu-item,
.retro-theme .menu-item-dash {
  background-color: var(--card-bg);
  color: var(--text-color);
  border: 2px solid #000;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.8);
  font-family: var(--primary-font);
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 0;
}

.retro-theme .menu-item:hover,
.retro-theme .menu-item-dash:hover {
  background-color: var(--accent-color-3);
  color: #000;
  border-color: #000;
}

.retro-theme .sub-menu {
  background-color: var(--card-bg);
  border: 2px solid #000;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
  border-radius: 0;
}

.retro-theme .sub-menu-item a {
  color: var(--text-color);
  font-weight: bold;
}

.retro-theme .sub-menu-item a:hover {
  background-color: var(--accent-color-1);
  color: #fff;
}

/* Profile elements */
.retro-theme .number-text {
  background-color: #000;
  color: var(--accent-color-3);
  font-weight: bold;
  border: 2px solid var(--accent-color-3);
  border-radius: 0;
}

.retro-theme .stats-box table thead tr {
  background-color: #000;
  color: #fff;
}

.retro-theme .stats-box tbody tr, 
.retro-theme .stats-box thead tr {
  background-color: var(--card-bg);
  color: var(--text-color);
}

/* Images with bold borders */
.retro-theme .white-circle-dash,
.retro-theme .profile-placeholder-circle,
.retro-theme .white-circle-logo,
.retro-theme .placeholder-info-square {
  border: 2px solid #000;
  background-color: white;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

/* Replace rounded borders with square/geometric shapes */
.retro-theme .white-circle-dash,
.retro-theme .profile-placeholder-circle,
.retro-theme .white-circle-logo,
.retro-theme .placeholder-info-square,
.retro-theme .placeholder-circle,
.retro-theme .placeholder-square {
  border-radius: 0;
  clip-path: polygon(
    0% 0%, 
    100% 0%, 
    100% 85%, 
    85% 100%, 
    0% 100%
  );
}

/* Footer */
.retro-theme .app-footer {
  background-color: #000;
  color: #fff;
  border-top: 4px solid var(--accent-color-2);
}

.retro-theme .footer-column h3 {
  color: var(--accent-color-3);
  font-family: var(--header-font);
  letter-spacing: 1px;
}

.retro-theme .footer-column a {
  color: #fff;
}

.retro-theme .footer-column a:hover {
  color: var(--accent-color-1);
}

.retro-theme .footer-bottom {
  border-top: 1px solid #333;
}

/* Theme switcher */
.retro-theme .theme-option.active {
  background-color: var(--accent-color-2);
  color: #fff;
  border: 2px solid #000;
}

/* Loading indicator */
.retro-theme .loading-indicator {
  color: var(--accent-color-1);
  font-family: var(--header-font);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Add geometric decorative elements in corners */
.retro-theme .app-main::before,
.retro-theme .app-main::after {
  content: "";
  position: fixed;
  width: 100px;
  height: 100px;
  z-index: -1;
  opacity: 0.5;
}

.retro-theme .app-main::before {
  top: 100px;
  right: 20px;
  background-image: 
    linear-gradient(45deg, transparent 50%, var(--accent-color-1) 50%),
    linear-gradient(-45deg, transparent 50%, var(--accent-color-2) 50%);
  background-size: 20px 20px;
  background-repeat: repeat;
}

.retro-theme .app-main::after {
  bottom: 100px;
  left: 20px;
  background-image: 
    linear-gradient(45deg, transparent 50%, var(--accent-color-3) 50%),
    linear-gradient(-45deg, transparent 50%, var(--accent-color-4) 50%);
  background-size: 20px 20px;
  background-repeat: repeat;
}

/* Dashboard */
.retro-theme .player-name-rec {
  font-family: var(--header-font);
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 #000;
}

.retro-theme .team-line-rec,
.retro-theme .player-position-line {
  font-weight: bold;
}

/* Grid patterns */
.retro-theme .table-container {
  position: relative;
}

.retro-theme .table-container::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 50px;
  height: 50px;
  background-image: 
    linear-gradient(var(--accent-color-1) 2px, transparent 2px),
    linear-gradient(90deg, var(--accent-color-1) 2px, transparent 2px);
  background-size: 10px 10px;
  z-index: -1;
}

.retro-theme .table-container::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: -10px;
  width: 50px;
  height: 50px;
  background-image: 
    linear-gradient(var(--accent-color-2) 2px, transparent 2px),
    linear-gradient(90deg, var(--accent-color-2) 2px, transparent 2px);
  background-size: 10px 10px;
  z-index: -1;
}

/* Memphis-style random shapes */
.retro-theme .signup-container::before {
  content: "";
  position: fixed;
  top: 100px;
  left: 50px;
  width: 50px;
  height: 50px;
  background-color: var(--accent-color-3);
  border: 2px solid #000;
  transform: rotate(15deg);
  z-index: -1;
}

.retro-theme .signup-container::after {
  content: "";
  position: fixed;
  bottom: 100px;
  right: 50px;
  width: 50px;
  height: 50px;
  background-color: var(--accent-color-1);
  border: 2px solid #000;
  border-radius: 50%;
  z-index: -1;
}



/* Modern Sleek Theme Styles */

/* Root variables for modern sleek theme */
.modern-theme {
  --bg-color: #fafafa;
  --text-color: #333333;
  --text-secondary: #6e6e6e;
  --card-bg: #ffffff;
  --border-color: #eeeeee;
  --accent-color-primary: #0062ff;
  --accent-color-secondary: #00c9ff;
  --danger-color: #ff3b5c;
  --success-color: #00c389;
  --header-color: #222222;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --primary-font: 'Inter', 'SF Pro Display', 'Segoe UI', sans-serif;
  --header-font: 'Inter', 'SF Pro Display', 'Segoe UI', sans-serif;
  
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--primary-font);
}

/* Typography */
.modern-theme h1, 
.modern-theme h2, 
.modern-theme h3 {
  font-family: var(--header-font);
  color: var(--header-color);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.modern-theme .dash-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--header-color);
  border-bottom: none;
  position: relative;
  padding-bottom: 0.75rem;
}

.modern-theme .dash-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color-primary), var(--accent-color-secondary));
  border-radius: 2px;
}

/* Links */
.modern-theme a {
  color: var(--accent-color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.modern-theme a:hover {
  color: var(--accent-color-secondary);
}

/* Buttons */
.modern-theme button,
.modern-theme .filter-button,
.modern-theme .go-to-recruit-button,
.modern-theme .add-dashb-button-pf,
.modern-theme .signup-button {
  background-color: var(--accent-color-primary);
  color: white;
  border: none;
  border-radius: var(--border-radius-md);
  font-family: var(--primary-font);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.modern-theme button:hover,
.modern-theme .filter-button:hover,
.modern-theme .go-to-recruit-button:hover,
.modern-theme .add-dashb-button-pf:hover,
.modern-theme .signup-button:hover {
  background-color: var(--accent-color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.modern-theme button:active,
.modern-theme .filter-button:active,
.modern-theme .go-to-recruit-button:active,
.modern-theme .add-dashb-button-pf:active,
.modern-theme .signup-button:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Filter button active state */
.modern-theme .filter-button.active {
  background: linear-gradient(90deg, var(--accent-color-primary), var(--accent-color-secondary));
  box-shadow: var(--shadow-md);
}

/* Form elements */
.modern-theme input,
.modern-theme select,
.modern-theme textarea {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 0.75rem 1rem;
  font-family: var(--primary-font);
  color: var(--text-color);
  transition: all var(--transition-fast);
}

.modern-theme input:focus,
.modern-theme select:focus,
.modern-theme textarea:focus {
  outline: none;
  border-color: var(--accent-color-primary);
  box-shadow: 0 0 0 3px rgba(0, 98, 255, 0.2);
}

/* Navigation */
.modern-theme .app-header {
  background-color: var(--card-bg);
  border-bottom: none;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modern-theme .responsive-navbar {
  background-color: transparent;
}

.modern-theme .logo a {
  color: var(--header-color);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.modern-theme .nav-links a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.modern-theme .nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color-primary), var(--accent-color-secondary));
  transition: width var(--transition-normal);
}

.modern-theme .nav-links a:hover {
  color: var(--accent-color-primary);
}

.modern-theme .nav-links a:hover::after {
  width: 100%;
}

.modern-theme .mobile-menu {
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
}

/* Cards */
.modern-theme .player-ind-card,
.modern-theme .player-profile-box,
.modern-theme .signup-box {
  background-color: var(--card-bg);
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  overflow: hidden;
}

.modern-theme .player-ind-card:hover,
.modern-theme .signup-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Remove texture pattern */
.modern-theme .player-ind-card::before,
.modern-theme .player-profile-box::before {
  background-image: none;
}

/* Tables */
.modern-theme table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border: none;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--card-bg);
}

.modern-theme table th {
  background-color: var(--bg-color);
  color: var(--text-secondary);
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.modern-theme table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
}

.modern-theme table tr:last-child td {
  border-bottom: none;
}

.modern-theme table tr:hover td {
  background-color: rgba(0, 98, 255, 0.05);
}

/* Menu items and filters */
.modern-theme .menu-item,
.modern-theme .menu-item-dash {
  background-color: var(--card-bg);
  color: var(--text-color);
  border: none;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  font-family: var(--primary-font);
  font-weight: 500;
  transition: all var(--transition-normal);
}

.modern-theme .menu-item:hover,
.modern-theme .menu-item-dash:hover {
  background-color: var(--bg-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.modern-theme .menu-item > a,
.modern-theme .menu-item-dash > a {
  color: var(--text-color);
}

.modern-theme .sub-menu {
  background-color: var(--card-bg);
  border: none;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.modern-theme .sub-menu-item a {
  color: var(--text-color);
  transition: all var(--transition-fast);
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
}

.modern-theme .sub-menu-item a:hover {
  background-color: rgba(0, 98, 255, 0.05);
  color: var(--accent-color-primary);
}

/* Profile elements */
.modern-theme .number-text {
  background: linear-gradient(90deg, var(--accent-color-primary), var(--accent-color-secondary));
  color: white;
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius-md);
  padding: 0.5rem 1rem;
}

.modern-theme .stats-box table thead tr {
  background-color: var(--bg-color);
  color: var(--text-secondary);
}

.modern-theme .stats-box tbody tr {
  background-color: var(--card-bg);
  color: var(--text-color);
}

/* Images and circles */
.modern-theme .white-circle-dash,
.modern-theme .profile-placeholder-circle,
.modern-theme .white-circle-logo,
.modern-theme .placeholder-info-square,
.modern-theme .placeholder-circle,
.modern-theme .placeholder-square {
  border: none;
  background-color: white;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  overflow: hidden;
}

.modern-theme .white-circle-dash,
.modern-theme .profile-placeholder-circle,
.modern-theme .placeholder-circle {
  border-radius: 50%;
}

.modern-theme .white-circle-logo,
.modern-theme .placeholder-info-square,
.modern-theme .placeholder-square {
  border-radius: var(--border-radius-md);
}

/* Footer */
.modern-theme .app-footer {
  background: linear-gradient(135deg, var(--accent-color-primary), var(--accent-color-secondary));
  color: white;
  border-top: none;
}

.modern-theme .footer-column h3 {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.modern-theme .footer-column a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.modern-theme .footer-column a:hover {
  color: white;
}

.modern-theme .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Theme switcher */
.modern-theme .theme-option.active {
  background: linear-gradient(90deg, var(--accent-color-primary), var(--accent-color-secondary));
  color: white;
}

/* Loading indicator */
.modern-theme .loading-indicator {
  color: var(--accent-color-primary);
  font-family: var(--primary-font);
  font-weight: 500;
}

/* Error messages */
.modern-theme .error-message {
  color: var(--danger-color);
  font-weight: 500;
  padding: 0.75rem 1rem;
  background-color: rgba(255, 59, 92, 0.05);
  border-radius: var(--border-radius-md);
  border-left: 3px solid var(--danger-color);
}

/* Success messages */
.modern-theme .success-message {
  color: var(--success-color);
  font-weight: 500;
  padding: 0.75rem 1rem;
  background-color: rgba(0, 195, 137, 0.05);
  border-radius: var(--border-radius-md);
  border-left: 3px solid var(--success-color);
}

/* Misc modern touches */
.modern-theme .player-name-rec {
  font-weight: 600;
}

.modern-theme .team-line-rec,
.modern-theme .player-position-line {
  font-weight: 500;
  color: var(--text-secondary);
}

/* Glass morphism for selected elements */
.modern-theme .filter-button-box,
.modern-theme .theme-options {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius-md);
  padding: 0.5rem;
  border: 1px solid var(--border-color);
}


/* College Football Theme Styles */

/* Root variables for college football theme */
.football-theme {
  --primary-color: #1e3a8a; /* Navy blue */
  --secondary-color: #b91c1c; /* Crimson red */
  --accent-color: #f59e0b; /* Gold */
  --neutral-dark: #27272a; /* Dark gray */
  --neutral-light: #f4f4f5; /* Light gray */
  --text-light: #ffffff;
  --text-dark: #18181b;
  --success-color: #059669; /* Field green */
  --border-color: #71717a;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  --field-pattern: repeating-linear-gradient(
    0deg,
    var(--success-color) 0px,
    var(--success-color) 5px,
    #05966980 5px,
    #05966980 10px
  );
  --primary-font: 'Montserrat', 'Arial Black', sans-serif;
  --body-font: 'Roboto', 'Arial', sans-serif;
  
  background-color: var(--neutral-light);
  background-image: var(--field-pattern);
  background-attachment: fixed;
  color: var(--text-dark);
  font-family: var(--body-font);
}

/* Football texture overlay */
.football-theme::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50,1 Q80,10 99,50 Q90,80 50,99 Q20,90 1,50 Q10,20 50,1' stroke='%23ffffff' stroke-width='1' fill='none' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 100px 100px;
  background-repeat: repeat;
  pointer-events: none;
  z-index: -1;
  opacity: 0.3;
}

/* Typography */
.football-theme h1, 
.football-theme h2, 
.football-theme h3 {
  font-family: var(--primary-font);
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.football-theme .dash-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-light);
  text-shadow: 2px 2px 0 var(--neutral-dark), 
               4px 4px 0 var(--secondary-color);
  border-bottom: 4px solid var(--secondary-color);
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.football-theme .dash-title::after {
  content: "🏈";
  position: absolute;
  right: 10px;
  bottom: -5px;
  font-size: 1.5rem;
}

/* Links */
.football-theme a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s;
}

.football-theme a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Buttons with football look */
.football-theme button,
.football-theme .filter-button,
.football-theme .go-to-recruit-button,
.football-theme .add-dashb-button-pf,
.football-theme .signup-button {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
  border-radius: 6px;
  font-family: var(--primary-font);
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.05em;
}

.football-theme button:hover,
.football-theme .filter-button:hover,
.football-theme .go-to-recruit-button:hover,
.football-theme .add-dashb-button-pf:hover,
.football-theme .signup-button:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Football lace pattern for buttons */
.football-theme button::before,
.football-theme .filter-button::before,
.football-theme .go-to-recruit-button::before,
.football-theme .add-dashb-button-pf::before,
.football-theme .signup-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

/* Active filter buttons */
.football-theme .filter-button.active {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--text-light);
}

/* Form elements */
.football-theme input,
.football-theme select,
.football-theme textarea {
  background-color: var(--neutral-light);
  border: 2px solid var(--border-color);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: var(--body-font);
  color: var(--text-dark);
  font-weight: 500;
}

.football-theme input:focus,
.football-theme select:focus,
.football-theme textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.2);
}

/* Navigation */
.football-theme .app-header {
  background-color: var(--primary-color);
  border-bottom: 4px solid var(--secondary-color);
  box-shadow: var(--shadow);
}

.football-theme .responsive-navbar {
  background-color: var(--primary-color);
}

.football-theme .logo a {
  color: var(--accent-color);
  font-family: var(--primary-font);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 2px 2px 0 var(--neutral-dark);
}

.football-theme .nav-links a {
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s;
}

.football-theme .nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--accent-color);
}

.football-theme .mobile-menu {
  background-color: var(--primary-color);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.football-theme .mobile-link {
  color: var(--text-light);
}

/* Cards with scoreboard look */
.football-theme .player-ind-card,
.football-theme .player-profile-box,
.football-theme .signup-box {
  background-color: var(--neutral-light);
  border: 3px solid var(--neutral-dark);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.football-theme .player-ind-card::after,
.football-theme .player-profile-box::after,
.football-theme .signup-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: var(--secondary-color);
}

/* Player cards */
.football-theme .player-ind-card {
  background-image: linear-gradient(180deg, var(--primary-color) 100px, var(--neutral-light) 100px);
  padding-top: 120px;
}

.football-theme .player-ind-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Scoreboard pattern */
.football-theme .player-ind-card::before,
.football-theme .player-profile-box::before {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.2;
}

/* Tables with scoreboard look */
.football-theme table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border: 3px solid var(--neutral-dark);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--neutral-light);
  box-shadow: var(--shadow);
}

.football-theme table th {
  background-color: var(--primary-color);
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem;
  text-align: center;
}

.football-theme table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  font-weight: 500;
}

.football-theme table tr:last-child td {
  border-bottom: none;
}

.football-theme table tr:nth-child(even) td {
  background-color: rgba(0, 0, 0, 0.05);
}

.football-theme table tr:hover td {
  background-color: rgba(30, 58, 138, 0.1);
}

/* Menu items and filters */
.football-theme .menu-item,
.football-theme .menu-item-dash {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--neutral-dark);
  border-radius: 6px;
  box-shadow: var(--shadow);
  font-family: var(--primary-font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.football-theme .menu-item:hover,
.football-theme .menu-item-dash:hover {
  background-color: var(--secondary-color);
}

.football-theme .menu-item > a,
.football-theme .menu-item-dash > a {
  color: var(--text-light);
}

.football-theme .sub-menu {
  background-color: var(--neutral-light);
  border: 2px solid var(--neutral-dark);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.football-theme .sub-menu-item a {
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.3s;
}

.football-theme .sub-menu-item a:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* Profile elements */
.football-theme .number-text {
  background-color: var(--secondary-color);
  color: var(--text-light);
  font-weight: 900;
  font-size: 1.5rem;
  border: 2px solid var(--neutral-dark);
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.football-theme .player-name-rec {
  color: var(--primary-color);
  font-family: var(--primary-font);
  font-weight: 900;
  text-transform: uppercase;
  margin-top: -50px;
  text-shadow: 1px 1px 0 var(--text-light);
}

.football-theme .team-line-rec,
.football-theme .player-position-line {
  font-weight: 700;
  text-transform: uppercase;
}

/* Images with football shape or jersey number styling */
.football-theme .white-circle-dash,
.football-theme .profile-placeholder-circle {
  border: 3px solid var(--neutral-dark);
  background-color: white;
  box-shadow: 0 0 0 3px var(--accent-color);
  overflow: hidden;
  shape-outside: circle();
  clip-path: circle();
}

.football-theme .white-circle-dash {
  z-index: 5;
  margin-top: -80px;
}

.football-theme .white-circle-logo,
.football-theme .placeholder-info-square,
.football-theme .placeholder-square {
  border: 2px solid var(--neutral-dark);
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
}

/* Footer */
.football-theme .app-footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-top: 4px solid var(--secondary-color);
}

.football-theme .footer-column h3 {
  color: var(--accent-color);
  font-family: var(--primary-font);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.football-theme .footer-column a {
  color: var(--text-light);
}

.football-theme .footer-column a:hover {
  color: var(--accent-color);
}

.football-theme .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer decoration */
.football-theme .footer-content::before {
  content: "🏈";
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 2rem;
  opacity: 0.5;
}

/* Theme switcher */
.football-theme .theme-option.active {
  background-color: var(--secondary-color);
  color: var(--text-light);
  border: 2px solid var(--accent-color);
}

/* Loading indicator */
.football-theme .loading-indicator {
  color: var(--primary-color);
  font-family: var(--primary-font);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  position: relative;
}


/* Neo Brutalism Theme */
.neo-brutalism-theme {
  --primary-color: #ff5252;
  --secondary-color: #ffcf4a;
  --accent-color: #4ed8f1;
  --text-color: #121212;
  --background-color: #f5f5f5;
  --card-color: #ffffff;
  --success-color: #00cc88;
  --danger-color: #ff3e3e;
  --border-radius: 0;
  --box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.9);
  --header-font: 'Space Grotesk', 'Arial Black', sans-serif;
  --body-font: 'Inter', 'Helvetica', sans-serif;
  
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--body-font);
}

/* Core elements */
.neo-brutalism-theme h1, 
.neo-brutalism-theme h2, 
.neo-brutalism-theme h3,
.neo-brutalism-theme .dash-title,
.neo-brutalism-theme .mock-draft-title,
.neo-brutalism-theme .draft-picks-title,
.neo-brutalism-theme .draft-board-title {
  font-family: var(--header-font);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: var(--text-color);
  border-bottom: 4px solid var(--text-color);
  padding-bottom: 10px;
  position: relative;
}

.neo-brutalism-theme a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
}

.neo-brutalism-theme a:hover {
  border-bottom: 2px solid var(--primary-color);
  transform: skew(-2deg);
}

/* Buttons */
.neo-brutalism-theme button,
.neo-brutalism-theme .filter-button,
.neo-brutalism-theme .go-to-recruit-button,
.neo-brutalism-theme .add-dashb-button-pf,
.neo-brutalism-theme .signup-button,
.neo-brutalism-theme .player-btn,
.neo-brutalism-theme .load-more-button {
  background-color: var(--primary-color);
  color: white;
  border: 3px solid black;
  border-radius: var(--border-radius);
  font-family: var(--header-font);
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  box-shadow: var(--box-shadow);
  position: relative;
  transition: all 0.2s ease;
  transform: rotate(-1deg);
}

.neo-brutalism-theme button:hover,
.neo-brutalism-theme .filter-button:hover,
.neo-brutalism-theme .go-to-recruit-button:hover,
.neo-brutalism-theme .add-dashb-button-pf:hover,
.neo-brutalism-theme .signup-button:hover,
.neo-brutalism-theme .player-btn:hover,
.neo-brutalism-theme .load-more-button:hover {
  transform: translate(-2px, -2px) rotate(-1deg);
  box-shadow: 7px 7px 0px rgba(0, 0, 0, 0.9);
}

.neo-brutalism-theme button:active,
.neo-brutalism-theme .filter-button:active,
.neo-brutalism-theme .go-to-recruit-button:active,
.neo-brutalism-theme .add-dashb-button-pf:active,
.neo-brutalism-theme .signup-button:active,
.neo-brutalism-theme .player-btn:active,
.neo-brutalism-theme .load-more-button:active {
  transform: translate(2px, 2px) rotate(-1deg);
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.9);
}

.neo-brutalism-theme .filter-button.active {
  background-color: var(--accent-color);
  color: var(--text-color);
  transform: rotate(-2deg);
}

/* Form elements */
.neo-brutalism-theme input,
.neo-brutalism-theme select,
.neo-brutalism-theme textarea {
  background-color: var(--card-color);
  border: 3px solid var(--text-color);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-family: var(--body-font);
  font-weight: 500;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.9);
}

.neo-brutalism-theme input:focus,
.neo-brutalism-theme select:focus,
.neo-brutalism-theme textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.9);
}

.neo-brutalism-theme input::placeholder {
  color: #999;
  font-style: italic;
}

/* Navigation */
.neo-brutalism-theme .app-header {
  background-color: var(--card-color);
  border-bottom: 4px solid var(--text-color);
}

.neo-brutalism-theme .responsive-navbar {
  font-family: var(--header-font);
}

.neo-brutalism-theme .logo a {
  color: var(--text-color);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  font-size: 1.5rem;
  transform: skew(-5deg);
  display: inline-block;
  text-shadow: 2px 2px 0 var(--primary-color);
  border-bottom: none;
}

.neo-brutalism-theme .logo a:hover {
  transform: skew(-5deg) scale(1.05);
  border-bottom: none;
}

.neo-brutalism-theme .nav-links a {
  color: var(--text-color);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 10px;
  position: relative;
  border-bottom: none;
}

.neo-brutalism-theme .nav-links a:after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.neo-brutalism-theme .nav-links a:hover:after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Cards */
.neo-brutalism-theme .player-ind-card,
.neo-brutalism-theme .player-profile-box,
.neo-brutalism-theme .signup-box,
.neo-brutalism-theme .mock-draft-container {
  background-color: var(--card-color);
  border: 3px solid var(--text-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: visible;
  position: relative;
  transform: rotate(-0.5deg);
}

.neo-brutalism-theme .player-ind-card:hover {
  transform: translateY(-5px) rotate(-0.5deg);
  box-shadow: 7px 7px 0px rgba(0, 0, 0, 0.9);
}

/* Replace texture with clean background */
.neo-brutalism-theme .player-ind-card::before,
.neo-brutalism-theme .player-profile-box::before {
  background-image: none;
  background-color: transparent;
}

/* Tables */
.neo-brutalism-theme table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border: 3px solid var(--text-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  background-color: var(--card-color);
  transform: rotate(-0.5deg);
}

.neo-brutalism-theme table th {
  background-color: var(--secondary-color);
  color: var(--text-color);
  font-family: var(--header-font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem;
  text-align: left;
  border-bottom: 3px solid var(--text-color);
}

.neo-brutalism-theme table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  font-weight: 500;
}

.neo-brutalism-theme table tr:last-child td {
  border-bottom: none;
}

.neo-brutalism-theme table tr:hover td {
  background-color: rgba(255, 82, 82, 0.1);
}

/* Menu items and filters */
.neo-brutalism-theme .menu-item,
.neo-brutalism-theme .menu-item-dash {
  background-color: var(--card-color);
  color: var(--text-color);
  border: 3px solid var(--text-color);
  border-radius: var(--border-radius);
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.9);
  font-family: var(--header-font);
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.2s ease;
  transform: rotate(-1deg);
}

.neo-brutalism-theme .menu-item:hover,
.neo-brutalism-theme .menu-item-dash:hover {
  transform: translate(-2px, -2px) rotate(-1deg);
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.9);
}

.neo-brutalism-theme .menu-item > a,
.neo-brutalism-theme .menu-item-dash > a {
  color: var(--text-color);
  border-bottom: none;
}

.neo-brutalism-theme .sub-menu {
  background-color: var(--card-color);
  border: 3px solid var(--text-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transform: rotate(0.5deg);
  margin-top: 5px;
}

.neo-brutalism-theme .sub-menu-item a {
  color: var(--text-color);
  font-weight: 600;
  border-bottom: none;
}

.neo-brutalism-theme .sub-menu-item a:hover {
  background-color: var(--secondary-color);
  color: var(--text-color);
  transform: none;
  border-bottom: none;
}

/* Images and circles */
.neo-brutalism-theme .white-circle-dash,
.neo-brutalism-theme .profile-placeholder-circle,
.neo-brutalism-theme .white-circle-logo,
.neo-brutalism-theme .placeholder-info-square,
.neo-brutalism-theme .placeholder-circle,
.neo-brutalism-theme .placeholder-square,
.neo-brutalism-theme .white-circle {
  border: 3px solid var(--text-color);
  background-color: white;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

/* Footer */
.neo-brutalism-theme .app-footer {
  background-color: var(--text-color);
  color: white;
  border-top: 4px solid var(--primary-color);
  padding: 3rem 2rem 2rem;
}

.neo-brutalism-theme .footer-logo {
  font-family: var(--header-font);
  font-weight: 900;
  transform: skew(-5deg);
  display: inline-block;
  color: white;
  text-shadow: 2px 2px 0 var(--primary-color);
}

.neo-brutalism-theme .footer-column h3 {
  color: var(--secondary-color);
  border-bottom: 2px solid var(--secondary-color);
}

.neo-brutalism-theme .footer-column a {
  color: white;
  border-bottom: none;
}

.neo-brutalism-theme .footer-column a:hover {
  color: var(--secondary-color);
  border-bottom: none;
}

/* Theme switcher */
.neo-brutalism-theme .theme-options {
  background-color: var(--card-color);
  border: 2px solid var(--text-color);
  border-radius: var(--border-radius);
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.9);
}

.neo-brutalism-theme .theme-option {
  border: 1px solid transparent;
}

.neo-brutalism-theme .theme-option:hover {
  border: 1px solid var(--text-color);
}

.neo-brutalism-theme .theme-option.active {
  background-color: var(--primary-color);
  border: 1px solid var(--text-color);
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.9);
}

/* Mock draft specific */
.neo-brutalism-theme .draft-slot {
  border: 2px solid var(--text-color);
  border-radius: var(--border-radius);
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.7);
}

.neo-brutalism-theme .countdown-time,
.neo-brutalism-theme .pick-number-number,
.neo-brutalism-theme .pick-owner-owner {
  border: 3px solid var(--text-color);
  font-family: var(--header-font);
  font-weight: 700;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.9);
}

.neo-brutalism-theme .draft-slot::after,
.neo-brutalism-theme .player-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: -1;
}

.neo-brutalism-theme .user-pick-slot {
  border: 2px solid var(--primary-color) !important;
  box-shadow: 3px 3px 0px rgba(255, 82, 82, 0.5) !important;
}

.neo-brutalism-theme .current-user-pick {
  border: 3px solid var(--success-color) !important;
  box-shadow: 3px 3px 0px rgba(0, 204, 136, 0.6) !important;
}

/* Utility patterns */
.neo-brutalism-theme .player-name-rec {
  font-family: var(--header-font);
  text-transform: uppercase;
  font-weight: 800;
  border-bottom: 2px solid var(--text-color);
  display: inline-block;
  transform: rotate(-1deg);
}

.neo-brutalism-theme .team-line-rec,
.neo-brutalism-theme .player-position-line {
  font-weight: 700;
  transform: rotate(-1deg);
}

/* Fun accent pattern for headers */
.neo-brutalism-theme .dash-title::before,
.neo-brutalism-theme .mock-draft-title::before,
.neo-brutalism-theme .draft-picks-title::before,
.neo-brutalism-theme .draft-board-title::before {
  content: "✦";
  position: absolute;
  left: -20px;
  top: 0;
  color: var(--primary-color);
  font-size: 1.5em;
}

.neo-brutalism-theme .dash-title::after,
.neo-brutalism-theme .mock-draft-title::after,
.neo-brutalism-theme .draft-picks-title::after,
.neo-brutalism-theme .draft-board-title::after {
  content: "✦";
  position: absolute;
  right: -20px;
  top: 0;
  color: var(--primary-color);
  font-size: 1.5em;
}


/* Refined Neo Brutalism Theme */
.refined-neo-brutalism-theme {
  --primary-color: #ff5252;
  --secondary-color: #ffcf4a;
  --accent-color: #4ed8f1;
  --text-color: #121212;
  --background-color: #f5f5f5;
  --card-color: #ffffff;
  --success-color: #00cc88;
  --danger-color: #ff3e3e;
  --border-radius: 4px;
  --box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.8);
  --box-shadow-sm: 2px 2px 0px rgba(0, 0, 0, 0.8);
  --box-shadow-hover: 6px 6px 0px rgba(0, 0, 0, 0.8);
  --header-font: 'Space Grotesk', 'Arial Black', sans-serif;
  --body-font: 'Inter', 'Helvetica', sans-serif;
  
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--body-font);
}

/* Core elements */
.refined-neo-brutalism-theme h1, 
.refined-neo-brutalism-theme h2, 
.refined-neo-brutalism-theme h3,
.refined-neo-brutalism-theme .dash-title,
.refined-neo-brutalism-theme .mock-draft-title,
.refined-neo-brutalism-theme .draft-picks-title,
.refined-neo-brutalism-theme .draft-board-title {
  font-family: var(--header-font);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: var(--text-color);
  border-bottom: 3px solid var(--text-color);
  padding-bottom: 10px;
  position: relative;
}

.refined-neo-brutalism-theme a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
}

.refined-neo-brutalism-theme a:hover {
  border-bottom: 2px solid var(--primary-color);
}

/* Buttons */
.refined-neo-brutalism-theme button,
.refined-neo-brutalism-theme .filter-button,
.refined-neo-brutalism-theme .go-to-recruit-button,
.refined-neo-brutalism-theme .add-dashb-button-pf,
.refined-neo-brutalism-theme .signup-button,
.refined-neo-brutalism-theme .player-btn,
.refined-neo-brutalism-theme .load-more-button {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid black;
  border-radius: var(--border-radius);
  font-family: var(--header-font);
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  box-shadow: var(--box-shadow);
  position: relative;
  transition: all 0.2s ease;
}

.refined-neo-brutalism-theme button:hover,
.refined-neo-brutalism-theme .filter-button:hover,
.refined-neo-brutalism-theme .go-to-recruit-button:hover,
.refined-neo-brutalism-theme .add-dashb-button-pf:hover,
.refined-neo-brutalism-theme .signup-button:hover,
.refined-neo-brutalism-theme .player-btn:hover,
.refined-neo-brutalism-theme .load-more-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--box-shadow-hover);
}

.refined-neo-brutalism-theme button:active,
.refined-neo-brutalism-theme .filter-button:active,
.refined-neo-brutalism-theme .go-to-recruit-button:active,
.refined-neo-brutalism-theme .add-dashb-button-pf:active,
.refined-neo-brutalism-theme .signup-button:active,
.refined-neo-brutalism-theme .player-btn:active,
.refined-neo-brutalism-theme .load-more-button:active {
  transform: translate(2px, 2px);
  box-shadow: var(--box-shadow-sm);
}

.refined-neo-brutalism-theme .filter-button.active {
  background-color: var(--accent-color);
  color: var(--text-color);
}

/* Form elements */
.refined-neo-brutalism-theme input,
.refined-neo-brutalism-theme select,
.refined-neo-brutalism-theme textarea {
  background-color: var(--card-color);
  border: 2px solid var(--text-color);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-family: var(--body-font);
  font-weight: 500;
  box-shadow: var(--box-shadow-sm);
}

.refined-neo-brutalism-theme input:focus,
.refined-neo-brutalism-theme select:focus,
.refined-neo-brutalism-theme textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.refined-neo-brutalism-theme input::placeholder {
  color: #999;
  font-style: italic;
}

/* Navigation */
.refined-neo-brutalism-theme .app-header {
  background-color: var(--card-color);
  border-bottom: 3px solid var(--text-color);
}

.refined-neo-brutalism-theme .responsive-navbar {
  font-family: var(--header-font);
}

.refined-neo-brutalism-theme .logo a {
  color: var(--text-color);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  font-size: 1.5rem;
  text-shadow: 2px 2px 0 var(--primary-color);
  border-bottom: none;
}

.refined-neo-brutalism-theme .logo a:hover {
  transform: scale(1.05);
  border-bottom: none;
}

.refined-neo-brutalism-theme .nav-links a {
  color: var(--text-color);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 10px;
  position: relative;
  border-bottom: none;
}

.refined-neo-brutalism-theme .nav-links a:after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.refined-neo-brutalism-theme .nav-links a:hover:after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Cards */
.refined-neo-brutalism-theme .player-ind-card,
.refined-neo-brutalism-theme .player-profile-box,
.refined-neo-brutalism-theme .signup-box,
.refined-neo-brutalism-theme .mock-draft-container {
  background-color: var(--card-color);
  border: 2px solid var(--text-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: visible;
  position: relative;
}

.refined-neo-brutalism-theme .player-ind-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

/* Replace texture with clean background */
.refined-neo-brutalism-theme .player-ind-card::before,
.refined-neo-brutalism-theme .player-profile-box::before {
  background-image: none;
  background-color: transparent;
}

/* Tables */
.refined-neo-brutalism-theme table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border: 2px solid var(--text-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  background-color: var(--card-color);
}

.refined-neo-brutalism-theme table th {
  background-color: var(--secondary-color);
  color: var(--text-color);
  font-family: var(--header-font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem;
  text-align: left;
  border-bottom: 2px solid var(--text-color);
}

.refined-neo-brutalism-theme table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  font-weight: 500;
}

.refined-neo-brutalism-theme table tr:last-child td {
  border-bottom: none;
}

.refined-neo-brutalism-theme table tr:hover td {
  background-color: rgba(255, 82, 82, 0.1);
}

/* Menu items and filters */
.refined-neo-brutalism-theme .menu-item,
.refined-neo-brutalism-theme .menu-item-dash {
  background-color: var(--card-color);
  color: var(--text-color);
  border: 2px solid var(--text-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-sm);
  font-family: var(--header-font);
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.refined-neo-brutalism-theme .menu-item:hover,
.refined-neo-brutalism-theme .menu-item-dash:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--box-shadow);
}

.refined-neo-brutalism-theme .menu-item > a,
.refined-neo-brutalism-theme .menu-item-dash > a {
  color: var(--text-color);
  border-bottom: none;
}

.refined-neo-brutalism-theme .sub-menu {
  background-color: var(--card-color);
  border: 2px solid var(--text-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin-top: 5px;
}

.refined-neo-brutalism-theme .sub-menu-item a {
  color: var(--text-color);
  font-weight: 600;
  border-bottom: none;
}

.refined-neo-brutalism-theme .sub-menu-item a:hover {
  background-color: var(--secondary-color);
  color: var(--text-color);
  transform: none;
  border-bottom: none;
}

/* Images and circles */
.refined-neo-brutalism-theme .white-circle-dash,
.refined-neo-brutalism-theme .profile-placeholder-circle,
.refined-neo-brutalism-theme .white-circle-logo,
.refined-neo-brutalism-theme .placeholder-info-square,
.refined-neo-brutalism-theme .placeholder-circle,
.refined-neo-brutalism-theme .placeholder-square,
.refined-neo-brutalism-theme .white-circle {
  border: 2px solid var(--text-color);
  background-color: white;
  box-shadow: var(--box-shadow-sm);
  overflow: hidden;
}

.refined-neo-brutalism-theme .white-circle-dash:hover,
.refined-neo-brutalism-theme .profile-placeholder-circle:hover,
.refined-neo-brutalism-theme .white-circle-logo:hover,
.refined-neo-brutalism-theme .placeholder-info-square:hover,
.refined-neo-brutalism-theme .placeholder-circle:hover,
.refined-neo-brutalism-theme .placeholder-square:hover,
.refined-neo-brutalism-theme .white-circle:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

/* Footer */
.refined-neo-brutalism-theme .app-footer {
  background-color: var(--text-color);
  color: white;
  border-top: 3px solid var(--primary-color);
  padding: 3rem 2rem 2rem;
}

.refined-neo-brutalism-theme .footer-logo {
  font-family: var(--header-font);
  font-weight: 900;
  display: inline-block;
  color: white;
  text-shadow: 2px 2px 0 var(--primary-color);
}

.refined-neo-brutalism-theme .footer-column h3 {
  color: var(--secondary-color);
  border-bottom: 2px solid var(--secondary-color);
}

.refined-neo-brutalism-theme .footer-column a {
  color: white;
  border-bottom: none;
}

.refined-neo-brutalism-theme .footer-column a:hover {
  color: var(--secondary-color);
  border-bottom: none;
}

/* Theme switcher */
.refined-neo-brutalism-theme .theme-options {
  background-color: var(--card-color);
  border: 2px solid var(--text-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-sm);
}

.refined-neo-brutalism-theme .theme-option {
  border: 1px solid transparent;
}

.refined-neo-brutalism-theme .theme-option:hover {
  border: 1px solid var(--text-color);
}

.refined-neo-brutalism-theme .theme-option.active {
  background-color: var(--primary-color);
  border: 1px solid var(--text-color);
  box-shadow: var(--box-shadow-sm);
}

/* Mock draft specific */
.refined-neo-brutalism-theme .draft-slot {
  border: 2px solid var(--text-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-sm);
}

.refined-neo-brutalism-theme .countdown-time,
.refined-neo-brutalism-theme .pick-number-number,
.refined-neo-brutalism-theme .pick-owner-owner {
  border: 2px solid var(--text-color);
  font-family: var(--header-font);
  font-weight: 700;
  box-shadow: var(--box-shadow-sm);
}

.refined-neo-brutalism-theme .draft-slot::after,
.refined-neo-brutalism-theme .player-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.2;
  z-index: -1;
}

.refined-neo-brutalism-theme .user-pick-slot {
  border: 2px solid var(--primary-color) !important;
  box-shadow: 2px 2px 0px rgba(255, 82, 82, 0.5) !important;
}

.refined-neo-brutalism-theme .current-user-pick {
  border: 2px solid var(--success-color) !important;
  box-shadow: 2px 2px 0px rgba(0, 204, 136, 0.6) !important;
}

/* Utility patterns */
.refined-neo-brutalism-theme .player-name-rec {
  font-family: var(--header-font);
  text-transform: uppercase;
  font-weight: 800;
  border-bottom: 2px solid var(--text-color);
  display: inline-block;
}

.refined-neo-brutalism-theme .team-line-rec,
.refined-neo-brutalism-theme .player-position-line {
  font-weight: 700;
}

/* Fun accent decorations for headers */
.refined-neo-brutalism-theme .dash-title::before,
.refined-neo-brutalism-theme .mock-draft-title::before,
.refined-neo-brutalism-theme .draft-picks-title::before,
.refined-neo-brutalism-theme .draft-board-title::before {
  content: "★";
  position: absolute;
  left: -20px;
  top: 0;
  color: var(--primary-color);
  font-size: 1.25em;
}

.refined-neo-brutalism-theme .dash-title::after,
.refined-neo-brutalism-theme .mock-draft-title::after,
.refined-neo-brutalism-theme .draft-picks-title::after,
.refined-neo-brutalism-theme .draft-board-title::after {
  content: "★";
  position: absolute;
  right: -20px;
  top: 0;
  color: var(--primary-color);
  font-size: 1.25em;
}

/* Custom grid background for certain sections */
.refined-neo-brutalism-theme .mock-draft-container,
.refined-neo-brutalism-theme .player-profile-box,
.refined-neo-brutalism-theme .recruiting-dashboard-container {
  background-image: 
    linear-gradient(transparent 95%, rgba(0, 0, 0, 0.05) 95%, rgba(0, 0, 0, 0.05) 100%),
    linear-gradient(90deg, transparent 95%, rgba(0, 0, 0, 0.05) 95%, rgba(0, 0, 0, 0.05) 100%);
  background-size: 20px 20px;
}

/* Special graphic elements for highlighting */
.refined-neo-brutalism-theme .highlight-box {
  border: 2px solid var(--text-color);
  background-color: var(--card-color);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
  margin: 1.5rem 0;
  position: relative;
}

.refined-neo-brutalism-theme .highlight-box::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: 15px;
  height: 15px;
  background-color: var(--primary-color);
  z-index: 1;
}

/* Badge elements */
.refined-neo-brutalism-theme .badge {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  font-family: var(--header-font);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--text-color);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.8);
}

.refined-neo-brutalism-theme .badge-secondary {
  background-color: var(--secondary-color);
  color: var(--text-color);
}

.refined-neo-brutalism-theme .badge-accent {
  background-color: var(--accent-color);
  color: var(--text-color);
}

/* Tooltip style */
.refined-neo-brutalism-theme .tooltip {
  position: relative;
  display: inline-block;
}

.refined-neo-brutalism-theme .tooltip .tooltip-text {
  visibility: hidden;
  background-color: var(--text-color);
  color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  border: 2px solid var(--primary-color);
  box-shadow: var(--box-shadow);
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.refined-neo-brutalism-theme .tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Progress bar */
.refined-neo-brutalism-theme .progress-container {
  width: 100%;
  background-color: var(--background-color);
  border: 2px solid var(--text-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin: 1rem 0;
}

.refined-neo-brutalism-theme .progress-bar {
  height: 20px;
  background-color: var(--primary-color);
}

/* Loading states */
.refined-neo-brutalism-theme .loading {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.refined-neo-brutalism-theme .loading div {
  display: inline-block;
  position: absolute;
  background-color: var(--primary-color);
  border: 2px solid var(--text-color);
  width: 15px;
  height: 15px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.8);
  animation: loading 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.refined-neo-brutalism-theme .loading div:nth-child(1) {
  left: 8px;
  animation-delay: -0.24s;
}
  
.refined-neo-brutalism-theme .loading div:nth-child(2) {
  left: 32px;
  animation-delay: -0.12s;
}
  
.refined-neo-brutalism-theme .loading div:nth-child(3) {
  left: 56px;
  animation-delay: 0;
}

@keyframes loading {
  0% { top: 8px; height: 64px; }
  50%, 100% { top: 24px; height: 32px; }
}



/* Container styles */
.subscription-container {
  max-width: 70rem;
  margin: 0 auto;
  padding: 1rem;
}

.subscription-heading {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a202c;
}

/* Card styles */
.subscription-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.card-body {
  padding: 1.5rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
}

/* Badges */
.badge-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-status-active {
  background-color: #c6f6d5;
  color: #22543d;
}

.badge-status-cancelled {
  background-color: #fed7d7;
  color: #822727;
}

.badge-status-inactive {
  background-color: #e2e8f0;
  color: #4a5568;
}

.badge-type-premium {
  background-color: #bee3f8;
  color: #2c5282;
}

.badge-type-trial {
  background-color: #e9d8fd;
  color: #553c9a;
}

.badge-type-free {
  background-color: #e2e8f0;
  color: #4a5568;
}

/* Cancellation notice */
.cancellation-notice {
  margin-bottom: 1rem;
  background-color: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 0.375rem;
  padding: 1rem;
}

.cancellation-notice h3 {
  color: #92400e;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cancellation-notice p {
  color: #92400e;
}

.cancellation-notice .highlight {
  display: block;
  font-weight: 700;
  margin-top: 0.5rem;
}

.cancellation-notice .note {
  color: #b45309;
  margin-top: 0.5rem;
  font-style: italic;
  font-size: 0.875rem;
}

/* Divider */
.divider {
  border-top: 1px solid #e2e8f0;
  margin: 1rem 0;
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.info-item label {
  font-size: 0.875rem;
  color: #718096;
}

.info-item .value {
  font-weight: 500;
}

.value-active {
  color: #2f855a;
}

.value-cancelled {
  color: #c53030;
}

.value-inactive {
  color: #4a5568;
}

/* Buttons */
.button-container {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary {
  background-color: #3182ce;
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: #2c5282;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid;
}

.btn-outline-blue {
  border-color: #3182ce;
  color: #3182ce;
}

.btn-outline-blue:hover {
  background-color: #ebf8ff;
}

.btn-outline-red {
  border-color: #e53e3e;
  color: #e53e3e;
}

.btn-outline-red:hover {
  background-color: #fff5f5;
}

.btn-outline-purple {
  border-color: #805ad5;
  color: #805ad5;
}

.btn-outline-purple:hover {
  background-color: #f3e8ff;
}

.btn-green {
  background-color: #38a169;
  color: white;
  border: none;
}

.btn-green:hover {
  background-color: #2f855a;
}

/* Features section - updated for better appearance with more items */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-item:hover {
  background-color: rgba(0, 0, 0, 0.03);
  transform: translateY(-3px);
}

.dark-theme .feature-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1a202c;
}

.feature-description {
  color: #718096;
  line-height: 1.5;
}

/* Loading spinner */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 16rem;
}

.spinner {
  animation: spin 1s linear infinite;
  height: 3rem;
  width: 3rem;
  border-radius: 9999px;
  border-top: 2px solid #3182ce;
  border-bottom: 2px solid #3182ce;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Alert messages */
.alert {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-left-width: 4px;
}

.alert-error {
  background-color: #fed7d7;
  border-color: #e53e3e;
  color: #c53030;
}

.alert-success {
  background-color: #c6f6d5;
  border-color: #38a169;
  color: #2f855a;
}

.dismiss-button {
  color: #2f855a;
  font-weight: 500;
  margin-top: 0.5rem;
  cursor: pointer;
}

.dismiss-button:hover {
  text-decoration: underline;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1rem;
}

.modal {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  max-width: 28rem;
  width: 100%;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a202c;
}

.modal-text {
  margin-bottom: 1.5rem;
  color: #4a5568;
}

.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.modal-btn-cancel {
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  background-color: white;
  color: #4a5568;
  border-radius: 0.375rem;
  cursor: pointer;
}

.modal-btn-cancel:hover {
  background-color: #f7fafc;
}

.modal-btn-confirm {
  padding: 0.5rem 1rem;
  background-color: #e53e3e;
  color: white;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
}

.modal-btn-confirm:hover {
  background-color: #c53030;
}

/* Reactivate button */
.reactivate-btn {
  margin-top: 1rem;
  width: 100%;
  padding: 0.5rem 1rem;
  background-color: #38a169;
  color: white;
  border: none;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
}

.reactivate-btn:hover {
  background-color: #2f855a;
}

/* Subscription modal */
.subscription-modal {
  max-width: 640px !important;
  width: 90%;
}

.subscription-tiers {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.subscription-tier {
  background-color: #f7fafc;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 240px;
  position: relative;
  transition: transform 0.3s ease;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.subscription-tier:hover {
  transform: translateY(-5px);
}

.subscription-tier.featured {
  border: 2px solid #3182ce;
  box-shadow: 0 8px 16px rgba(49, 130, 206, 0.2);
}

.best-value-tag {
  position: absolute;
  top: -12px;
  right: -10px;
  background-color: #3182ce;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
}

.subscription-tier h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: #1a202c;
  text-align: center;
}

.price {
  font-size: 24px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 6px;
  text-align: center;
}

.price span {
  font-size: 14px;
  font-weight: 400;
  color: #718096;
}

.savings {
  font-size: 13px;
  font-weight: 600;
  color: #38a169;
  margin-bottom: 14px;
  text-align: center;
}

.features {
  list-style-type: none;
  padding: 0;
  margin: 16px 0;
}

.features li {
  padding: 6px 0;
  position: relative;
  padding-left: 22px;
  color: #4a5568;
  text-align: left;
  font-size: 14px;
}

.features li::before {
  content: "✓";
  color: #38a169;
  position: absolute;
  left: 0;
}

.subscribe-button {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.subscribe-button.monthly {
  background-color: #4299e1;
  color: white;
}

.subscribe-button.monthly:hover {
  background-color: #3182ce;
}

.subscribe-button.yearly {
  background-color: #3182ce;
  color: white;
}

.subscribe-button.yearly:hover {
  background-color: #2c5282;
}

.subscribe-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.modal-footer {
  margin-top: 15px;
  text-align: right;
}

/* Dark theme styles - using class instead of media query */
.dark-theme .subscription-management-container {
  background-color: #121212;
  color: #f7fafc;
}

.dark-theme .page-title h1 {
  color: #f7fafc;
}

.dark-theme .subscription-container {
  color: #f7fafc;
}

.dark-theme .subscription-card {
  background-color: #2d3748;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.dark-theme .card-title {
  color: #f7fafc;
}

.dark-theme .divider {
  border-top-color: #4a5568;
}

.dark-theme .badge-status-active {
  background-color: rgba(56, 161, 105, 0.2);
  color: #9ae6b4;
}

.dark-theme .badge-status-cancelled {
  background-color: rgba(229, 62, 62, 0.2);
  color: #feb2b2;
}

.dark-theme .badge-status-inactive {
  background-color: #4a5568;
  color: #e2e8f0;
}

.dark-theme .badge-type-premium {
  background-color: rgba(49, 130, 206, 0.2);
  color: #90cdf4;
}

.dark-theme .badge-type-trial {
  background-color: rgba(128, 90, 213, 0.2);
  color: #d6bcfa;
}

.dark-theme .badge-type-free {
  background-color: #4a5568;
  color: #e2e8f0;
}

.dark-theme .info-item label {
  color: #a0aec0;
}

.dark-theme .info-item .value {
  color: #e2e8f0;
}

.dark-theme .value-active {
  color: #9ae6b4;
}

.dark-theme .value-cancelled {
  color: #feb2b2;
}

.dark-theme .value-inactive {
  color: #a0aec0;
}

.dark-theme .cancellation-notice {
  background-color: rgba(146, 64, 14, 0.2);
  border-color: #b45309;
}

.dark-theme .cancellation-notice h3,
.dark-theme .cancellation-notice p {
  color: #fbd38d;
}

.dark-theme .cancellation-notice .note {
  color: #ed8936;
}

.dark-theme .btn-outline-blue {
  border-color: #4299e1;
  color: #4299e1;
}

.dark-theme .btn-outline-blue:hover {
  background-color: rgba(66, 153, 225, 0.2);
}

.dark-theme .btn-outline-red {
  border-color: #f56565;
  color: #f56565;
}

.dark-theme .btn-outline-red:hover {
  background-color: rgba(245, 101, 101, 0.2);
}

.dark-theme .btn-outline-purple {
  border-color: #b794f4;
  color: #b794f4;
}

.dark-theme .btn-outline-purple:hover {
  background-color: rgba(183, 148, 244, 0.2);
}

.dark-theme .feature-title {
  color: #f7fafc;
}

.dark-theme .feature-description {
  color: #a0aec0;
}

.dark-theme .modal {
  background-color: #2d3748;
  border: 1px solid #4a5568;
}

.dark-theme .modal-title {
  color: #f7fafc;
}

.dark-theme .modal-text {
  color: #e2e8f0;
}

.dark-theme .modal-btn-cancel {
  border-color: #4a5568;
  background-color: #2d3748;
  color: #e2e8f0;
}

.dark-theme .modal-btn-cancel:hover {
  background-color: #4a5568;
}

.dark-theme .subscription-tier {
  background-color: #1f2937;
  border-color: #4a5568;
}

.dark-theme .subscription-tier h3 {
  color: #f7fafc;
}

.dark-theme .price {
  color: #e2e8f0;
}

.dark-theme .price span {
  color: #a0aec0;
}

.dark-theme .features li {
  color: #cbd5e0;
}

.dark-theme .alert-error {
  background-color: rgba(245, 101, 101, 0.2);
  border-color: #e53e3e;
  color: #feb2b2;
}

.dark-theme .alert-success {
  background-color: rgba(56, 161, 105, 0.2);
  border-color: #38a169;
  color: #9ae6b4;
}

.dark-theme .spinner {
  border-top-color: #90cdf4;
  border-bottom-color: #90cdf4;
}

.dark-theme .dismiss-button {
  color: #9ae6b4;
}

/* Replace the existing media query dark mode with class-based styling */
/* Remove @media (prefers-color-scheme: dark) {...} section */

/* ----- Page Title Styling ----- */
.page-title {
  width: 100%;
  padding: 0 1rem;
  margin: 2rem 0 1.3rem 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-title h1 {
  font-size: 2rem;
  font-weight: bold;
  color: #1a202c; /* Default color for light theme */
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dark-theme .page-title h1 {
  color: #f7fafc; /* Light color for dark theme */
}

/* Responsive design */
@media (max-width: 700px) {
  .subscription-tiers {
    flex-direction: column;
  }
  
  .subscription-tier {
    width: 100%;
  }
}

/* Responsive styles for the title - matching PlayerComparison */
@media (min-width: 1024px) {
  .page-title h1 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1200px) {
  .page-title h1 {
    font-size: 2.8rem;
  }
}

/* Media query for small screens - make card header stack vertically */
@media (max-width: 465px) {
  .card-header {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .badge-container {
    align-self: center;
  }
  
  /* Make badges wrap better on small screens */
  .badge {
    display: inline-block;
    margin-bottom: 0.25rem;
  }
}

/* Verification message styles */
.verification-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-start;
}

.verification-message {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #ebf8ff;
  border-left: 4px solid #3182ce;
  border-radius: 0.25rem;
}

.verification-message p {
  margin: 0.5rem 0;
  color: #2c5282;
}

.verification-message p:first-child {
  margin-top: 0;
}

.verification-message p:last-child {
  margin-bottom: 0;
}

.verification-message .support-note {
  font-size: 0.875rem;
  font-style: italic;
  color: #4a5568;
  margin-top: 0.75rem;
}

/* Dark theme for verification elements */
.dark-theme .verification-message {
  background-color: rgba(49, 130, 206, 0.2);
  border-color: #3182ce;
}

.dark-theme .verification-message p {
  color: #90cdf4;
}

.dark-theme .verification-message .support-note {
  color: #a0aec0;
}
.legal-container {
  display: flex;
  justify-content: center;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  width: 100%;
  background-color: var(--background-color);
  color: var(--text-color);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* New header styling */
.legal-header {
  margin-bottom: 2rem;
  text-align: center;
}

.legal-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.dark-theme .legal-title {
  color: white;
}

.effective-date {
  font-style: italic;
  color: var(--secondary-text-color);
}

.dark-theme .effective-date {
  color: white;
}

.dark-theme .section-title {
  color: white;
}

.dark-theme .section-text span {
  color: white;
}

/* Section styling */
.legal-section {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.section-text {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--text-color);
}

.text-bold {
  font-weight: bold;
  color: var(--strong-text-color);
}

/* List styling */
.list-container {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.list-item {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--text-color);
}

.list-item:before {
  content: "•";
  position: absolute;
  left: -1rem;
  color: var(--heading-color);
}

.email-link {
  color: var(--link-color);
  text-decoration: underline;
  cursor: pointer;
}

/* Light theme variables */
:root, :root.light-theme {
  --background-color: #ffffff;
  --text-color: #333333;
  --heading-color: #1a1a1a;
  --secondary-text-color: #666666;
  --strong-text-color: #1a1a1a;
  --link-color: #0066cc;
  --bg-color: #ffffff;
}

/* Dark theme variables */
:root.dark-theme {
  --background-color: #1a1a1a;
  --text-color: #e0e0e0;
  --heading-color: #ffffff;
  --secondary-text-color: #b0b0b0;
  --strong-text-color: #ffffff;
  --link-color: #66b3ff;
  --bg-color: #2a2a2a;
}

/* Media query for system preference */
@media (prefers-color-scheme: dark) {
  :root:not(.light-theme) {
    --background-color: #1a1a1a;
    --text-color: #e0e0e0;
    --heading-color: #ffffff;
    --secondary-text-color: #b0b0b0;
    --strong-text-color: #ffffff;
    --link-color: #66b3ff;
    --bg-color: #2a2a2a;
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .legal-content {
    padding: 1.5rem;
  }
  
  .legal-title {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .legal-content {
    padding: 1rem;
  }
  
  .legal-title {
    font-size: 1.6rem;
  }
  
  .section-title {
    font-size: 1.2rem;
  }

  .section-text {
    font-size: .8rem;
  }

  .legal-section a {
    font-size: .8rem;
  }
}

.feedback-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feedback-content {
  width: 100%;
}

.feedback-container h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
  text-align: center;
}

.feedback-intro {
  margin-bottom: 2rem;
  color: #555;
  text-align: center;
  line-height: 1.6;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.feedback-button {
  padding: 0.75rem 1.5rem;
  background-color: #4f46e5;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  align-self: center;
  margin-top: 1rem;
}

.feedback-button:hover {
  background-color: #4338ca;
}

.feedback-button:disabled {
  background-color: #a5a5a5;
  cursor: not-allowed;
}

.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.required {
  color: #ef4444;
}

/* Success message styling */
.feedback-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.success-icon {
  width: 60px;
  height: 60px;
  background-color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 1.5rem;
}

.feedback-success h2 {
  margin-bottom: 1rem;
  color: #333;
}

.feedback-success p {
  margin-bottom: 2rem;
  color: #555;
  line-height: 1.6;
}

/* Dark mode styles */
.dark-theme .feedback-container {
  background-color: #1f2937;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dark-theme .feedback-container h1,
.dark-theme .feedback-success h2 {
  color: #f1f5f9;
}

.dark-theme .feedback-intro,
.dark-theme .feedback-success p {
  color: #d1d5db;
}

.dark-theme .form-group label {
  color: #f1f5f9;
}

.dark-theme .form-group input,
.dark-theme .form-group textarea {
  background-color: #374151;
  border-color: #4b5563;
  color: #f1f5f9;
}

.dark-theme .form-group input::placeholder,
.dark-theme .form-group textarea::placeholder {
  color: #9ca3af;
}

.dark-theme .form-group input:focus,
.dark-theme .form-group textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

@media (max-width: 768px) {
  .feedback-container {
    margin: 2rem;
    padding: 1.5rem;
  }
  
  .feedback-container h1 {
    font-size: 1.5rem;
  }
}
.my-scouting-attributes-container {
  padding: 20px;
  border-left: 3px solid #fff;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-radius: 10px;
  margin: 0 20px 20px;
  background-color: rgba(0, 0, 0, 0.1);
}

.my-scouting-attributes-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.my-scouting-section-title {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

.my-scouting-add-attribute-button {
  background-color: #fcfcfc;
  color: black;
  border: none;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.my-scouting-add-attribute-button:hover {
  background-color: #e5e5e5;
}

.my-scouting-attributes-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}



.my-scouting-attribute-item {
  border-left: 3px solid #fff;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-radius: 12px;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  width: 48%;
}

@media(max-width: 800px) {
  .my-scouting-attribute-item{
    width: 98%;
  }
}

.my-scouting-attribute-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  gap: 3px;
}

.my-scouting-attribute-title-row {
  display: flex;
  align-items: center;
  flex: 1;
}

.my-scouting-attribute-name {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  flex: 1;
}

.my-scouting-remove-attribute-button {
  width: 24px;
  height: 24px;
  border-radius: 12px;
  background-color: #ef4444;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

.my-scouting-remove-attribute-button:hover {
  background-color: #dc2626;
}

.my-scouting-score-display {
  padding: 6px 12px;
  border-radius: 16px;
  min-width: 50px;
  text-align: center;
  background-color: #4299e1;
}

.my-scouting-score-text {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

.my-scouting-score-unit {
  color: #becbe1;
  font-size: 11px;
  font-weight: normal;
}

.my-scouting-attribute-description {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 12px;
  line-height: 18px;
}

.my-scouting-custom-label {
  color: #4299e1;
  font-style: italic;
  font-size: 12px;
}

.my-scouting-slider-container {
  margin-top: 4px;
}

.my-scouting-attribute-slider {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: #707070;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.my-scouting-attribute-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}

.my-scouting-attribute-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  border: none;
}

.my-scouting-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  padding: 0 8px;
}

.my-scouting-slider-label {
  color: #9ca3af;
  font-size: 12px;
}

.my-scouting-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.my-scouting-modal-content {
  background-color: #374151;
  border-radius: 12px;
  margin: 20px;
  max-width: 400px;
  width: 90%;
}

.my-scouting-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #4b5563;
}

.my-scouting-modal-title {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}

.my-scouting-modal-close {
  font-size: 24px;
  color: #9ca3af;
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
}

.my-scouting-modal-body {
  padding: 20px;
}

.my-scouting-modal-label {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 12px;
  display: block;
}

.my-scouting-modal-input {
  background-color: #4b5563;
  color: #fff;
  font-size: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #6b7280;
  width: 100%;
  box-sizing: border-box;
}

.my-scouting-modal-input::placeholder {
  color: #64748b;
}

.my-scouting-modal-text-area {
  min-height: 80px;
  resize: vertical;
}

.my-scouting-modal-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  gap: 12px;
}

.my-scouting-modal-cancel-button {
  flex: 1;
  background-color: #6b7280;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.my-scouting-modal-cancel-button:hover {
  background-color: #5b6370;
}

.my-scouting-modal-add-button {
  flex: 1;
  background-color: #4299e1;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.my-scouting-modal-add-button:hover {
  background-color: #3182ce;
}

.my-scouting-attribute-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.my-scouting-notes-toggle-button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
}

.my-scouting-notes-toggle-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.my-scouting-attribute-notes-container {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.my-scouting-attribute-notes-label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  margin-bottom: 6px;
  font-weight: 500;
}

.my-scouting-attribute-notes-textarea {
  width: 100%;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  font-size: 14px;
  line-height: 1.4;
  resize: vertical;
  min-height: 60px;
}

.my-scouting-attribute-notes-textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.4);
}

.my-scouting-attribute-notes-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive design */
@media (max-width: 768px) {
  .my-scouting-attributes-container {
    margin: 0 16px 16px;
    padding: 16px;
  }

  .my-scouting-modal-content {
    margin: 16px;
  }
}
.my-scouting-rankings-container {
  padding: 20px;
  border-left: 3px solid #fff;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-radius: 10px;
  margin: 0 20px 20px;
  background-color: rgba(0, 0, 0, 0.1);
}


.my-scouting-rankings-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.my-scouting-rankings-save-button {
  background-color: #4299e1;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  min-width: 60px;
  transition: all 0.3s ease;
}

.my-scouting-rankings-save-button:hover {
  background-color: #3182ce;
}

.my-scouting-rankings-save-button.disabled {
  background-color: #64748b;
  cursor: not-allowed;
}

.my-scouting-rankings-instructions {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.my-scouting-rankings-instructions-text {
  font-size: 12px;
  color: #e5e7eb;
  text-align: center;
  font-style: italic;
  margin: 0;
}

.my-scouting-rankings-range-text {
  font-size: 12px;
  color: #d1d5db;
  text-align: center;
  font-weight: bold;
  margin: 8px 0 0 0;
}

.my-scouting-ranking-buttons-container {
  margin-bottom: 16px;
}

.my-scouting-ranking-label-button {
  background-color: #4299e1;
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.my-scouting-ranking-label-button:hover {
  background-color: #3182ce;
}

.my-scouting-rankings-grid {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.my-scouting-ranking-item {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.my-scouting-ranking-label {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
}

.my-scouting-ranking-input {
  background-color: #4b5563;
  color: #fff;
  border: 1px solid #6b7280;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 16px;
}

.my-scouting-ranking-input:focus {
  outline: none;
  border-color: #4299e1;
}

.my-scouting-loading-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.my-scouting-loading-text {
  color: #e5e7eb;
  margin-left: 8px;
  font-size: 14px;
}

.my-scouting-load-more-container {
  display: flex;
  justify-content: center;
  margin: 12px 0;
}

.my-scouting-load-more-button {
  background-color: #6366f1;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
}

.my-scouting-load-more-button:hover {
  background-color: #4f46e5;
  transform: translateY(-1px);
}

.my-scouting-load-more-button:active {
  transform: translateY(0);
}

.my-scouting-players-list-container {
  margin-top: 16px;
}

.my-scouting-player-row {
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid #4b5563;
  cursor: pointer;
  transition: all 0.3s ease;
}

.my-scouting-player-row:hover {
  border-color: #6b7280;
}

.my-scouting-player-row.current-player {
  border-color: #10b981;
  border-width: 2px;
}

.my-scouting-player-row.dragged-player {
  border-color: #3b82f6;
  border-width: 2px;
}

.my-scouting-drag-handle {
  width: 20px;
  text-align: center;
  margin-right: 8px;
}

.my-scouting-drag-handle-text {
  color: #9ca3af;
  font-size: 16px;
  font-weight: bold;
}

.my-scouting-rank-number {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  width: 24px;
  text-align: center;
  margin-right: 12px;
}

.my-scouting-player-image-rank {
  background-color: white;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  margin-right: 12px;
  object-fit: cover;
  flex-shrink: 0;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
}

.my-scouting-placeholder-image {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background-color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
}

.my-scouting-placeholder-text {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
}

.my-scouting-player-info {
  flex: 1;
}

.my-scouting-player-name {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 2px;
}

.my-scouting-player-name.current-player-name {
  color: #10b981;
}

.my-scouting-team-info {
  display: flex;
  align-items: center;
}

.my-scouting-team-logo-container {
  width: 18px;
  height: 18px;
  border-radius: 9px;
  background-color: #ffffff;
  margin-right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.my-scouting-team-logo {
  width: 16px;
  height: 16px;
  border-radius: 8px;
  object-fit: contain;
}

.my-scouting-player-team {
  font-size: 12px;
  color: #fff;
}

.my-scouting-current-player-badge {
  background-color: #10b981;
  padding: 4px 8px;
  border-radius: 12px;
}

.my-scouting-current-player-badge-text {
  color: #fff;
  font-size: 10px;
  font-weight: bold;
}

.my-scouting-drag-instructions {
  background-color: #1e40af;
  padding: 8px;
  border-radius: 8px;
  margin-top: 8px;
}

.my-scouting-drag-instructions-text {
  color: #fff;
  font-size: 12px;
  text-align: center;
  font-weight: bold;
  margin: 0;
}

/* Responsive design */
@media (max-width: 768px) {
  .my-scouting-rankings-container {
    margin: 0 16px 16px;
    padding: 16px;
  }

  .my-scouting-rankings-grid {
    flex-direction: column;
    gap: 12px;
  }

  .my-scouting-player-row {
    padding: 10px;
  }

  .my-scouting-player-image-rank,
  .my-scouting-placeholder-image {
    width: 36px;
    height: 36px;
    border-radius: 18px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
  }
}
.my-scouting-container {
  margin: auto;
  height: fit-content;
  max-width: 1000px;
  background-color: #1e1e24;
  overflow-y: auto;
}

.my-scouting-scroll-view {
  padding-bottom: 40px;
  min-height: calc(100vh - 40px);
}

.my-scouting-logo-name-position{
  display: flex;
  flex-direction: column
}

.scouting-logo-name-flex{
  display: flex;

}

.my-scouting-loading-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #1e1e24;
}

.my-scouting-loading-indicator {
  color: #4299e1;
  font-size: 18px;
  margin-bottom: 16px;
}

.my-scouting-loading-text {
  color: #fff;
  font-size: 16px;
}

.my-scouting-error-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #1e1e24;
  padding: 20px;
}

.my-scouting-error-text {
  color: #fff;
  font-size: 16px;
  text-align: center;
  margin-bottom: 20px;
}

.my-scouting-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 20px 20px;
}

.my-scouting-back-button {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.my-scouting-back-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.my-scouting-save-button {
  background-color: #4299e1;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  min-width: 100px;
  transition: all 0.3s ease;
}

.my-scouting-save-button:hover {
  background-color: #3182ce;
}

.my-scouting-save-button.disabled {
  background-color: #64748b;
  cursor: not-allowed;
}

.my-scouting-player-info-section {
  padding: 0 20px 20px;
}

.my-scouting-player-info-container {
  display: flex;
  border-left: 3px solid #fff;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}

.my-scouting-player-image-container {
  margin-right: 16px;
  /* width: 100px; */
  /* height: 100px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.my-scouting-player-image {
  width: 100px;
  height: 100px;
  border-radius: 60px;
  background-color: #ddd;
  margin-bottom: 12px;
  object-fit: cover;
}

.my-scouting-player-image img{
  width: 200px;
  height: 200px;
}

.my-scouting-player-details-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.my-scouting-player-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.my-scouting-team-logo-circle {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

.my-scouting-team-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.my-scouting-player-name {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  flex: 1;
  margin: 0;
}

.my-scouting-player-position {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.my-scouting-draft-pick {
  font-size: 14px;
  color: #fff;
  margin-bottom: 12px;
  font-weight: bold;
}

.my-scouting-player-details-grid {
  display: flex;
  /* flex-wrap: wrap; */
  gap: 8px;
}
@media (max-width: 850px){
.my-scouting-player-details-grid{
  flex-wrap: wrap;
}
}

.my-scouting-detail-item {
  width: calc(50% - 4px);
  margin-bottom: 8px;
}

.my-scouting-detail-label {
  font-size: 12px;
  color: #9ca3af;
  font-weight: bold;
}

.my-scouting-detail-value {
  font-size: 12px;
  color: #fff;
  margin-top: 2px;
}

.my-scouting-grade-container {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.my-scouting-grade-container-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@media(max-width: 800px){
  .my-scouting-grade-container-2{
    display: none;
    }

  .my-scouting-grade-container{
    display: flex;
  }
}

.my-scouting-grade-label {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}

.my-scouting-grade-badge {
  padding: 8px 16px;
  border-radius: 20px;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.my-scouting-grade-text {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
}

.my-scouting-grade-unit {
  color: #e5e7eb;
  font-size: 12px;
  font-weight: normal;
}

/* Responsive design */
@media (max-width: 768px) {
  /* .my-scouting-header {
    padding: 60px 16px 16px;
  }

  .my-scouting-player-info-section {
    padding: 0 16px 16px;
  } */

  /* .my-scouting-player-info-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  } */
/* 
  .my-scouting-player-image-container {
    margin-right: 0;
    margin-bottom: 16px;
  } */

  /* .my-scouting-player-details-container {
    align-items: center;
    width: 100%;
  } */
/* 
  .my-scouting-player-name-row {
    justify-content: flex-start;
  }

  .my-scouting-player-details-grid {
    justify-content: center;
    width: 100%;
  }

  .my-scouting-detail-item {
    width: calc(50% - 4px);
    text-align: center;
  } */
}
:root {
  --toastify-color-light: #fff;
  --toastify-color-dark: #121212;
  --toastify-color-info: #3498db;
  --toastify-color-success: #07bc0c;
  --toastify-color-warning: #f1c40f;
  --toastify-color-error: hsl(6, 78%, 57%);
  --toastify-color-transparent: rgba(255, 255, 255, 0.7);

  --toastify-icon-color-info: var(--toastify-color-info);
  --toastify-icon-color-success: var(--toastify-color-success);
  --toastify-icon-color-warning: var(--toastify-color-warning);
  --toastify-icon-color-error: var(--toastify-color-error);

  --toastify-container-width: fit-content;
  --toastify-toast-width: 320px;
  --toastify-toast-offset: 16px;
  --toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));
  --toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));
  --toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));
  --toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));
  --toastify-toast-background: #fff;
  --toastify-toast-padding: 14px;
  --toastify-toast-min-height: 64px;
  --toastify-toast-max-height: 800px;
  --toastify-toast-bd-radius: 6px;
  --toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  --toastify-font-family: sans-serif;
  --toastify-z-index: 9999;
  --toastify-text-color-light: #757575;
  --toastify-text-color-dark: #fff;

  /* Used only for colored theme */
  --toastify-text-color-info: #fff;
  --toastify-text-color-success: #fff;
  --toastify-text-color-warning: #fff;
  --toastify-text-color-error: #fff;

  --toastify-spinner-color: #616161;
  --toastify-spinner-color-empty-area: #e0e0e0;
  --toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);
  --toastify-color-progress-dark: #bb86fc;
  --toastify-color-progress-info: var(--toastify-color-info);
  --toastify-color-progress-success: var(--toastify-color-success);
  --toastify-color-progress-warning: var(--toastify-color-warning);
  --toastify-color-progress-error: var(--toastify-color-error);
  /* used to control the opacity of the progress trail */
  --toastify-color-progress-bgo: 0.2;
}

.Toastify__toast-container {
  z-index: var(--toastify-z-index);
  -webkit-transform: translate3d(0, 0, var(--toastify-z-index));
  position: fixed;
  width: var(--toastify-container-width);
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.Toastify__toast-container--top-left {
  top: var(--toastify-toast-top);
  left: var(--toastify-toast-left);
}
.Toastify__toast-container--top-center {
  top: var(--toastify-toast-top);
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
}
.Toastify__toast-container--top-right {
  top: var(--toastify-toast-top);
  right: var(--toastify-toast-right);
  align-items: end;
}
.Toastify__toast-container--bottom-left {
  bottom: var(--toastify-toast-bottom);
  left: var(--toastify-toast-left);
}
.Toastify__toast-container--bottom-center {
  bottom: var(--toastify-toast-bottom);
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
}
.Toastify__toast-container--bottom-right {
  bottom: var(--toastify-toast-bottom);
  right: var(--toastify-toast-right);
  align-items: end;
}

.Toastify__toast {
  --y: 0;
  position: relative;
  touch-action: none;
  width: var(--toastify-toast-width);
  min-height: var(--toastify-toast-min-height);
  box-sizing: border-box;
  margin-bottom: 1rem;
  padding: var(--toastify-toast-padding);
  border-radius: var(--toastify-toast-bd-radius);
  box-shadow: var(--toastify-toast-shadow);
  max-height: var(--toastify-toast-max-height);
  font-family: var(--toastify-font-family);
  /* webkit only issue #791 */
  z-index: 0;
  /* inner swag */
  display: flex;
  flex: 1 auto;
  align-items: center;
  word-break: break-word;
}

@media only screen and (max-width: 480px) {
  .Toastify__toast-container {
    width: 100vw;
    left: env(safe-area-inset-left);
    margin: 0;
  }
  .Toastify__toast-container--top-left,
  .Toastify__toast-container--top-center,
  .Toastify__toast-container--top-right {
    top: env(safe-area-inset-top);
    transform: translateX(0);
  }
  .Toastify__toast-container--bottom-left,
  .Toastify__toast-container--bottom-center,
  .Toastify__toast-container--bottom-right {
    bottom: env(safe-area-inset-bottom);
    transform: translateX(0);
  }
  .Toastify__toast-container--rtl {
    right: env(safe-area-inset-right);
    left: initial;
  }
  .Toastify__toast {
    --toastify-toast-width: 100%;
    margin-bottom: 0;
    border-radius: 0;
  }
}

.Toastify__toast-container[data-stacked='true'] {
  width: var(--toastify-toast-width);
}

.Toastify__toast--stacked {
  position: absolute;
  width: 100%;
  transform: translate3d(0, var(--y), 0) scale(var(--s));
  transition: transform 0.3s;
}

.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,
.Toastify__toast--stacked[data-collapsed] .Toastify__close-button {
  transition: opacity 0.1s;
}

.Toastify__toast--stacked[data-collapsed='false'] {
  overflow: visible;
}

.Toastify__toast--stacked[data-collapsed='true']:not(:last-child) > * {
  opacity: 0;
}

.Toastify__toast--stacked:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: calc(var(--g) * 1px);
  bottom: 100%;
}

.Toastify__toast--stacked[data-pos='top'] {
  top: 0;
}

.Toastify__toast--stacked[data-pos='bot'] {
  bottom: 0;
}

.Toastify__toast--stacked[data-pos='bot'].Toastify__toast--stacked:before {
  transform-origin: top;
}

.Toastify__toast--stacked[data-pos='top'].Toastify__toast--stacked:before {
  transform-origin: bottom;
}

.Toastify__toast--stacked:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  transform: scaleY(3);
  z-index: -1;
}

.Toastify__toast--rtl {
  direction: rtl;
}

.Toastify__toast--close-on-click {
  cursor: pointer;
}

.Toastify__toast-icon {
  margin-inline-end: 10px;
  width: 22px;
  flex-shrink: 0;
  display: flex;
}

.Toastify--animate {
  animation-fill-mode: both;
  animation-duration: 0.5s;
}

.Toastify--animate-icon {
  animation-fill-mode: both;
  animation-duration: 0.3s;
}

.Toastify__toast-theme--dark {
  background: var(--toastify-color-dark);
  color: var(--toastify-text-color-dark);
}

.Toastify__toast-theme--light {
  background: var(--toastify-color-light);
  color: var(--toastify-text-color-light);
}

.Toastify__toast-theme--colored.Toastify__toast--default {
  background: var(--toastify-color-light);
  color: var(--toastify-text-color-light);
}

.Toastify__toast-theme--colored.Toastify__toast--info {
  color: var(--toastify-text-color-info);
  background: var(--toastify-color-info);
}

.Toastify__toast-theme--colored.Toastify__toast--success {
  color: var(--toastify-text-color-success);
  background: var(--toastify-color-success);
}

.Toastify__toast-theme--colored.Toastify__toast--warning {
  color: var(--toastify-text-color-warning);
  background: var(--toastify-color-warning);
}

.Toastify__toast-theme--colored.Toastify__toast--error {
  color: var(--toastify-text-color-error);
  background: var(--toastify-color-error);
}

.Toastify__progress-bar-theme--light {
  background: var(--toastify-color-progress-light);
}

.Toastify__progress-bar-theme--dark {
  background: var(--toastify-color-progress-dark);
}

.Toastify__progress-bar--info {
  background: var(--toastify-color-progress-info);
}

.Toastify__progress-bar--success {
  background: var(--toastify-color-progress-success);
}

.Toastify__progress-bar--warning {
  background: var(--toastify-color-progress-warning);
}

.Toastify__progress-bar--error {
  background: var(--toastify-color-progress-error);
}

.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
  background: var(--toastify-color-transparent);
}

.Toastify__close-button {
  color: #fff;
  position: absolute;
  top: 6px;
  right: 6px;
  background: transparent;
  outline: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s ease;
  z-index: 1;
}

.Toastify__toast--rtl .Toastify__close-button {
  left: 6px;
  right: unset;
}

.Toastify__close-button--light {
  color: #000;
  opacity: 0.3;
}

.Toastify__close-button > svg {
  fill: currentColor;
  height: 16px;
  width: 14px;
}

.Toastify__close-button:hover,
.Toastify__close-button:focus {
  opacity: 1;
}

@keyframes Toastify__trackProgress {
  0% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}

.Toastify__progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.7;
  transform-origin: left;
}

.Toastify__progress-bar--animated {
  animation: Toastify__trackProgress linear 1 forwards;
}

.Toastify__progress-bar--controlled {
  transition: transform 0.2s;
}

.Toastify__progress-bar--rtl {
  right: 0;
  left: initial;
  transform-origin: right;
  border-bottom-left-radius: initial;
}

.Toastify__progress-bar--wrp {
  position: absolute;
  overflow: hidden;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border-bottom-left-radius: var(--toastify-toast-bd-radius);
  border-bottom-right-radius: var(--toastify-toast-bd-radius);
}

.Toastify__progress-bar--wrp[data-hidden='true'] {
  opacity: 0;
}

.Toastify__progress-bar--bg {
  opacity: var(--toastify-color-progress-bgo);
  width: 100%;
  height: 100%;
}

.Toastify__spinner {
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 2px solid;
  border-radius: 100%;
  border-color: var(--toastify-spinner-color-empty-area);
  border-right-color: var(--toastify-spinner-color);
  animation: Toastify__spin 0.65s linear infinite;
}

@keyframes Toastify__bounceInRight {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(-25px, 0, 0);
  }
  75% {
    transform: translate3d(10px, 0, 0);
  }
  90% {
    transform: translate3d(-5px, 0, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutRight {
  20% {
    opacity: 1;
    transform: translate3d(-20px, var(--y), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(2000px, var(--y), 0);
  }
}

@keyframes Toastify__bounceInLeft {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(-3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(25px, 0, 0);
  }
  75% {
    transform: translate3d(-10px, 0, 0);
  }
  90% {
    transform: translate3d(5px, 0, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutLeft {
  20% {
    opacity: 1;
    transform: translate3d(20px, var(--y), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(-2000px, var(--y), 0);
  }
}

@keyframes Toastify__bounceInUp {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(0, 3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, -20px, 0);
  }
  75% {
    transform: translate3d(0, 10px, 0);
  }
  90% {
    transform: translate3d(0, -5px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes Toastify__bounceOutUp {
  20% {
    transform: translate3d(0, calc(var(--y) - 10px), 0);
  }
  40%,
  45% {
    opacity: 1;
    transform: translate3d(0, calc(var(--y) + 20px), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, -2000px, 0);
  }
}

@keyframes Toastify__bounceInDown {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(0, -3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, 25px, 0);
  }
  75% {
    transform: translate3d(0, -10px, 0);
  }
  90% {
    transform: translate3d(0, 5px, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutDown {
  20% {
    transform: translate3d(0, calc(var(--y) - 10px), 0);
  }
  40%,
  45% {
    opacity: 1;
    transform: translate3d(0, calc(var(--y) + 20px), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, 2000px, 0);
  }
}

.Toastify__bounce-enter--top-left,
.Toastify__bounce-enter--bottom-left {
  animation-name: Toastify__bounceInLeft;
}

.Toastify__bounce-enter--top-right,
.Toastify__bounce-enter--bottom-right {
  animation-name: Toastify__bounceInRight;
}

.Toastify__bounce-enter--top-center {
  animation-name: Toastify__bounceInDown;
}

.Toastify__bounce-enter--bottom-center {
  animation-name: Toastify__bounceInUp;
}

.Toastify__bounce-exit--top-left,
.Toastify__bounce-exit--bottom-left {
  animation-name: Toastify__bounceOutLeft;
}

.Toastify__bounce-exit--top-right,
.Toastify__bounce-exit--bottom-right {
  animation-name: Toastify__bounceOutRight;
}

.Toastify__bounce-exit--top-center {
  animation-name: Toastify__bounceOutUp;
}

.Toastify__bounce-exit--bottom-center {
  animation-name: Toastify__bounceOutDown;
}

@keyframes Toastify__zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}

@keyframes Toastify__zoomOut {
  from {
    opacity: 1;
  }
  50% {
    opacity: 0;
    transform: translate3d(0, var(--y), 0) scale3d(0.3, 0.3, 0.3);
  }
  to {
    opacity: 0;
  }
}

.Toastify__zoom-enter {
  animation-name: Toastify__zoomIn;
}

.Toastify__zoom-exit {
  animation-name: Toastify__zoomOut;
}

@keyframes Toastify__flipIn {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  to {
    transform: perspective(400px);
  }
}

@keyframes Toastify__flipOut {
  from {
    transform: translate3d(0, var(--y), 0) perspective(400px);
  }
  30% {
    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1;
  }
  to {
    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0;
  }
}

.Toastify__flip-enter {
  animation-name: Toastify__flipIn;
}

.Toastify__flip-exit {
  animation-name: Toastify__flipOut;
}

@keyframes Toastify__slideInRight {
  from {
    transform: translate3d(110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInLeft {
  from {
    transform: translate3d(-110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInUp {
  from {
    transform: translate3d(0, 110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInDown {
  from {
    transform: translate3d(0, -110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideOutRight {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(110%, var(--y), 0);
  }
}

@keyframes Toastify__slideOutLeft {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(-110%, var(--y), 0);
  }
}

@keyframes Toastify__slideOutDown {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, 500px, 0);
  }
}

@keyframes Toastify__slideOutUp {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, -500px, 0);
  }
}

.Toastify__slide-enter--top-left,
.Toastify__slide-enter--bottom-left {
  animation-name: Toastify__slideInLeft;
}

.Toastify__slide-enter--top-right,
.Toastify__slide-enter--bottom-right {
  animation-name: Toastify__slideInRight;
}

.Toastify__slide-enter--top-center {
  animation-name: Toastify__slideInDown;
}

.Toastify__slide-enter--bottom-center {
  animation-name: Toastify__slideInUp;
}

.Toastify__slide-exit--top-left,
.Toastify__slide-exit--bottom-left {
  animation-name: Toastify__slideOutLeft;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--top-right,
.Toastify__slide-exit--bottom-right {
  animation-name: Toastify__slideOutRight;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--top-center {
  animation-name: Toastify__slideOutUp;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--bottom-center {
  animation-name: Toastify__slideOutDown;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

@keyframes Toastify__spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* Forgot Password Styles */

/* Variables - Light Theme */
:root {
  --background-color: #f3f4f6;
  --card-bg: #ffffff;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-light: #9ca3af;
  --border-color: #d1d5db;
  --input-bg: #ffffff;
  --button-primary: #3b82f6;
  --button-primary-hover: #2563eb;
  --button-disabled: #93c5fd;
  --button-text: #ffffff;
  --link-color: #2563eb;
  --link-hover: #1d4ed8;
  --success-bg: #ecfdf5;
  --success-border: #10b981;
  --success-text: #065f46;
  --error-bg: #fef2f2;
  --error-border: #ef4444;
  --error-text: #b91c1c;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Variables - Dark Theme */
.dark-theme {
  --background-color: #111827;
  --card-bg: #1f2937;
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-light: #9ca3af;
  --border-color: #374151;
  --input-bg: #374151;
  --button-primary: #3b82f6;
  --button-primary-hover: #2563eb;
  --button-disabled: #1e40af;
  --button-text: #ffffff;
  --link-color: #60a5fa;
  --link-hover: #93c5fd;
  --success-bg: rgba(16, 185, 129, 0.15);
  --success-border: #059669;
  --success-text: #34d399;
  --error-bg: rgba(239, 68, 68, 0.15);
  --error-border: #dc2626;
  --error-text: #f87171;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

/* Main container */
.forgot-password-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--background-color);
  padding: 2rem 1rem;
}

/* Card container */
.forgot-password-card {
  max-width: 32rem;
  width: 100%;
  background-color: var(--card-bg);
  padding: 2.5rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  margin: 0 auto;
}

.dark-theme .forgot-password-card {
  border: 1px solid var(--border-color);
}

/* Headers and text */
.card-header {
  margin-bottom: 2rem;
  text-align: center;
}

.card-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.card-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Form elements */
.forgot-password-form {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.input-field {
  display: block;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  color: var(--text-primary);
  background-color: var(--input-bg);
  font-size: 0.875rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input-field:focus {
  outline: none;
  border-color: var(--button-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.dark-theme .input-field::placeholder {
  color: var(--text-light);
}

/* Buttons */
.submit-button {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0.625rem 1rem;
  border: none;
  border-radius: 0.375rem;
  background-color: var(--button-primary);
  color: var(--button-text);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.submit-button:hover:not(:disabled) {
  background-color: var(--button-primary-hover);
}

.submit-button:disabled {
  background-color: var(--button-disabled);
  cursor: not-allowed;
  opacity: 0.7;
}

/* Links */
.link {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease-in-out;
}

.link:hover {
  color: var(--link-hover);
}

.text-center {
  text-align: center;
}

/* Success and error messages */
.success-message, .error-message {
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

.success-message {
  background-color: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-text);
}

.dark-theme .success-message {
  border: 1px solid var(--success-border);
}

.error-message {
  background-color: var(--error-bg);
  border: 1px solid var(--error-border);
  color: var(--error-text);
}

.dark-theme .error-message {
  border: 1px solid var(--error-border);
}

/* Utility */
.mb-4 {
  margin-bottom: 1rem;
}

.mt-4 {
  margin-top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
/* Reset Password Styles */

/* Variables - Light Theme */
:root {
  --background-color: #f3f4f6;
  --card-bg: #ffffff;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-light: #9ca3af;
  --border-color: #d1d5db;
  --input-bg: #ffffff;
  --button-primary: #3b82f6;
  --button-primary-hover: #2563eb;
  --button-disabled: #93c5fd;
  --button-text: #ffffff;
  --link-color: #2563eb;
  --link-hover: #1d4ed8;
  --success-bg: #ecfdf5;
  --success-border: #10b981;
  --success-text: #065f46;
  --error-bg: #fef2f2;
  --error-border: #ef4444;
  --error-text: #b91c1c;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --strength-weak: #ef4444;
  --strength-medium: #f59e0b;
  --strength-strong: #10b981;
  --strength-bg: #e5e7eb;
}

/* Variables - Dark Theme */
.dark-theme {
  --background-color: #111827;
  --card-bg: #1f2937;
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-light: #9ca3af;
  --border-color: #374151;
  --input-bg: #374151;
  --button-primary: #3b82f6;
  --button-primary-hover: #2563eb;
  --button-disabled: #1e40af;
  --button-text: #ffffff;
  --link-color: #60a5fa;
  --link-hover: #93c5fd;
  --success-bg: rgba(16, 185, 129, 0.15);
  --success-border: #059669;
  --success-text: #34d399;
  --error-bg: rgba(239, 68, 68, 0.15);
  --error-border: #dc2626;
  --error-text: #f87171;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --strength-weak: #dc2626;
  --strength-medium: #d97706;
  --strength-strong: #059669;
  --strength-bg: #4b5563;
}

/* Main container */
.reset-password-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--background-color);
  padding: 2rem 1rem;
}

/* Card container */
.reset-password-card {
  max-width: 32rem;
  width: 100%;
  background-color: var(--card-bg);
  padding: 2.5rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  margin: 0 auto;
}

.dark-theme .reset-password-card {
  border: 1px solid var(--border-color);
}

/* Headers and text */
.card-header {
  margin-bottom: 2rem;
  text-align: center;
}

.card-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.card-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Form elements */
.reset-password-form {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.input-field {
  display: block;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  color: var(--text-primary);
  background-color: var(--input-bg);
  font-size: 0.875rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input-field:focus {
  outline: none;
  border-color: var(--button-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.dark-theme .input-field::placeholder {
  color: var(--text-light);
}

/* Password strength indicator */
.strength-meter-container {
  margin-top: 0.5rem;
}

.strength-meter {
  height: 0.5rem;
  width: 100%;
  background-color: var(--strength-bg);
  border-radius: 9999px;
  overflow: hidden;
}

.strength-meter-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.3s ease;
}

.strength-meter-fill.weak {
  width: 33%;
  background-color: var(--strength-weak);
}

.strength-meter-fill.medium {
  width: 66%;
  background-color: var(--strength-medium);
}

.strength-meter-fill.strong {
  width: 100%;
  background-color: var(--strength-strong);
}

.strength-text {
  font-size: 0.75rem;
  margin-top: 0.25rem;
  color: var(--text-secondary);
}

.password-match-error {
  font-size: 0.75rem;
  margin-top: 0.25rem;
  color: var(--error-text);
}

/* Buttons */
.submit-button {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0.625rem 1rem;
  border: none;
  border-radius: 0.375rem;
  background-color: var(--button-primary);
  color: var(--button-text);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.submit-button:hover:not(:disabled) {
  background-color: var(--button-primary-hover);
}

.submit-button:disabled {
  background-color: var(--button-disabled);
  cursor: not-allowed;
  opacity: 0.7;
}

/* Links */
.link {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease-in-out;
}

.link:hover {
  color: var(--link-hover);
}

.text-center {
  text-align: center;
}

/* Success and error messages */
.success-message, .error-message {
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

.success-message {
  background-color: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-text);
}

.dark-theme .success-message {
  border: 1px solid var(--success-border);
}

.error-message {
  background-color: var(--error-bg);
  border: 1px solid var(--error-border);
  color: var(--error-text);
}

.dark-theme .error-message {
  border: 1px solid var(--error-border);
}

/* Loading indicator */
.loading-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

.spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 0.25rem solid rgba(59, 130, 246, 0.1);
  border-left-color: var(--button-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Utility */
.mb-4 {
  margin-bottom: 1rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.email-verification-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  background-color: #f5f7fb;
}

.email-verification-box {
  width: 100%;
  max-width: 500px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
}

.email-verification-box h2 {
  color: #2d3748;
  margin-bottom: 24px;
  font-size: 24px;
}

.verification-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px 0;
}

.loading-spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top: 4px solid #3182ce;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.verification-result {
  margin: 30px 0;
  padding: 20px;
  border-radius: 8px;
}

.verification-result.success {
  background-color: #e6fffa;
  border: 1px solid #38b2ac;
}

.verification-result.error {
  background-color: #fff5f5;
  border: 1px solid #e53e3e;
}

.verification-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.verification-result.success .verification-icon {
  color: #38b2ac;
}

.verification-result.error .verification-icon {
  color: #e53e3e;
}

.verification-actions {
  margin-top: 30px;
}

.primary-button {
  background-color: #3182ce;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.primary-button:hover {
  background-color: #2c5282;
}

.verification-debug {
  margin-top: 10px;
  padding: 8px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  text-align: left;
  font-size: 0.9rem;
}

.debug-toggle {
  cursor: pointer;
  color: #3182ce;
  font-size: 12px;
  text-decoration: underline;
  margin: 0;
}

.error-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.secondary-button {
  background-color: #e2e8f0;
  color: #2d3748;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.secondary-button:hover {
  background-color: #cbd5e0;
}
/* ==========================================
   MAIN CONTAINER STYLES
   ========================================== */

.scoreboard-container {
    margin-top: 50px;
    text-align: center;
}

.scoreboard-title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--page-title-color);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .scoreboard-title{
        font-size: 2rem;
    }
} 

/* ==========================================
   GRID LAYOUT STYLES
   ========================================== */

.scoreboard-grid-container {
    /* Grid container wrapper */
}

.scoreboard-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 400px);
    justify-content: center;
    align-items: center;
}

@media (max-width: 460px) {
    .scoreboard-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 300px);
    justify-content: center;
    align-items: center;
}
}
/* ==========================================
   GAME CARD STYLES
   ========================================== */

.live-game-card {
    border: 1px solid gray;
    border-radius: 10px;
    height: 200px;
    margin: 10px;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.live-game-card:hover {
    cursor: pointer;
    transform: scale(1.02);
}

/* ==========================================
   LIVE GAME CARD STYLES (copied from non-live)
   ========================================== */

.live-game-card-live {
    border: 1px solid gray;
    border-radius: 10px;
    height: 200px;
    margin: 10px;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
    box-shadow: 0 0 10px 10px rgba(66, 153, 225, .9);
}

.live-game-card-live:hover {
    cursor: pointer;
    transform: scale(1.02);
}

/* ==========================================
   COMPLETED GAME CARD STYLES (copied from non-live)
   ========================================== */

.live-game-card-completed {
    border: 1px solid gray;
    border-radius: 10px;
    height: 200px;
    margin: 10px;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.live-game-card-completed:hover {
    cursor: pointer;
    transform: scale(1.02);
}

/* ==========================================
   DATE AND TIME SECTION
   ========================================== */

.date-time-flexbox {
    display: flex;
    flex: 0.2;
    font-weight: 600;
    padding-bottom: 10px;
}

.day-date-flex {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 120px;
}

.scoreboard-day {
    text-align: center;
}

.slash-gap {
    position: absolute;
    top: 15%;
    left: 130px;
    font-size: 1.5rem;
}

.scoreboard-time {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 180px;
}

.scoreboard-network {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 75px;
}

/* ==========================================
   TEAMS SECTION
   ========================================== */

.teams-flex-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

.scoreb-team-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 5px 0;
}

.scoreb-team-logo {
    flex: 0 0 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scoreb-team-record{
    flex: 0 0 60px;
}

.scoreb-team-odds{
    flex: 0 0 50px;
}

.scoreb-team-logo img {
    width: 35px;
    height: auto;
}

.scoreb-team-name {
    flex: 0 0 150px;
    text-align: left;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.2;
}

.scoreb-live-score{
    font-weight: 1000;
}

/* ==========================================
   BETTING SECTION
   ========================================== */

.betting-flex-box {
    flex: 0.5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.betting-venue {
    /* Add any specific styles if needed */
}

.betting-over-under {
    /* Add any specific styles if needed */
}

.betting-spead {
    /* Add any specific styles if needed */
}

/* ==========================================
   FILTER SECTION
   ========================================== */

.scoreboard-filters-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;

    /* min-width: 920px; */
}
@media (max-width: 900px){
    .scoreboard-filters-container{
        overflow: visible;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        /* flex-wrap: nowrap; */
    }
}

.scoreboard-filter-item {
    position: relative;
    margin: 0 10px;
}

.scoreboard-menu-item {
    font-size: 1.2rem;
    width: 200px;
    font-weight: bold;
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background-color: rgb(93, 91, 91);
    height: 45px;
    text-align: center;
    padding: 0;
    text-transform: uppercase;
    color: white;
    overflow: visible;
    cursor: pointer;
}

.scoreboard-menu-item > a {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 5px 10px;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    pointer-events: none;
}

.scoreboard-menu-item:hover {
    background-color: #4a4a4a;
    color: white;
    z-index: 10;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
    transition: all 0.2s ease-in-out;
}

/* ==========================================
   CALENDAR DROPDOWN STYLES
   ========================================== */

.scoreboard-calendar-dropdown {
    position: absolute;
    top: 100%;
    /* right: 30px; */
    /* left: 0; */
    /* right: 0; */
    background: lightgray;
    border-radius: 5px;
    display: none;
    z-index: 10;
    /* min-width: 300px; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
}



.scoreboard-calendar-dropdown.show {
    display: block;
}

.calendar-header {
    margin-bottom: 15px;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.calendar-nav button {
    /* background-color: #4a4a4a; */
    color: black;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-weight: bold;
}

.calendar-nav button:hover {
    background-color: #333;
}

.calendar-month-year {
    font-weight: bold;
    color: black;
    font-size: 1.1rem;
}

.calendar-all-button {
    width: 100%;
    background-color: rgb(93, 91, 91);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}

.calendar-all-button:hover {
    background-color: #4a4a4a;
}

.calendar-grid {
    width: 100%;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 5px;
}

.calendar-weekday {
    text-align: center;
    font-weight: bold;
    color: black;
    padding: 5px;
    font-size: 0.9rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day {
    text-align: center;
    padding: 8px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
}

.calendar-day.selectable:hover {
    background-color: #4a4a4a;
    color: white;
}

.calendar-day.empty {
    cursor: default;
}

/* Responsive calendar adjustments */
@media (max-width: 600px) {
    .scoreboard-calendar-dropdown {
        min-width: 280px;
        left: -50px;
    }
    
    .scoreboard-menu-item {
        width: 180px;
        font-size: 1rem;
    }
    
    .calendar-nav button {
        padding: 3px 6px;
        font-size: 0.9rem;
    }
    
    .calendar-month-year {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .scoreboard-calendar-dropdown{
        width: 200px;
        padding: 5px;
    }
    .calendar-nav button {
        padding: 3px 6px;
        font-size: 0.8rem;
    }
    .calendar-month-year {
        font-size: 1rem;
    }
    .calendar-all-button {
        padding: 6px;
        font-size: 0.9rem;
    }
    .calendar-weekday {
        padding: 2px;
        font-size: 0.9rem;
    }
    .calendar-day {
        padding: 0px;
        min-height: 25px;
        font-size: 0.7rem;
    }
}

/* ==========================================
   CONFERENCE DROPDOWN STYLES
   ========================================== */

.scoreboard-conference-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: lightgray;
    border-radius: 5px;
    display: none;
    z-index: 100;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
}

.scoreboard-conference-dropdown.show {
    display: block;
}

.conference-option {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
    transition: background-color 0.2s ease;
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    /* Allow text to wrap and prevent horizontal scroll */
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

.conference-option:hover {
    background-color: #4a4a4a;
    color: white;
}

.conference-option.selected {
    background-color: rgb(93, 91, 91);
    color: white;
}

.conference-option:last-child {
    border-bottom: none;
}

/* Responsive conference dropdown adjustments */
@media (max-width: 600px) {
    .scoreboard-conference-dropdown {
        min-width: 180px;
        /* left: -20px; */
    }
}

/* ==========================================
   MY RECRUITS TOGGLE STYLES
   ========================================== */

.scoreboard-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background-color: rgb(93, 91, 91);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 150px;
    user-select: none;
}

.scoreboard-toggle-container:hover {
    background-color: #4a4a4a;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.scoreboard-toggle-label {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-right: 10px;
    white-space: nowrap;
}

.scoreboard-toggle-switch {
    position: relative;
    display: inline-block;
    width: 3rem;
    height: 1.5rem;
    cursor: pointer;
}

.scoreboard-toggle-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 1rem;
    transition: background-color 0.3s;
}

.scoreboard-toggle-knob {
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    width: 1rem;
    height: 1rem;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

/* Hide the actual checkbox */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Toggle state styling */
.peer:checked ~ .scoreboard-toggle-background {
    background-color: #4299e1;
}

.peer:checked ~ .scoreboard-toggle-knob {
    transform: translateX(1.5rem);
}

/* Responsive adjustments for toggle */
@media (max-width: 600px) {
    .scoreboard-toggle-container {
        min-width: 130px;
        padding: 8px 12px;
    }
    
    .scoreboard-toggle-label {
        font-size: 1rem;
        margin-right: 8px;
    }
    
    .scoreboard-toggle-switch {
        width: 2.5rem;
        height: 1.25rem;
    }
    
    .scoreboard-toggle-knob {
        width: 0.75rem;
        height: 0.75rem;
        top: 0.25rem;
        left: 0.25rem;
    }
    
    .peer:checked ~ .scoreboard-toggle-knob {
        transform: translateX(1.25rem);
    }
}

/* ==========================================
   TEAM DROPDOWN STYLES
   ========================================== */

.scoreboard-team-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: lightgray;
    border-radius: 5px;
    display: none;
    z-index: 100;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
}

.scoreboard-team-dropdown.show {
    display: block;
}

.team-option {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
    transition: background-color 0.2s ease;
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    /* Allow text to wrap and prevent horizontal scroll */
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

.team-option:hover {
    background-color: #4a4a4a;
    color: white;
}

.team-option.selected {
    background-color: rgb(93, 91, 91);
    color: white;
}

.team-option:last-child {
    border-bottom: none;
}

/* Responsive team dropdown adjustments */
@media (max-width: 600px) {
    .scoreboard-team-dropdown {
        min-width: 180px;
        /* left: -20px; */
    }
}

/* ==========================================
   WEEK DROPDOWN STYLES
   ========================================== */

.scoreboard-week-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: lightgray;
    border-radius: 5px;
    display: none;
    z-index: 100;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
}

.scoreboard-week-dropdown.show {
    display: block;
}

.week-option {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
    transition: background-color 0.2s ease;
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    /* Allow text to wrap and prevent horizontal scroll */
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

.week-option:hover {
    background-color: #4a4a4a;
    color: white;
}

.week-option.selected {
    background-color: rgb(93, 91, 91);
    color: white;
}

.week-option:last-child {
    border-bottom: none;
}

/* Responsive week dropdown adjustments */
@media (max-width: 600px) {
    .scoreboard-week-dropdown {
        min-width: 180px;
        /* left: -20px; */
    }
}

.date-time-flexbox-live{
    display: flex;
    /* flex: 0.2; */
    font-weight: 600;
    padding-bottom: 10px;

}

.scoreboard-live-gametime-flex{
    position: relative;
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    flex: 0 0 120px;
}


/* .date-time-flexbox-liv {
    display: flex;
    flex: 0.2;
    font-weight: 600;
    padding-bottom: 10px;
} */


.day-date-flex-live {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
    /* justify-content: flex-start; */
    flex: 0 0 180px;
}

/* .slash-gap-live{ */
    /* position: absolute; */
    /* left: 180px; */
    /* top: 15px;
} */

.scoreboard-day-live {
    text-align: center;
}

.scoreboard-date-live {
    /* Add any specific styles if needed */
}

.slash-gap-live {
    position: absolute;
    top: 15%;
    left: 140px;
    font-size: 1.5rem;
}

.scoreboard-live-gametime-flex-live {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 100px;
    
}

.scoreboard-live-period-live {
    /* Add any specific styles if needed */
}

.scoreboard-live-clock-live {
    padding-left: 10px;
}

.scoreboard-network-live {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 75px;
    font-size: .8rem;
}

.teams-flex-box-live {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

.scoreb-team-bar-live {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 5px 0;
}

.scoreb-team-logo-live {
    flex: 0 0 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scoreb-team-logo-live img {
    width: 35px;
    height: auto;
}

.scoreb-team-name-live {
    flex: 0 0 130px;
    text-align: left;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.2;
}

.scoreb-team-record-live {
    flex: 0 0 60px;
}

.scoreb-team-odds-live {
    flex: 0 0 70px;
}

.scoreb-live-score-live {
    /* Add any specific styles if needed */
}

.betting-flex-box-live {
    flex: 0.5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.betting-venue-live {
    /* Add any specific styles if needed */
}

.betting-over-under-live {
    /* Add any specific styles if needed */
}

.betting-spead-live {
    /* Add any specific styles if needed */
}

.date-time-flexbox-completed {
    display: flex;
    flex: 0.2;
    font-weight: 600;
    padding-bottom: 10px;
}

.day-date-flex-completed {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
    /* justify-content: flex-start; */
    flex: 0 0 180px;
}

.scoreboard-day-completed {
    text-align: center;
}

.scoreboard-date-completed {
    /* Add any specific styles if needed */
}

.slash-gap-completed {
    position: absolute;
    top: 15%;
    left: 130px;
    font-size: 1.5rem;
}

.scoreboard-time-completed {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 180px;
}

.scoreboard-network-completed {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 75px;
}

.teams-flex-box-completed {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

.scoreb-team-bar-completed {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 5px 0;
}

.scoreb-team-logo-completed {
    flex: 0 0 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scoreb-team-logo-completed img {
    width: 35px;
    height: auto;
}

.scoreb-team-name-completed {
    flex: 0 0 130px;
    text-align: left;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.2;
}

.scoreb-team-record-completed {
    flex: 0 0 60px;
}

.scoreb-team-odds-completed {
    flex: 0 0 70px;
}

.scoreb-live-score-completed {
   font-weight: 900;
   font-size: 1.2rem;
}

.betting-flex-box-completed {
    flex: 0.5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.betting-venue-completed {
    /* Add any specific styles if needed */
}

.betting-over-under-completed {
    /* Add any specific styles if needed */
}

.betting-spead-completed {
    /* Add any specific styles if needed */
}

.dropdown-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 320px; /* or whatever fits your design */
    /* Optionally add padding or background as needed */
}

.scoreb-logo-bg {
    background: #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    /* overflow: visible; */
}

.scoreb-logo-bg img {
    width: 26px;
    height: 26px;
    object-fit: cover;
    border-radius: 50%;
    background: transparent;
    overflow: visible;
}

/* ==========================================
   RESPONSIVE ADJUSTMENTS FOR SMALL SCREENS (< 460px)
   ========================================== */

@media (max-width: 460px) {
    .live-game-card,
    .live-game-card-live,
    .live-game-card-completed {
        height: 170px;
        margin: 5px;
        padding: 3px 0;
    }

    .date-time-flexbox,
    .date-time-flexbox-live,
    .date-time-flexbox-completed {
        padding-bottom: 5px;
    }

    .day-date-flex,
    .day-date-flex-live,
    .day-date-flex-completed {
        flex: 0 0 100px;
    }

    .slash-gap,
    .slash-gap-live,
    .slash-gap-completed {
        left: 105px;
        font-size: 1.2rem;
    }

    .scoreboard-time,
    .scoreboard-live-gametime-flex,
    .scoreboard-time-completed {
        flex: 0 0 140px;
    }

    .scoreboard-network,
    .scoreboard-network-live,
    .scoreboard-network-completed {
        flex: 0 0 60px;
        font-size: 0.8rem;
    }

    .scoreb-team-bar,
    .scoreb-team-bar-live,
    .scoreb-team-bar-completed {
        padding: 3px 0;
        gap: 8px;
    }

    .scoreb-team-logo,
    .scoreb-team-logo-live,
    .scoreb-team-logo-completed {
        flex: 0 0 40px;
    }

    .scoreb-team-logo img {
        width: 28px;
        height: auto;
    }

    .scoreb-team-name,
    .scoreb-team-name-live,
    .scoreb-team-name-completed {
        flex: 0 0 80px;
        font-size: 0.9rem;
        white-space: wrap;
    }

    .scoreb-team-record,
    .scoreb-team-record-live,
    .scoreb-team-record-completed {
        flex: 0 0 50px;
        font-size: 0.9rem;
    }

    .scoreb-team-odds,
    .scoreb-team-odds-live,
    .scoreb-team-odds-completed {
        flex: 0 0 50px;
        font-size: 0.9rem;
    }

    .scoreb-live-score,
    .scoreb-live-score-live,
    .scoreb-live-score-completed {
        font-size: 1rem;
    }

    .betting-flex-box,
    .betting-flex-box-live,
    .betting-flex-box-completed {
        gap: 30px;
    }

    .scoreb-logo-bg {
        width: 28px;
        height: 28px;
    }

    .scoreb-logo-bg img {
        width: 20px;
        height: 20px;
    }
}

/* ==========================================
   LOAD MORE BUTTON STYLES
   ========================================== */

.scoreboard-load-more-btn {
    font-size: 1.2rem;
    width: 200px;
    font-weight: bold;
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background-color: rgb(93, 91, 91);
    height: 45px;
    text-align: center;
    padding: 0;
    text-transform: uppercase;
    color: white;
    overflow: visible;
    cursor: pointer;
    border: none;
}

.scoreboard-load-more-btn:hover {
    background-color: #4a4a4a;
    color: white;
    z-index: 10;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
    transition: all 0.2s ease-in-out;
}

/* Responsive adjustments for load more button */
@media (max-width: 600px) {
    .scoreboard-load-more-btn {
        width: 180px;
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .scoreboard-load-more-btn {
        width: 160px;
        font-size: 0.9rem;
    }
}

/* Base styles matching React Native for small screens */
.scoreboard-recruit-view-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.exit-selected-game {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
}

.back-button {
  position: absolute;
  top: 110px;
  left: 0px;
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  z-index: 10;
}

.back-button:hover {
  background: #0056b3;
}

.score-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 16px;
}

.team-score {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: 12px;
  margin: 0 4px;
  min-height: 80px;
  color: white;
}

.team-logo-name-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 48px;
}

.team-name-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.team-score-name {
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  line-height: 12px;
  max-width: 80px;
}

.team-score-score {
  font-size: 24px;
  font-weight: bold;
}

.game-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
}

.game-status {
  font-size: 16px;
  font-weight: bold;
}

.game-clock {
  font-size: 12px;
}

.last-play-text {
  font-size: 10px;
  text-align: center;
  margin-top: 4px;
  font-style: italic;
  padding: 0 8px;
}

.tab-container {
  display: flex;
  flex-direction: row;
  margin: 0 16px 16px 16px;
  border-radius: 8px;
  overflow: hidden;
}

.tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  background-color: #f0f0f0;
  cursor: pointer;
  font-weight: bold;
  color: black; /* Ensure unselected tabs have black font */
}

.tab.active {
  background-color: #007bff;
  color: white;
}

.content {
  flex: 1;
  padding: 0 16px;
  overflow-y: auto;
}

.recruits-container {
  padding-bottom: 20px;
}

.team-section {
  margin-bottom: 24px;
}

.team-header {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.team-header-text {
  font-size: 18px;
  font-weight: bold;
  color: white;
  text-align: center;
}

.recruit-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #ddd;
  max-width: 490px; /* Limit row width */
  margin: auto;
}

.player-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #ddd;
  max-width: 490px; /* Limit row width */
}

.player-headshot {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  background-color: white;
  margin-right: 12px; /* Add margin for spacing */
}

.player-headshot-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ddd;
  background-color: #f0f0f0;
  margin-right: 12px; /* Add margin for spacing */
}

.jersey-number {
  font-size: 12px;
  font-weight: bold;
  color: #666;
}

.player-details {
  flex: 1;
  margin-right: 12px; /* Add margin for spacing */
}

.player-name {
  font-size: 16px;
  font-weight: bold;
}

.player-meta {
  font-size: 14px;
  margin-top: 2px;
  color: gray;
}

.stats-container {
  padding-bottom: 20px;
  min-width: 140px;
  display: flex;
  flex-direction: column; /* Ensure stats sections stack vertically */
}

.stat-section {
  margin-bottom: 8px;
}

.stat-section-label {
  font-size: 10px;
  font-weight: bold;
  margin-bottom: 2px;
  text-transform: uppercase;
  color: gray;
}

.stat-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.stat-item {
  font-size: 11px;
  font-weight: bold;
  margin-right: 8px;
  margin-bottom: 2px;
}

.empty-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.empty-text {
  font-size: 16px;
  text-align: center;
  color: gray;
}

/* Keep existing styles for stats tables, but make responsive */
.my-recruits-table-container {
  width: 100%;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.8s ease-in-out 1.2s, transform 0.8s ease-in-out 1.2s;
  overflow-x: auto; /* Add horizontal scroll */
  max-width: 100%;
}

.my-recruits-table-container.animate {
  opacity: 1;
  transform: translateY(0);
}

.my-recruits-table-container table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 0 0 8px 8px;
}

.my-recruits-table-container th,
.my-recruits-table-container td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.my-recruits-table-container th {
  font-weight: bold;
  border-bottom: 2px solid #333;
}

.my-recruits-table-container tr:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.player-headshot {
  background-color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.player-headshot-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  color: #666;
  border: 2px solid #ddd;
}

.my-recruits-table-container td {
  vertical-align: middle;
}


.my-recruits-table-container td {
  vertical-align: middle;
}

.scoreboard-quarter-clock-flex {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 12px 0 18px 0;
  min-height: 40px;
  position: relative;
}

.scoreboard-quarter-clock-center {
  font-size: 1.7rem;
  font-weight: bold;
  color: white;
  /* background: #f7f7f7; */
  border-radius: 8px;
  padding: 8px 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  letter-spacing: 1px;
  background: transparent;
  z-index: 1;
}

.scoreboard-possession-football {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  z-index: 2;
}

.scoreboard-possession-football.left {
  margin-right: 18px;
}

.scoreboard-possession-football.right {
  margin-left: 18px;
}

.position-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 16px;
}

.position-title{
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
}

.position-header{
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem
}

.recruit-players-row{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.recruit-logo-bg img{
  width: 70px;
  height: 70px;
}


.recruit-logo-bg {
    background: #fff;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    border: 1px solid #ddd;
    /* overflow: visible; */
}

.scoreboard-recruit-view-container {
    height: auto;
    min-height: 100vh;
  }

/* Media query for larger screens (>=768px) - scale up like mobile version but bigger */
@media (max-width: 768px) {
  .scoreboard-recruit-view-container {
    height: auto;
    min-height: 100vh;
  }

  .back-button{
    top: 140px;
  }

  .score-section {
    padding: 24px;
  }

  .team-score {
    padding: 24px;
    min-height: 120px;
  }

  .team-score-name {
    font-size: 16px;
    line-height: 18px;
    max-width: 120px;
  }

  .team-score-score {
    font-size: 36px;
  }

  .game-status {
    font-size: 20px;
  }

  .game-clock {
    font-size: 16px;
  }

  .last-play-text {
    font-size: 14px;
  }

  .tab {
    padding: 16px;
    font-size: 18px;
  }

  .content {
    padding: 0 24px;
  }

  .team-header-text {
    font-size: 24px;
  }

  .recruit-row {
    padding: 16px 24px;
  }

  .player-headshot {
    width: 70px;
    height: 70px;
    border-radius: 35px;
  }

  .player-headshot-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 35px;
  }

  .jersey-number {
    font-size: 16px;
  }

  .player-name {
    font-size: 20px;
  }

  .player-meta {
    font-size: 16px;
  }

  .stat-section-label {
    font-size: 12px;
  }

  .stat-item {
    font-size: 14px;
  }

  .empty-text {
    font-size: 20px;
  }

  .recruit-logo-bg {
    width: 60px;
    height: 60px;
  }

  .recruit-logo-bg img {
    width: 70px;
    height: 70px;
  }

  /* For stats tables, increase table font sizes */
  .my-recruits-table-container th,
  .my-recruits-table-container td {
    padding: 16px;
    font-size: 16px;
  }
}

/* Media query for screens >520px - enable grid for position sections */
@media (max-width: 520px) {
  .position-section {
    /* display: grid; */
    /* grid-template-columns: repeat(auto-fill, 490px); */
    gap: 16px; /* Add gap between grid items for spacing */
  }

  .recruit-logo-bg img{
    width: 30px;
    height: 30px;
}

  .recruit-logo-bg {
    width: 40px;
    height: 40px;
  }
}

/* ==========================================
   RESPONSIVE ADJUSTMENTS FOR SMALL SCREENS
   (< 460px)
   ========================================== */

@media (max-width: 460px) {
  .scoreboard-recruit-view-container {
    height: auto;
    min-height: 100vh;
  }

  .back-button{
    top: 90px;
  }

  .score-section {
    padding: 12px;
  }

  .team-score {
    padding: 12px;
    min-height: 100px;
  }

  .team-score-name {
    font-size: 10px;
    line-height: 12px;
    max-width: 60px;
  }

  .team-score-score {
    font-size: 20px;
  }

  .game-status {
    font-size: 14px;
  }

  .game-clock {
    font-size: 12px;
  }

  .last-play-text {
    font-size: 10px;
  }

  .tab {
    padding: 8px;
    font-size: 14px;
  }

  .content {
    padding: 0 12px;
  }

  .team-header-text {
    font-size: 18px;
  }

  .recruit-row {
    padding: 8px 12px;
  }

  .player-headshot {
    width: 50px;
    height: 50px;
    border-radius: 25px;
  }

  .player-headshot-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 25px;
  }

  .jersey-number {
    font-size: 12px;
  }

  .player-name {
    font-size: 16px;
  }

  .player-meta {
    font-size: 14px;
  }

  .stat-section-label {
    font-size: 10px;
  }

  .stat-item {
    font-size: 12px;
  }

  .empty-text {
    font-size: 18px;
  }
/* 
  .recruit-logo-bg {
    width: 32px;
    height: 32px;
  }

  .recruit-logo-bg img {
    width: 24px;
    height: 24px;
  } */
}

/* ...existing code for sliding bars and tables, but hide or adjust for small screens if needed... */
.score-flex-box,
.selected-player-stats-section {
  display: none; /* Hide old layout on small screens */
}

@media (min-width: 768px) {
  .score-flex-box,
  .selected-player-stats-section {
    display: block; /* Show old layout on large screens if preferred, but since user wants mobile bigger, perhaps keep new layout */
  }
  /* Optionally, hide new layout on large screens and show old, but user said make mobile bigger, so keep new */
}



