/* Add a black background color to the top navigation */
.topnav {
  background-color: #333;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

.viewdiv {
    height: auto;
    width: auto;
}

/* Season toggle styles */
.nav-left { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 44px; height: 44px; border-radius: 6px; background: #fff; color: #0b5aa5; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:16px; }
.site-title { font-size: 18px; font-weight: 700; letter-spacing: 0.2px; }
.site-sub { font-size: 12px; opacity: 0.9; margin-top: 2px; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.season-toggle { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; }
.toggle-label { font-size: 14px; color: #fff; }

/* Switch (from many common patterns) */
.switch { position: relative; display: inline-block; width: 46px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .2s; border-radius: 24px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .2s; border-radius: 50%; }
.switch input:checked + .slider { background-color: #2196F3; }
.switch input:checked + .slider:before { transform: translateX(22px); }

/* small responsive behavior */
@media (max-width: 480px) {
  .nav-left { font-size: 14px; }
  /* keep toggle labels visible on small screens unless you want to hide them */
}

@media (max-width: 480px) {
  .site-sub { display: none; }
  .brand-logo { width: 36px; height: 36px; font-size: 14px; }
  .site-title { font-size: 16px; }
}

/* About button and panel */
.about-btn {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 12px;
  margin-right: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}
.about-btn:hover { background: rgba(255,255,255,0.12); }

.about-panel {
  position: fixed;
  top: 74px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20,20,20,0.98);
  color: #fff;
  max-width: 900px;
  width: calc(100% - 40px);
  max-height: calc(100% - 120px);
  border-radius: 6px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.6);
  z-index: 10010;
  overflow: auto;
}
.about-panel.hidden { display: none; }
.about-content { padding: 20px; font-size: 15px; line-height: 1.6; }
.about-content h2 { margin-top: 0; }
.about-close { position: absolute; right: 12px; top: 8px; background: transparent; color: #fff; border: none; font-size: 22px; cursor: pointer; }
