/* === Profile Dropdown === */
.profile-dropdown {
  position: relative;
  display: inline-block;
}

.header-profile-icon {
  width: 40px; /* Sets the width of the icon */
  height: 40px; /* Sets the height of the icon */
  border-radius: 50%; /* This is what makes the image a perfect circle */
  object-fit: cover; /* Ensures the image fills the circle without being stretched */
  vertical-align: middle; /* Helps align it perfectly with the menu icon */
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 50px; /* Position below the header */
  right: 0;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 280px;
  z-index: 1001;
  overflow: hidden;
  padding: 8px 0;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
}

.dropdown-profile-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 12px;
}

.user-details {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 500;
  color: #202124;
}

.user-email {
  font-size: 14px;
  color: #5f6368;
}

.dropdown-divider {
  height: 1px;
  background-color: #e0e0e0;
  margin: 8px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: #3c4043;
  font-size: 15px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: #f1f3f4;
}

.dropdown-item .material-icons {
  color: #5f6368;
}