/* Terminal Navigation Styles */

/* Navigation */
.terminal-nav {
  background: #161b22;
  border-bottom: 1px solid #30363d;
  box-shadow: 0 1px 3px rgba(0, 255, 65, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-home {
  font-size: 16px;
  font-weight: 600;
  color: #00ff41;
  text-decoration: none;
  text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

.nav-home:hover {
  color: #00ff88;
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.8);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Invisible bridge to extend hover area */
.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 6px;
  background: transparent;
  pointer-events: auto;
}

.dropdown-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #30363d;
  border-radius: 4px;
  background: #21262d;
  color: #00ff41;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropdown-btn:hover {
  background: #30363d;
  border-color: #00ff41;
  box-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  width: 100%;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 50;
  margin-top: 4px;
}



.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: #c9d1d9;
  text-decoration: none;
  font-size: 13px;
  transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
  background: #30363d;
  color: #00ff41;
}

.dropdown-divider {
  height: 1px;
  background: #30363d;
  margin: 8px 0;
}

/* Logout button */
.logout-btn {
  background: #da3633;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.logout-btn:hover {
  background: #f85149;
  box-shadow: 0 0 8px rgba(248, 81, 73, 0.4);
}