/* -------------------------------------------------------------------
   NOTIFICATION BELL & DROPDOWN PANEL STYLING
------------------------------------------------------------------- */

.navbar-notif-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.btn-notif-bell {
  background: #ffffff;
  border: 1.5px solid var(--border-color, #e2e8f0);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #0f2b5c;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast, 0.2s ease);
}

.btn-notif-bell:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
  color: #2563eb;
}

.notif-badge-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: #ef4444;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #ffffff;
  line-height: 1;
}

/* Dropdown Panel */
.notif-dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 380px;
  max-width: 90vw;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 43, 92, 0.12);
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: notifFadeIn 0.2s ease;
}

.notif-dropdown-panel.active {
  display: flex;
}

@keyframes notifFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.notif-dropdown-header {
  padding: 1rem 1.25rem;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notif-header-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f2b5c;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-notif-mark-all {
  background: none;
  border: none;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.btn-notif-mark-all:hover {
  text-decoration: underline;
}

.notif-dropdown-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 0.85rem;
  background-color: #ffffff;
}

.notif-empty-dropdown {
  padding: 2.5rem 1rem;
  text-align: center;
  color: #94a3b8;
}

.notif-empty-dropdown i {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
  display: block;
}

.notif-dropdown-footer {
  padding: 0.85rem 1.25rem;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.btn-view-all-notifs {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f2b5c;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-view-all-notifs:hover {
  color: #2563eb;
}
