/* -------------------------------------------------------------------
   NOTIFICATION ITEM COMPONENT STYLING
------------------------------------------------------------------- */

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 0.85rem;
  position: relative;
  transition: all var(--transition-fast, 0.2s ease);
}

.notification-item:hover {
  box-shadow: 0 4px 12px rgba(15, 43, 92, 0.06);
  border-color: #cbd5e1;
}

.notification-item.unread {
  background-color: #f0f7ff;
  border-color: #bfdbfe;
  border-left: 4px solid #2563eb;
}

.notif-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.notif-content-wrap {
  flex: 1;
  overflow: hidden;
}

.notif-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  gap: 0.5rem;
}

.notif-order-id {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f2b5c;
}

.notif-time {
  font-size: 0.76rem;
  color: #64748b;
  white-space: nowrap;
}

.notif-message-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.65rem 0;
  line-height: 1.45;
}

.notif-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.notif-link-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.15s ease;
}

.notif-link-btn:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.btn-mark-read-single {
  background: none;
  border: none;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  transition: all 0.15s ease;
}

.btn-mark-read-single:hover {
  color: #0f2b5c;
  background-color: #e2e8f0;
}

.notif-read-tag {
  font-size: 0.75rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.unread-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2563eb;
  flex-shrink: 0;
  margin-top: 0.4rem;
}
