.notification-settings-page {
  width: 100%;
  min-height: calc(100vh - 130px);
  display: block;
  padding: 28px 36px 36px;
  border-radius: 16px;
  color: #17233d;
  background: #fff;
}
.notification-recipient-section,
.notification-preference-section {
  width: 500px;
  max-width: 100%;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.notification-section-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.notification-section-title > i {
  width: 4px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: #2d8cf0;
}
.notification-section-title h2 {
  margin: 0;
  color: #17233d;
  font-size: 15px;
  font-weight: 600;
}
.notification-section-title p {
  margin: 0;
  color: #808695;
  font-size: 13px;
}
.notification-recipient-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 8px 0;
}
.notification-recipient {
  position: relative;
  width: 88px;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 8px 6px;
  border: 1.5px solid #f0f2f5;
  border-radius: 12px;
  color: #515a6e;
  background: #fafbfc;
  box-shadow: none;
  cursor: pointer;
  transition: all .25s ease;
}
.notification-recipient:hover {
  border-color: #d0d5dd;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
  transform: translateY(-2px);
}
.notification-recipient-avatar,
.notification-recipient.add > span {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: visible;
  border-radius: 50%;
  color: #808695;
  background: #f0f2f5;
}
.notification-recipient-avatar img,
.notification-recipient-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  object-fit: cover;
}
.notification-recipient-avatar img {
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}
.notification-recipient-placeholder svg,
.notification-recipient.add svg {
  width: 25px;
  height: 25px;
}
.notification-recipient b {
  max-width: 76px;
  margin-top: 8px;
  overflow: hidden;
  color: #515a6e;
  font-size: 12px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notification-recipient.add {
  border: 1.5px dashed #d0d5dd;
  background: transparent;
}
.notification-recipient.add:hover {
  border-color: #2d8cf0;
  color: #2d8cf0;
  background: #f5f8ff;
  box-shadow: 0 4px 12px rgba(45, 140, 240, .1);
}
.notification-recipient.add:hover > span {
  color: #2d8cf0;
  background: #e8f0fe;
}
.notification-recipient-delete {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 2;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #ed4014;
  background: #fff;
  box-shadow: 0 2px 6px rgba(237, 64, 20, .15);
  font-size: 20px;
  line-height: 1;
  opacity: 0;
  transform: scale(.85);
  transition: .18s ease;
}
.notification-recipient:hover .notification-recipient-delete,
.notification-recipient.selected .notification-recipient-delete {
  opacity: 1;
  transform: scale(1);
}
.notification-guide {
  width: 500px;
  max-width: 100%;
  margin: 0 0 28px;
  padding: 16px 20px;
  border: 1px solid #ffedd5;
  border-radius: 12px;
  background: #fff9f0;
}
.notification-guide h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #b7791f;
  font-size: 14px;
  font-weight: 600;
}
.notification-guide h3 svg {
  width: 18px;
  height: 18px;
}
.notification-guide p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0 0;
  color: #7a5a2e;
  font-size: 13px;
  line-height: 1.6;
}
.notification-guide strong,
.notification-guide em {
  flex: 0 0 auto;
  margin: 1px 0 0;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
}
.notification-guide strong {
  color: #ed4014;
  background: #fee8e6;
}
.notification-guide em {
  color: #2d8cf0;
  background: #e8f0fe;
}
.notification-guide a {
  color: #2d8cf0;
  font-weight: 500;
  text-decoration: none;
}
.notification-toggle-list {
  overflow: hidden;
  border: 1px solid #f0f2f5;
  border-radius: 12px;
  background: #fafbfc;
}
.notification-toggle-list > label {
  min-height: 68px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f2f5;
  background: #fff;
}
.notification-toggle-list > label:last-child {
  border-bottom: 0;
}
.notification-toggle-icon {
  width: 18px;
  height: 18px;
  color: #808695;
  background: transparent;
}
.notification-toggle-icon svg {
  width: 18px;
  height: 18px;
}
.notification-toggle-list b {
  color: #17233d;
  font-size: 14px;
  font-weight: 500;
}
.notification-toggle-list small {
  margin-top: 2px;
  color: #808695;
  font-size: 12px;
}
.notification-toggle-switch i {
  width: 52px;
  height: 26px;
}
.notification-toggle-switch input:checked + i {
  background: #2d8cf0;
}
.notification-toggle-switch em {
  display: none;
}
.notification-save-button {
  min-width: 140px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 20px auto 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #2d8cf0, #1a6fc4);
  box-shadow: 0 4px 12px rgba(45, 140, 240, .3);
}
.notification-save-button svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 700px) {
  body:has(.notification-settings-page) .supplier-video-replica .main {
    background: #fff;
  }
  .notification-settings-page {
    min-height: 100dvh;
    padding: 16px 13px calc(110px + env(safe-area-inset-bottom));
    border-radius: 0;
    overflow-y: auto;
  }
  .notification-recipient-section,
  .notification-preference-section {
    width: 100%;
    margin-bottom: 20px;
    padding: 0;
    border-radius: 0;
  }
  .notification-section-title {
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
  }
  .notification-section-title > i {
    width: 4px;
    height: 19px;
  }
  .notification-section-title h2 {
    font-size: 16px;
  }
  .notification-section-title p {
    margin-left: auto;
    font-size: 11px;
  }
  .notification-recipient-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 6px;
    padding: 0;
  }
  .notification-recipient {
    width: 100%;
    min-height: 88px;
    padding: 7px 4px;
    border-radius: 8px;
  }
  .notification-recipient-avatar,
  .notification-recipient.add > span {
    width: 54px;
    height: 54px;
  }
  .notification-recipient b {
    max-width: 100%;
    margin-top: 5px;
    font-size: 11px;
  }
  .notification-recipient:hover {
    transform: none;
    box-shadow: none;
  }
  .notification-recipient:active {
    background: #f0f2f5;
    transform: scale(.96);
  }
  .notification-guide {
    width: 100%;
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: 10px;
  }
  .notification-guide h3 {
    margin-bottom: 6px;
    font-size: 14px;
  }
  .notification-guide p {
    gap: 4px;
    font-size: 12px;
    line-height: 1.65;
  }
  .notification-guide strong,
  .notification-guide em {
    padding: 0 6px;
    font-size: 10px;
    line-height: 18px;
  }
  .notification-toggle-list {
    border-radius: 10px;
  }
  .notification-toggle-list > label {
    min-height: 64px;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 7px;
    padding: 11px 12px;
  }
  .notification-toggle-list b {
    font-size: 14px;
  }
  .notification-toggle-list small {
    max-width: none;
    font-size: 10.5px;
  }
  .notification-toggle-switch i {
    width: 46px;
    height: 25px;
  }
  .notification-toggle-switch i::after {
    width: 19px;
    height: 19px;
  }
  .notification-toggle-switch input:checked + i::after {
    transform: translateX(20px);
  }
  .notification-save-button {
    width: 120px;
    min-width: 120px;
    min-height: 48px;
    margin-top: 18px;
    border-radius: 9px;
  }
  .wechat-qr > p {
    margin: 14px 0 0;
    color: #606266;
    font-size: 14px;
  }
}
