/* =============================================
   系统通知详情页样式
   ============================================= */

/* ---------- 页面容器 ---------- */
.notif-page {
  min-height: 100%;
}

/* ---------- 空状态 ---------- */
.notif-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}
.notif-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.notif-empty-text {
  font-size: 15px;
  color: var(--color-text-hint, #9ca3af);
}

/* ---------- 通知列表 ---------- */
.notif-list {
  background-color: #fff;
}

/* ---------- 单个通知项 ---------- */
.notif-item {
  display: flex;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  gap: 14px;
  transition: background 0.15s;
}
.notif-item:last-child {
  border-bottom: none;
}
.notif-item:hover {
  background: #f9fafb;
}
.notif-has-link {
  cursor: pointer;
}
.notif-has-link:active {
  background-color: #f3f4f6;
}

/* ---------- 左侧图标 ---------- */
.notif-icon-wrap {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #01affe, #01cdff);
  border-radius: 50%;
  margin-top: 2px;
}
.notif-icon {
  font-size: 18px;
  color: #fff;
}

/* ---------- 右侧内容 ---------- */
.notif-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.notif-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.notif-title {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
}

.notif-content {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ===== 通知正文结构化美化（服务简报等长文） ===== */
.notif-h1 {
  text-align: center;
  font-size: 17px;
  font-weight: 900;
  color: #d6336c;
  letter-spacing: 3px;
  margin: 0 0 4px;
}
.notif-h2 {
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: #9a3b63;
  margin-bottom: 2px;
}
.notif-sec {
  display: inline-block;
  width: 100%;
  font-weight: 800;
  font-size: 13.5px;
  color: #7c2d50;
  background: linear-gradient(90deg, #fff0f6, rgba(255, 240, 246, 0.15));
  border-radius: 8px;
  padding: 4px 10px;
  margin: 8px 0 3px;
  box-sizing: border-box;
}
.notif-line { margin-top: 3px; color: #3d4654; }
.notif-li {
  position: relative;
  padding-left: 16px;
  margin-top: 3px;
  color: #3d4654;
}
.notif-li::before {
  content: '·';
  position: absolute;
  left: 3px;
  top: -1px;
  color: #ff7aa8;
  font-weight: 900;
}
.notif-note {
  margin-top: 10px;
  color: #9aa3b0;
  font-size: 12px;
  line-height: 1.7;
  border-top: 1px dashed #f0e2e9;
  padding-top: 8px;
}

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

.notif-time {
  font-size: 12px;
  color: #9ca3af;
  white-space: nowrap;
  flex-shrink: 0;
}

.notif-link {
  font-size: 13px;
  color: var(--color-primary, #FF589B);
  text-decoration: none;
  font-weight: 500;
}
.notif-link:hover {
  text-decoration: underline;
}

/* ===== 移动端：内容通栏、左右留白对称 ===== */
@media (max-width: 640px) {
  .notif-item {
    display: block;
    padding: 13px 14px;
    gap: 0;
  }
  .notif-icon-wrap {
    display: none;
  }
  .notif-body {
    width: 100%;
  }
  .notif-h1 { font-size: 16px; }
}
