.profile-dropdown {
  position: relative;
  display: inline-block;
}

.profile-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #006997;
  min-width: 200px;
  border-radius: 10px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 100;
  margin-top: 30px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
}

.profile-dropdown-content.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.profile-dropdown-content a {
  display: block !important;
  float: none !important;
  padding: 12px 16px;
  text-decoration: none;
  text-align: left;
  margin: 0 !important;
  color: white;
  font-family: "League Spartan", sans-serif;
  font-size: 17px;
  text-transform: uppercase;
  transition: background-color 0.2s, color 0.2s;
}

.profile-dropdown-content a i {
  margin-right: 8px;
  color: #00b8ff;
  transition: color 0.2s;
}

.profile-dropdown:hover .profile-dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.profile-dropdown-content a:hover {
  background-color: #005a7d;
  border-radius: 8px;
}

.profile-dropdown-content a:hover i {
  color: #ff6a00;
}

.profile-dropdown-content::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 20px;
  border-width: 0 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #006997 transparent;
}

.profile-dropdown a.profile-toggle {
  position: relative;
}

.profile-dropdown a.profile-toggle::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 8px;
  transition: transform 0.3s;
}

.profile-dropdown:hover a.profile-toggle::after {
  transform: rotate(180deg);
}

@media only screen and (max-width: 768px) {
  .profile-dropdown-content {
    right: 0;
    width: 100%;
    min-width: 150px;
  }

  .profile-dropdown:hover .profile-dropdown-content {
    display: none;
  }

  .profile-dropdown-content.show {
    display: block;
  }
}
