.dashboard-header {
  height: 80px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
}

/* LEFT */
header .left-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

header .hamburger {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-primary);
  display: none;
}

header .dashboard-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
}

/* DESKTOP SEARCH */
header .header-search {
  display: flex;
  justify-content: center;
  align-items: center;
}

header .search-pill {
  width: min(320px, 100%);
  background: var(--bg-secondary);
  border: 1.333px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  height: 34px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
header .search-pill input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-size: 12px;
  color: #072030;
}
header .search-icon {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  flex: 0 0 auto;
}

/* MOBILE SEARCH ICON */
header .mobile-search-icon {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  cursor: pointer;
  place-items: center;
  color: var(--text-primary);
}

/* RIGHT */
header .header-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

header .v-divider {
  margin-left: 10px;
  width: 1px;
  height: 22px;
  background: rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
  header .header-icons {
    gap: 5px;
  }
  header .v-divider {
    margin-left: 0px;
  }
}

/* Container */
header .notification-container {
  position: relative;
}

/* Bell button */
header .icon-wrapper {
  background: transparent;
  border: none;
  position: relative;
  cursor: pointer;
  padding: 6px;
}

/* Bell icon */
header .icon-wrapper .icon {
  width: 22px;
  height: 22px;
}

/* Badge */
header .badge {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 15px;
  height: 15px;
  background: #ef4444;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  display: none;
}

header .badge.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dropdown */
header .notification-dropdown {
  position: absolute;
  top: 44px;
  right: 0;
  width: 360px;
  background: var(--bg-secondary);
  border-radius: 12px;
  box-shadow: var(--shadow-primary);
  /* opacity: 0; */
  /* visibility: hidden; */
  display: none;
  /* pointer-events: none; */
  /* transform: translateY(-8px); */
  /* transition: all 0.25s ease; */
  z-index: 1000;
}

/* Open state */
/* header .notification-dropdown.show {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transform: translateY(0);
} */

/* Arrow */
header .arrow-up {
  position: absolute;
  top: -10px;
  right: 10px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--bg-accent-2);
  z-index: 99;
}

/* Heading */
header .notification-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 12px;
  color: var(--text-inverse);
  font-weight: 500;
  background: var(--bg-primary-gradient);
}
header .notification-heading img {
  width: 20px;
  filter: brightness(0) invert(1);
}
/* List */
header .notification-list {
  list-style: none;
  margin: 0;
  max-height: 280px;
  overflow-y: auto;
  color: var(--text-tertiary);
  font-weight: 400;
}

header .notification-content {
  border-radius: 12px;
  overflow: hidden;
}

/* Item */
header .notification-item {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

header .notification-item:hover {
  background: rgba(7, 149, 161, 0.05);
}

/* Icon */
header .notification-icon .icon {
  width: 20px;
  height: 20px;
}

/* Text */
header .notification-title {
  font-size: 13px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

header .notification-description {
  font-size: 11.5px;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
}

header .notification-description a {
  display: inline-block;
  margin-top: 5px;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.01em;
}

header .notification-description a::after {
  content: " →";
}

/* Action */
header .notification-action {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-accent-1);
}

header .notification-view-all {
  text-align: center;
  padding: 10px;
  border-top: 1px solid var(--text-muted);
}

header .notification-view-all a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 12px;
  border: 1px solid var(--text-primary);
  border-radius: 20px;
  padding: 4px 28px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
header .notification-view-all a:hover {
  background: var(--text-primary);
  color: #fff;
}

/* Mobile */
@media (max-width: 480px) {
  header .arrow-up {
    top: -10px;
    right: 12vw;
  }

  header .notification-dropdown {
    width: 80vw;
    right: -12vw;
  }
}

header .profile-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 999px;
}
header .profile-pic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--text-inverse);
}
header .profile-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  white-space: nowrap;
}

/* Dropdown */
header .profile-dropdown {
  position: absolute;
  right: 0;
  top: 44px;
  min-width: 210px;
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 8px;
  display: none;
  z-index: 9;
}
/* header .profile-dropdown.open {
  display: block;
} */
header .profile-dropdown-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}
header .profile-dropdown-icon.rotate {
  transform: rotateX(180deg);
}
header .profile-dropdown ul {
  list-style: none;
}
header .profile-dropdown li {
  padding: 8px 10px;
  border-radius: 8px;
}
header .profile-dropdown li.heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #6b7c84;
  cursor: default;
}
header .profile-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 13px;
}
header .profile-dropdown li:not(.heading):hover {
  background: #f4fbfd;
}

/* MOBILE SLIDE-IN SEARCH */
.mobile-search-overlay {
  position: fixed;
  top: -70px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  padding: 0 14px;
  box-shadow: 0 6px 18px rgba(7, 149, 161, 0.12);
  z-index: 1000;
  transition: top 0.28s ease;
}
.mobile-search-overlay.open {
  top: 0;
}

.mobile-search-box {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  background: var(--text-inverse);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  height: 38px;
  padding: 0 12px;
}
.mobile-search-box input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-size: 14px;
  color: var(--text-tertiary);
}
.mobile-search-close {
  border: 0;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.7;
}
.mobile-search-icon-inner {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  header .header-search {
    display: none;
  }
  header .mobile-search-icon {
    display: grid;
  }
  header .profile-name {
    display: none;
  }
  header .dashboard-title {
    font-size: 16px;
  }
  header .hamburger {
    display: inline-grid;
    place-items: center;
  }
}
