#adminmenu a[href="tools.php?page=capture-relay"] .awaiting-mod {
  background: #d40b0f;
  color: #fff;
}

.capture-relay-setup-notice.notice {
  margin-top: 16px;
  padding: 20px 26px;
  border: 1px solid #e3d4d4;
  border-left: 4px solid #d40b0f;
  border-radius: 12px;
  background: linear-gradient(135deg, #f9eded 0%, #fff 100%);
  box-shadow: 0 8px 24px rgba(42, 21, 21, .07);
}

.capture-relay-setup-notice h2 {
  margin: 0 0 10px;
  color: #a6070a;
  font-size: 18px;
  line-height: 1.3;
}

.capture-relay-setup-notice p {
  max-width: 980px;
  margin: 0 0 14px;
  color: #342d2d;
  font-size: 14px;
  line-height: 1.55;
}

.capture-relay-setup-notice .capture-relay-setup-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.capture-relay-setup-notice .capture-relay-setup-actions form {
  margin: 0;
}

.capture-relay-setup-notice .button-primary {
  border-color: #a6070a;
  background: #d40b0f;
}

.capture-relay-setup-notice .button {
  min-height: 40px;
  padding: 5px 16px;
  font-weight: 700;
}

.capture-relay-setup-notice .button.capture-relay-dismiss-setup {
  border-color: transparent;
  background: transparent;
  color: #6d5c5c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.capture-relay-setup-notice .button.capture-relay-dismiss-setup:hover,
.capture-relay-setup-notice .button.capture-relay-dismiss-setup:focus {
  border-color: #bba9a9;
  background: #fff;
  color: #342d2d;
}

@media (prefers-color-scheme: dark) {
  .capture-relay-setup-notice.notice {
    border-color: #5a4646;
    border-left-color: #ff4d51;
    background: linear-gradient(135deg, #2d2020 0%, #211d1d 100%);
  }

  .capture-relay-setup-notice h2 { color: #ff8d90; }
  .capture-relay-setup-notice p { color: #eadfdf; }
  .capture-relay-setup-notice .button.capture-relay-dismiss-setup { color: #d9c7c7; }
  .capture-relay-setup-notice .button.capture-relay-dismiss-setup:hover,
  .capture-relay-setup-notice .button.capture-relay-dismiss-setup:focus {
    border-color: #705a5a;
    background: #312727;
    color: #fff;
  }
}

.capture-relay-approval-notice.notice {
  border: 0;
  border-left: 3px solid rgba(212, 11, 15, .76);
  background: transparent;
  box-shadow: none;
  color: #6d6262;
}

.capture-relay-approval-notice.notice p {
  color: inherit;
  font-weight: 650;
}

.capture-relay-approval-notice.notice a,
.capture-relay-approval-notice.notice a:visited {
  color: #a6070a;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.capture-relay-approval-notice.notice a:hover,
.capture-relay-approval-notice.notice a:focus {
  color: #d40b0f;
  text-decoration-thickness: 3px;
}
