/* Navbar background with image */
.main-header.navbar {
  background: url('../img/main_bg.png') no-repeat center center !important;
  background-size: cover !important;
  position: relative;
  z-index: 1020; /* keep above content */
}

/* Optional: add semi-transparent overlay for text readability */
.main-header.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Keep navbar text and icons on top */
.main-header.navbar .nav-link,
.main-header.navbar i,
.main-header .dropdown-toggle,
.main-header .navbar-nav .nav-item > a,
.main-header .nav-link span {
  position: relative;
  z-index: 1;
  color: #000000 !important; /* text/icons black */
}

/* Hover effect */
.main-header.navbar .nav-link:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #000000 !important;
}

/* Notification badge stays red */
.navbar-badge {
  background: #dc3545;
}

/* Navbar logo */
.header-logo {
  height: 65px;   /* increased from 50px */
  width: auto;
  display: block;
  padding-top: 5px; /* reduce padding so it stays centered */
  position: relative;
  z-index: 1;
}

/* Icons & text color */
.main-header.navbar .nav-link,
.main-header.navbar i {
  color: #ffffff !important;
}

/* Hover effect */
.main-header.navbar .nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
}

/* Notification badge */
.navbar-badge {
  background: #dc3545;
}

/* Make text & icons BLACK */
.main-header.navbar .nav-link,
.main-header.navbar i,
.main-header.navbar .dropdown-toggle,
.main-header.navbar .navbar-nav .nav-item > a {
  color: #000000 !important;
}

/* Hover effect */
.main-header.navbar .nav-link:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #000000 !important;
}

/* Username text */
.main-header .nav-link span {
  color: #000000 !important;
}

/* Notification badge stays red */
.navbar-badge {
  background: #dc3545;
}

/* Notifications header custom style */
.notif-header {
  background-color: #79b8b9;
  color: #000000;
  border-radius: 12px 12px 0 0;
}

.notif-header h6 {
  color: #000000;
  font-weight: 700;
}

.notif-header .badge {
  background-color: rgba(0, 0, 0, 0.15);
  color: #000000;
}

/* Toast popup */
.custom-toast {
  position: fixed;
  top: 80px;
  right: 20px;
  background-color: #79b8b9;
  color: #000;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 9999;
  pointer-events: none;
  display: none;
}

.custom-toast.show {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

.notification-item {
  cursor: pointer;
  transition: background 0.2s ease;
}

.notification-item:hover {
  background-color: rgba(0,0,0,0.05);
}

/* Bigger notification and profile icons */
.main-header .fa-bell,
.main-header .fa-user {
    font-size: 24px !important;
    width: 24px;
    text-align: center;
}

/* Bigger profile text */
#userDropdown {
    font-size: 10px !important;
    font-weight: 600;
}

/* Align items properly */
.main-header .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Remove leftover profile/user icon in header */
.main-header .fa-user,
.main-header .far.fa-user,
.main-header .fas.fa-user {
    display: none !important;
}

/* Remove dropdown arrow beside notification */
#notifDropdown::after {
    display: none !important;
}