/* Mobile Navigation Styles */
.mobile-nav-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100%;
  background: #1e3c72;
  z-index: 9999;
  transition: left 0.3s ease;
  box-shadow: 2px 0 10px rgba(0,0,0,0.3);
  overflow-y: auto;
}

.mobile-nav-menu.open {
  left: 0;
}

.mobile-nav-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-logo {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
}

.mobile-nav-logo img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
}

.mobile-nav-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.mobile-nav-close:hover {
  background-color: rgba(255,255,255,0.1);
}

.mobile-nav-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.mobile-nav-links li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-links a {
  display: block;
  padding: 16px 20px;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background-color: rgba(255,255,255,0.1);
  color: #ff6b35;
}

.mobile-nav-links a.external {
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-logout {
  width: 100%;
  padding: 12px;
  background: #ff6b35;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.mobile-nav-logout:hover {
  background: #e55a2b;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Only show on mobile devices */
@media (min-width: 600px) {
  .mobile-nav-menu,
  .mobile-nav-overlay {
    display: none !important;
  }
}

/* Prevent body scroll when menu is open */
body.mobile-nav-open {
  overflow: hidden;
}