﻿.dashboard-header, .cv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-radius: 8px; /* Rounded corners */
}

.dashboard-header .hamburger, .cv-header .hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--black);
  cursor: pointer;
}

.dashboard-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--pinkish-red);
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 15px; /* Space between icons */
}

.icon-wrapper {
  position: relative;
  display: inline-block;
}

.icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  opacity: 0.7; /* Grey icons */
}

.icon:hover {
  opacity: 1; /* Darken on hover */
}

/* Notification & Message Badge */
.badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 6px;
  height: 6px;
  background-color: var(--pinkish-red); /* Black dot for unread */
  border-radius: 50%;
}

/* Profile Picture */
.profile-pic {
  width: 32px;
  height: 32px;
  border-radius: 20%; /* Circular image */
  object-fit: cover;
  cursor: pointer;
}

.profile-container {
  position: relative;
}

.profile-container .profile-dropdown {
  width: fit-content;
  min-width: 200px;
  display: none;
  background-color: var(--white);
  z-index: 10;
  position: absolute;
  right: 0;
  top: 80%;
  padding-right: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

.profile-container .profile-dropdown li {
  padding: 10px 15px;
  cursor: pointer;
  list-style: none;
}

.profile-container .profile-dropdown li.heading {
  font-style: italic;
  font-weight: 600;
  color: var(--gray);
  font-size: 14px;
  padding: 5px 10px;
}

.profile-container .profile-dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark-gray);
  text-decoration: none;
}

.profile-container .profile-dropdown li a img {
  width: 20px;
  height: 20px;
}

.profile-container:hover .profile-dropdown {
  display: block;
}

@media (max-width: 768px) {
  .dashboard-header, .cv-header {
    justify-content: start;
  }
  .dashboard-header .hamburger {
    padding-right: 20px;
    float: inline-end;
    display: block;
    font-weight: 700;
  }
  .support {
    padding-bottom: 80px;
  }
  .dashboard-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--pinkish-red);
    margin-right: auto;
  }
}
