#footer_nav
{
  width: 100%;
  position:fixed;
  bottom:0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
  padding:5px;
  color:white;
  background-color:black;
  z-index:50;
}

.footer_nav_active
{
  color:lightskyblue;
}

.footer_nav_item
{
  flex: 0 1 calc(20% - 20px);
  background: transparent;
  padding:5px;
}

.footer_nav_subtitle
{
  text-align: center;
  display: block;
}

.footer_nav_item i
{
  padding:20px;
}


/* The Footer Leagues Modal window */
.footer_leagues_modal 
{
  display: none;  
  width: 60%;
  position: fixed;
  z-index: 20;
  animation: popup 0.5s;
  bottom: 0;
}

#footer_leagues_display a
{
  text-decoration: none;
  color: white;
}

/* #footer_leagues_display tr */
.footer_leagues_row
{
  background-color: #36454F;
  border-radius: 50px;
  display: inline-block;
  padding: 2%;
  margin: 2%;
  width: 90%;
  border: 2px solid lightskyblue;
}

#footer_leagues_display tr
{
  cursor: pointer;
}

.footer_leagues_row a
{
  display:block;
}

#footer_leagues_title
{
  text-align: left;
  color:white;
  padding-left: 5%;
}

.footer_leagues_text
{
  width:100%;
}

.footer_league_rank
{
  color:lightskyblue;
}

.footer_leagues_item
{
  color:white;
}

.footer_leagues_overlay
{
  display: none;
  width:100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  position: fixed;
  top: 0;
  z-index: 10;
}

/* The Footer More Modal window */
.footer_more_modal 
{
  display: none;  
  height: 100%;
  position: fixed;
  z-index: 30;
  background-color: black;
  animation: popup 0.5s;
}

.footer_more_display
{
  color: white;
  text-align: left;
  width: 100%;
  padding: 5%;
}

.footer_more_display a:hover
{
  color:lightskyblue;
}

#footer_more_x
{
  width:7%;
  text-align: left;
}

#footer_more_title
{
  width: 63%;
  text-align: center;
  padding: 5px;
}

#footer_more_logout
{
  width: 15%;
  text-align: right;
  padding: 5px;
}

#footer_more_close
{
  color: white;
  background-color: black;
  padding: 5px;
  border: none;
}

.footer_more_row
{
  color: lightskyblue;
  background-color: #26282A;
}

.footer_more_display td
{
  padding: 3%;
}

.footer_more_display a
{
  text-decoration: none;
  color: white;
}

.footer_nav_item:hover, .footer_nav_item:focus
{
  background-color: lightskyblue;
  cursor:pointer;
}

.footer-leagues-filter {
  padding: 6px 8%;
  text-align: left;
}

.league-filter-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: white;
  cursor: pointer;
}

.league-filter-toggle input {
  accent-color: lightskyblue;
  cursor: pointer;
}

/* Optional: visually soften inactive leagues */
.inactive-league {
  opacity: 0.55;
}

/* Sport switcher row — nav bar style, visually distinct from league rows */
#sport-switcher-row {
  background: linear-gradient(135deg, #1a2c40 0%, #0d1a2e 100%);
  border-radius: 50px;
  display: inline-block;
  padding-left: 2%;
  padding-right: 2%;
  margin: 2%;
  width: 90%;
  border: 1px solid #4a7fa8;
}

#sport-switcher-row td {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  background: transparent;
}

#sport-switcher-icons {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
}

.sport-icon-btn {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  font-size: 1.5em;
  cursor: pointer;
  border-radius: 8px;
  padding: 4px 2px;
  transition: opacity 0.15s;
}

.sport-icon-inner {
  width: 1.6em;
  height: 1.6em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.sport-icon-label {
  display: block;
  font-size: 7px;
  color: #aaa;
  text-align: center;
  margin-top: 3px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.sport-icon-btn:hover {
  opacity: 0.75;
}

.sport-icon-btn .sport-emoji { display: none; }
.sport-icon-btn .sport-fa { display: inline; color: #888; }

.sport-icon-active .sport-icon-inner {
  background: rgba(135, 206, 250, 0.18);
  box-shadow: 0 0 0 2px lightskyblue;
}

.sport-icon-active .sport-icon-label {
  color: lightskyblue;
}
.sport-icon-active .sport-emoji { display: inline; }
.sport-icon-active .sport-fa { display: none; }

.sport-icon-offseason {
  opacity: 0.4;
}
