.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: #fff;
  border-bottom: 3px solid #646464;
  margin-bottom: 0;
  position: relative;
  z-index: 100;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  color: #111 !important;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: #111 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #646464 !important;
}

/* User Card Styling */
.user-profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: #f8f9fa;
  border: 2px solid #111;
  border-radius: 12px;
  text-decoration: none !important;
  color: #111 !important;
  transition: all 0.2s ease;
  box-shadow: 4px 4px 0 #111;
  min-width: 200px;
}

.user-profile-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #111;
}

.user-avatar-circle {
  width: 36px;
  height: 36px;
  background: #111;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-icon {
  width: 24px;
  height: 24px;
  color: #fff;
}

.user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  overflow: hidden;
}

.user-label {
  font-size: 0.7rem;
  font-weight: 400;
  color: #646464;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.user-email {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logout-link {
  font-size: 0.8rem;
  color: #d9534f !important;
  text-decoration: none;
  font-weight: 600;
  margin-top: 2px;
}

.logout-link:hover {
  text-decoration: underline !important;
}

@media (max-width: 992px) {
  .navbar-nav {
    gap: 1rem;
  }
  .nav-link {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    text-align: center;
  }
  
  .navbar-nav {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .user-profile-card {
    width: 100%;
    min-width: auto;
    justify-content: center;
  }
}
