/* App-style minimal header */
header {
  background-color: #0e1a2b;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 36px;
}

header .right-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

header .notif-bell {
  font-size: 20px;
  color: white;
  position: relative;
  cursor: pointer;
}

header .notif-bell .badge {
  background: red;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 50%;
  position: absolute;
  top: -5px;
  right: -8px;
}

/* 🔔 Notification Dropdown */
#notification-dropdown {
  position: absolute;
  top: 28px;
  right: 0;
  width: 300px;
  background: #ffffff;
  color: #000;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
  display: none;
  z-index: 999;
  overflow: hidden;
  max-height: 350px;
  overflow-y: auto;
}

#notification-dropdown div {
  padding: 10px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

#notification-dropdown div:last-child {
  border-bottom: none;
}

#notification-dropdown a {
  display: block;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  color: #0e1a2b;
  font-weight: bold;
}

#notification-dropdown a:hover {
  background-color: #f1f1f1;
}

/* 👤 Profile Image */
header .profile-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #fff;
}

/* 👤 Profile Dropdown */
.profile-dropdown {
  position: absolute;
  top: 50px;
  right: 10px;
  background: white;
  color: #333;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  min-width: 140px;
  z-index: 999;
}

.profile-dropdown a {
  padding: 10px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eee;
}

.profile-dropdown a:hover {
  background-color: #f9f9f9;
}

.profile-dropdown a:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  header {
    padding: 8px 12px;
  }

  header .logo img {
    height: 32px;
  }

  .profile-dropdown {
    right: 5px;
    top: 45px;
  }

  #notification-dropdown {
    right: -20px;
    width: 260px;
  }
}
