.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #23272A;
  padding: 10px 20px;
  top: 0;
}

.nav-left .logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #7289DA;
  text-decoration: none;
  margin-right: 20px;
}

.nav-link {
  margin-right: 15px;
  text-decoration: none;
  color: #FFFFFF;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #7289DA;
}

.login-btn {
  background-color: #7289DA;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.login-btn:hover {
  background-color: #5b6eae;
}

.user-dropdown {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.user-pfp {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 8px;
}

.logo img {
  border-radius: 50%;
  vertical-align: middle;
  object-fit: cover;
}

.logo img:hover {
    opacity: 75%;
}

.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-info {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
}

.user-pfp {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.user-name {
  color: #fff;
  font-weight: 600;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
  margin-top: 4px;
}

.user-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 45px;
  background-color: #1f1f1f;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 10px 0;
  min-width: 160px;
  z-index: 1000;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #eee;
  text-decoration: none;
  transition: background 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: #333;
}

.user-dropdown.open .dropdown-menu {
  display: block;
}
