/* secondary menu */

.desktop-nav {
	display: block;
}

.mobile-nav {
	display: none;
}

.gameDate {
    font-size: 14px;
    display: inline-block;
}

#SDropdown {
  display: block;
  width: auto;
  min-width: 180px;
  height: auto;
  padding: 6px 8px;
  font-size: 14px;
  background: #fff;
  color: #222;
  border: 1px solid #ccc;
  border-radius: 4px;
  appearance: auto !important;
}

#SSContainer {
  overflow: visible !important;
  height: auto !important;
  position: relative;
  z-index: 50;
  margin: 0 auto;
  width: fit-content;
}

.menu-header {
  position: static;      
  width: 240px;         
  height: 100vh; 
  background: #f3f5f9;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px; 
}

.menu-inner {
  width: 210px;
  padding: 10px 0;
}

.menu-logo {
  height: 28px;
  margin-right: 10px;
  width: 28px;
}

.menu-title {
  font-size: 1.5em;
  font-weight: bold;
  vertical-align: middle;
}

/* Not used START*/

.menu-toggle {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: none;
  font-size: 2rem;
}

.menu-toggle-secondary {
  display: none;
}

/* Not used END */

.menu-wrapper {
  background-color: #f8f8f8;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 100;
}


.secondary-menu-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
  list-style: none;
  padding: 0;
  flex: 1;
  margin: 0;
}

//.secondary-menu-container ul {
//  max-height: 0;
//  overflow: hidden;
//  transition: max-height 0.3s ease;
//}

.secondary-menu-container li a {
  border-left: 4px solid transparent;
  border-radius: 5px;
  color: #525b6a;
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.secondary-menu-container li a:hover, 
.secondary-menu-container li a:active,
.secondary-menu-container li a.active,
.concertina-submenu li a.active,
.concertina-toggle:hover {
  background-color: #ffffff;
  border-left: 4px solid var(--accent-color, #63a1cc);
}


.concertina-section {
  border-top: 1px solid #ccc;
}

/* Submenu list (default closed state) */
.concertina-submenu {
  list-style: none;
  display: block !important;
  font-size: 0.9em;
  margin: 0;
  padding-left: 0;
  max-height: 0;                 /* collapsed by default */
  overflow: hidden;              /* hide content when closed */
  transition: max-height 0.3s ease; /* smooth slide animation */
}

/* Rotate chevron when section is open */
.concertina-section.open .chevron {
  transform: rotate(90deg);
}

.concertina-section.open > .concertina-toggle {
    border-left: 4px solid var(--accent-color);
}

/* Submenu links */
.concertina-submenu li a {
  align-items: center;
  border-left: 4px solid transparent;
  color: #333;
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  transition: background 0.2s;
  font-size: 0.8em;
}

.concertina-submenu li a:hover {
  background-color: #fff;
  border-left: 4px solid var(--accent-color, #63a1cc);
}

.concertina-submenu li a.active {
  font-weight: bold;
}
