
.unified-notif-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 1000;
}

.unified-notif-bell-btn {
  position: relative;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  background: #fff2cc66;
  border: 1px solid #feedb9;
}

.unified-notif-bell-btn:hover {
  background: #fff2cc66;
  border-color: #feedb9;
  transform: scale(1.02);
}

.unified-notif-bell-btn .fa-bell {
  font-size: 18px;
  color: #ffba1b;
  transition: color 0.2s ease;
}

.unified-notif-bell-btn:hover .fa-bell {
  color: #ffb61b;
}

.unified-notif-badge {
  position: absolute;
  top: -8px;
  right: -14px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 12px;
  color: #fff;
  min-width: 18px;
  text-align: center;
  background: #3b82f6;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.4);
  border: 2px solid #fff;
  animation: notif-badge-pulse 12s infinite;
}

.unified-notif-badge--red {
  top: auto;
  bottom: -6px;
  right: -14px;
  background: #ef4444;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

@keyframes notif-badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.unified-notif-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 360px;
  max-height: 480px;
  overflow-y: auto;
  background: #ffffff;
  border: 2px solid #e7f1fd;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgb(103 127 212 / 18%);
  z-index: 99999;
  margin-top: 8px;
}

.unified-notif-dropdown-header {
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  color: #1a202c;
  border-bottom: 1px solid #e2e8f0;
}

.unified-notif-dropdown-body {
  padding: 0;
}

.unified-notif-dropdown-loading {
  padding: 24px;
  text-align: center;
  color: #a0aec0;
  font-size: 13px;
}

.unified-notif-section {
  padding: 14px 18px;
}

.unified-notif-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.unified-notif-section-icon {
  font-size: 16px;
}

.unified-notif-section-title {
  font-size: 13px;
  font-weight: 600;
  color: #2d3748;
}

.unified-notif-count-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  color: #fff;
}

.unified-notif-count-blue {
  background: #3b82f6;
}

.unified-notif-count-red {
  background: #ef4444;
}

.unified-notif-section-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #f0f4f8;
}

.unified-notif-section-footer a {
  font-size: 12px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.unified-notif-section-footer a:hover {
  text-decoration: underline;
}

.unified-notif-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 0;
}

.unified-notif-preview {
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 4px;
}

.unified-notif-preview-text {
  font-size: 12px;
  color: #4a5568;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.unified-notif-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.unified-notif-item {
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}

.unified-notif-item:hover {
  background: #f0f4ff;
}

.unified-notif-item-subject {
  font-size: 12px;
  font-weight: 500;
  color: #2d3748;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.unified-notif-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.unified-notif-item-date {
  font-size: 11px;
  color: #a0aec0;
}

.unified-status-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.unified-status-approved {
  background: #d1fae5;
  color: #065f46;
}

.unified-status-rejected {
  background: #fee2e2;
  color: #991b1b;
}

.unified-status-pending,
.unified-status-blocked {
  background: #fef3c7;
  color: #92400e;
}

.unified-notif-empty {
  font-size: 12px;
  color: #a0aec0;
  text-align: center;
  padding: 12px 0;
}
