/* ==========================================================================
   NAVBAR COMPONENT STYLES
   ========================================================================== */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}

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

.brand-icon {
  font-size: 32px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2));
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--border-color);
}

.brand-text h1 {
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(to right, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-cpanel {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  text-transform: uppercase;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-ram-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  font-size: 0.82rem;
  color: #93c5fd;
  transition: all 0.2s ease;
}

.nav-ram-badge:hover {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.4);
}

.nav-ram-icon {
  font-size: 1.15rem;
}

.nav-ram-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-ram-main {
  color: #f1f5f9;
  font-weight: 600;
  font-size: 0.82rem;
}

.nav-ram-main strong {
  color: #38bdf8;
}

.nav-ram-sub {
  font-size: 0.7rem;
  color: #94a3b8;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.status-running {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.status-running .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 1.5s infinite;
}

.status-stopped {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.status-stopped .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
}

/* Mobile Navbar */
@media screen and (max-width: 768px) {
  .navbar {
    padding: 12px 14px;
    flex-wrap: wrap;
    gap: 10px;
    border-radius: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
    font-size: 22px;
    border-radius: 10px;
  }

  .brand-text h1 {
    font-size: 1.1rem;
  }

  .badge-cpanel {
    font-size: 0.68rem;
    padding: 2px 6px;
  }

  .nav-status {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-ram-badge {
    flex: 1 1 auto;
    padding: 4px 10px;
    font-size: 0.78rem;
  }

  .nav-ram-icon {
    font-size: 1rem;
  }

  .status-indicator {
    padding: 5px 10px;
    font-size: 0.78rem;
  }
}
