/* NDC Forms & Documents pages - desktop watermark, animated backdrop, centered table card */
@media (min-width: 992px) {
  body.ndc-forms-bg::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-color: #f4f9f6;
    background-image:
      linear-gradient(rgba(10, 124, 66, .05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(10, 124, 66, .05) 1px, transparent 1px),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='460' height='460'%3E%3Ctext x='50%25' y='50%25' font-family='Arial, sans-serif' font-size='70' font-weight='bold' fill='rgba(10,124,66,0.07)' text-anchor='middle' transform='rotate(-30 230 230)'%3ENDC%3C/text%3E%3Ccircle cx='64' cy='86' r='3.5' fill='rgba(10,124,66,0.12)'/%3E%3Ccircle cx='396' cy='356' r='3.5' fill='rgba(10,124,66,0.12)'/%3E%3Cpath d='M40 400 h60 M420 60 v60' stroke='rgba(10,124,66,0.10)' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-size: auto, auto, 30px 30px, 30px 30px, 460px 460px;
    background-repeat: no-repeat, no-repeat, repeat, repeat, repeat;
    animation: ndcBgPan 60s linear infinite;
  }
  body.ndc-forms-bg::after {
    content: "";
    position: fixed;
    inset: -10%;
    z-index: -1;
    pointer-events: none;
    background:
      radial-gradient(420px 340px at 10% 22%, rgba(15, 169, 88, .12), transparent 65%),
      radial-gradient(380px 320px at 90% 72%, rgba(10, 124, 66, .12), transparent 65%),
      radial-gradient(300px 260px at 82% 14%, rgba(20, 201, 110, .09), transparent 65%),
      radial-gradient(320px 280px at 14% 84%, rgba(20, 201, 110, .09), transparent 65%);
    animation: ndcOrbs 16s ease-in-out infinite alternate;
  }
  @keyframes ndcBgPan {
    from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
    to { background-position: 0 0, 0 0, 30px 30px, 30px 30px, 460px -460px; }
  }
  @keyframes ndcOrbs {
    from { transform: translate(-1.5%, -1%) scale(1); }
    to { transform: translate(1.5%, 1.5%) scale(1.05); }
  }
  @media (prefers-reduced-motion: reduce) {
    body.ndc-forms-bg::before, body.ndc-forms-bg::after { animation: none; }
  }

  body.ndc-forms-bg .entry-content table {
    display: table !important;
    margin: 10px auto 30px !important;
    max-width: 96%;
    margin: 10px auto 30px !important;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 38px rgba(8, 60, 34, .16);
    border-collapse: separate !important;
    border-spacing: 0;
    overflow: hidden;
  }
  body.ndc-forms-bg .entry-content table tr:first-child > td,
  body.ndc-forms-bg .entry-content table tr:first-child > th {
    border-top: none !important;
  }
  body.ndc-forms-bg .entry-content table tr:last-child > td,
  body.ndc-forms-bg .entry-content table tr:last-child > th {
    border-bottom: none !important;
  }
  body.ndc-forms-bg .entry-content table tr > td:first-child,
  body.ndc-forms-bg .entry-content table tr > th:first-child {
    border-left: none !important;
  }
  body.ndc-forms-bg .entry-content table tr > td:last-child,
  body.ndc-forms-bg .entry-content table tr > th:last-child {
    border-right: none !important;
  }
}
