/* Site Navigation Styles */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #1e3a5f;
  border-bottom: 2px solid #3b82f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

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

/* Logo Section */
.nav-logo {
  flex-shrink: 0;
  margin-right: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #bfdbfe;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.logo-link:hover {
  background-color: rgba(59, 130, 246, 0.3);
  color: #ffffff;
}

.logo-link i {
  font-size: 18px;
}

.logo-text {
  display: inline;
}

/* Navigation Tabs */
.nav-tabs {
  display: flex;
  gap: 4px;
  flex-grow: 1;
  flex-wrap: wrap;
  align-items: center;
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 6px;
  color: #bfdbfe;
  background-color: transparent;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.nav-tab:hover {
  background-color: rgba(59, 130, 246, 0.2);
  color: #ffffff;
  border-color: rgba(59, 130, 246, 0.3);
}

.nav-tab.active {
  background-color: #3b82f6;
  color: #ffffff;
  border-color: #2563eb;
  font-weight: 600;
}

.nav-tab i {
  font-size: 16px;
}

.tab-text {
  display: inline;
}

/* User Menu */
.nav-user {
  flex-shrink: 0;
  margin-left: 16px;
}

.nav-user-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #bfdbfe;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 20px;
}

.nav-user-link:hover {
  background-color: rgba(59, 130, 246, 0.2);
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-container {
    height: auto;
    padding: 8px 12px;
    flex-wrap: wrap;
  }

  .nav-logo {
    margin-right: 12px;
  }

  .nav-tabs {
    gap: 2px;
    order: 2;
    width: 100%;
    margin-top: 8px;
  }

  .nav-tab {
    padding: 6px 10px;
    font-size: 12px;
  }

  .tab-text {
    display: none;
  }

  .nav-tab i {
    font-size: 14px;
  }

  .logo-text {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav-container {
    padding: 8px 8px;
  }

  .nav-logo {
    margin-right: 8px;
  }

  .nav-tabs {
    gap: 2px;
    margin-top: 8px;
  }

  .nav-tab {
    padding: 6px 8px;
    font-size: 11px;
    gap: 4px;
  }

  .nav-tab i {
    font-size: 12px;
  }

  .nav-user {
    margin-left: 8px;
  }

  .nav-user-link {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}
