/* --- Portal Navigation --- */
.portal-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  margin: 0 0.5rem;
}

.portal-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 10px;
  color: #C5C6C7;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.portal-item i {
  font-size: 1.1rem;
}

.portal-item span:not(.status-dot) {
  opacity: 0.85;
}

.portal-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.portal-item:hover span:not(.status-dot) {
  opacity: 1;
}

.portal-item.active {
  color: #6c63ff;
  background: rgba(108, 99, 255, 0.08);
  border-color: rgba(108, 99, 255, 0.2);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4b5563; /* Default grey */
  border: 1px solid #0b0c10;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.status-dot.online {
  background: #43e97b;
  box-shadow: 0 0 10px #43e97b;
  border-color: rgba(67, 233, 123, 0.4);
}

@media (max-width: 1100px) {
  .portal-item span:not(.status-dot) {
    display: none;
  }
  .portal-item {
    padding: 8px;
    width: 38px;
    height: 38px;
    justify-content: center;
  }
}

/* Tooltip (Simple CSS) */
.portal-item::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  padding: 5px 12px;
  background: rgba(10, 10, 26, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1001;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.portal-item:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
