.notification-center {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 1200;
}

.notification-toggle {
  width: 38px;
  height: 38px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid #e1e1e1;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.notification-badge {
  min-width: 18px;
  height: 18px;
  position: absolute;
  top: -6px;
  right: -7px;
  padding: 0 5px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 14px;
}

.notification-panel {
  width: min(360px, calc(100vw - 24px));
  max-height: 470px;
  position: absolute;
  top: 46px;
  left: 0;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

.notification-header {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #eeeeee;
}

.notification-header button {
  border: 0;
  background: transparent;
  color: #2f80ed;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.notification-list {
  max-height: 420px;
  overflow-y: auto;
}

.notification-item {
  width: 100%;
  display: block;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid #f1f1f1;
  background: #ffffff;
  color: #333333;
  text-align: left;
  cursor: pointer;
}

.notification-item.unread {
  background: #eef5ff;
}

.notification-item strong,
.notification-item span,
.notification-item time {
  display: block;
}

.notification-item strong {
  margin-bottom: 3px;
  color: #1f2937;
  font-size: 13px;
}

.notification-item span {
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.45;
}

.notification-item time {
  margin-top: 5px;
  color: #888888;
  font-size: 10px;
}

.notification-empty {
  padding: 28px 14px;
  color: #888888;
  font-size: 12px;
  text-align: center;
}
