/* Navbar component styles */
.navbar {
  position: relative;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.nav-left { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; list-style: none; gap: 24px; }
.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}
.nav-icon { width: 18px; height: 18px; margin-right: 8px; vertical-align: middle; }
.nav-links a:hover .nav-icon { color: #00d4ff; }
.nav-links a:hover { color: #00d4ff; }

.nav-actions { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nav-login { flex: 0 1 auto; white-space: nowrap; }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff; cursor: pointer;
}
.nav-toggle:hover { background: rgba(255,255,255,0.16); }
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-menu {
  position: absolute; top: 100%; right: 20px;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px; padding: 10px 12px; display: none;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mobile-menu a {
  color: #fff; text-decoration: none; font-size: 15px; padding: 8px 10px;
  display: flex; align-items: center; border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  color: #00d4ff;
}
.mobile-menu a:active {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(1px);
}

/* Auth button variants */
.nav-login {
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 16px;
  border-radius: 20px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 212, 255, 0.25);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-login:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0, 212, 255, 0.35); }
.nav-login:active { transform: translateY(0); box-shadow: 0 3px 8px rgba(0, 212, 255, 0.2); }

.nav-logout {
  background: linear-gradient(135deg, #3b3b3b, #1f2937);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 16px;
  border-radius: 20px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(31, 41, 55, 0.25);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-logout:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(31, 41, 55, 0.35); }
.nav-logout:active { transform: translateY(0); box-shadow: 0 3px 8px rgba(31, 41, 55, 0.2); }

/* Responsive (navbar-only) */
@media (max-width: 768px) {
  .navbar { padding: 15px 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .nav-actions { gap: 8px; }
  .nav-login, .nav-logout { padding: 6px 10px; font-size: 13px; }
  .nav-login { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
}

@media (min-width: 769px) {
  .nav-toggle { display: none; }
}