/* Approved registration-form UI. Validation and submission stay in the legacy flow. */
.wd-download-page { background: #fff; color: #080d3b; }
.wd-download-width { max-width: 880px; margin: 0 auto; }
.wd-download-main { padding: 36px 30px 50px; background: #edf2f8; }
.wd-download-form { background: #fff; border: 1px solid #aab9ce; border-radius: 14px; padding: 30px; }
.wd-download-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.wd-download-field { min-width: 0; }
.wd-download-field label { display: block; margin-bottom: 7px; font-weight: 600; color: #080d3b; opacity: 1; -webkit-text-fill-color: #080d3b; }
.wd-download-field input, .wd-download-field select { font: inherit; width: 100%; min-height: 46px; border: 1px solid #687992; border-radius: 6px; padding: 9px 12px; background: #fff; color: #080d3b; }
.wd-download-field-full { grid-column: 1 / -1; }
.wd-download-field .wd-download-optional { color: #223454; font-weight: 400; font-size: 14px; -webkit-text-fill-color: #223454; }
.wd-download-checks { border-top: 1px solid #aab9ce; margin-top: 28px; padding-top: 20px; }
.wd-download-checks p { margin: 0 0 14px; font-size: 15px; color: #080d3b; }
.wd-download-checks label { color: #080d3b; opacity: 1; -webkit-text-fill-color: #080d3b; }
.wd-download-checks input[type="checkbox"] { width: 18px; height: 18px; margin: 3px 8px 0 0; vertical-align: top; accent-color: #006be5; }
.wd-download-submit { font: inherit; font-weight: 600; background: #006be5; border: 0; border-radius: 7px; color: #fff; padding: 12px 20px; margin-top: 10px; min-height: 46px; cursor: pointer; }
.wd-download-submit:disabled { background: #dce5f1; color: #223454; cursor: not-allowed; }
.wd-download-page :focus-visible { outline: 3px solid #006be5; outline-offset: 3px; }
@media (max-width: 560px) {
  .wd-download-fields { grid-template-columns: 1fr; }
  .wd-download-form { padding: 20px; }
}

/* JavaScript-disabled notice uses the same card treatment as the form. */
.wd-download-notice { background: #fff; border: 1px solid #aab9ce; border-left: 5px solid #006be5; border-radius: 14px; padding: 28px 30px; }
.wd-download-notice h1, .wd-download-notice h2 { color: #080d3b; font-size: 24px; line-height: 1.3; margin: 0 0 12px; }
.wd-download-notice p { color: #223454; font-size: 16px; line-height: 1.65; max-width: 650px; margin: 0 0 20px; }
.wd-download-page a.wd-download-notice-refresh { display: inline-block; background: #006be5; color: #fff; font-weight: 600; text-decoration: none; border-radius: 7px; padding: 12px 20px; }
.wd-download-page a.wd-download-notice-refresh:hover { background: #0057ba; color: #fff; }
@media (max-width: 560px) { .wd-download-notice { padding: 20px; } }

.wd-download-page .wd-download-honeypot { display: none !important; }
.wd-download-results { display: grid; gap: 24px; }
.wd-download-result-card { background: #fff; border: 1px solid #aab9ce; border-radius: 14px; padding: 30px; min-width: 0; }
.wd-download-result-card h2 { color: #080d3b; font-size: 24px; line-height: 1.3; margin: 0 0 16px; }
.wd-download-result-card p { color: #223454; margin: 0 0 16px; }
.wd-download-result-card p:last-child { margin-bottom: 0; }
.wd-download-options { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.wd-download-options li { margin: 0; }
.wd-download-page .wd-download-options a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border: 1px solid #9ab2d1; border-radius: 8px; background: #f4f7fc; color: #080d3b; font-weight: 600; text-decoration: none; }
.wd-download-page .wd-download-options a:hover { background: #e9f1fc; border-color: #006be5; }
.wd-download-option-action { color: #0057ba; white-space: nowrap; font-size: 14px; }
.wd-download-video-content { display: flex; align-items: flex-start; gap: 24px; }
.wd-download-video-content > a { flex: 0 0 180px; }
.wd-download-video-content img { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.wd-download-support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.wd-download-support-grid a { overflow-wrap: anywhere; }
.wd-download-error { border-top: 4px solid #b42318; }
.wd-download-result-card .wd-download-alert { color: #8f1d14; background: #fff1ef; border: 1px solid #e5aaa3; border-radius: 7px; padding: 14px 16px; }
.wd-download-review-fields { margin: 24px 0; }
.wd-download-review-fields > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; padding: 12px 0; border-bottom: 1px solid #d4deeb; }
.wd-download-review-fields dt { font-weight: 600; color: #080d3b; }
.wd-download-review-fields dd { margin: 0; color: #223454; overflow-wrap: anywhere; }
.wd-download-review-fields font[color="red"] { color: #b42318; font-weight: 600; }
.wd-download-page a.wd-download-result-button { display: inline-block; padding: 12px 20px; border-radius: 7px; background: #006be5; color: #fff; font-weight: 600; text-decoration: none; }
.wd-download-page a.wd-download-result-button:hover { background: #0057ba; color: #fff; }
.wd-download-trace { border-left: 4px solid #687992; padding: 18px 24px; font-size: 14px; }
@media (max-width: 560px) {
  .wd-download-result-card { padding: 20px; }
  .wd-download-result-card h2 { font-size: 21px; }
  .wd-download-options a { flex-direction: column; align-items: flex-start; gap: 10px; }
  .wd-download-video-content { flex-direction: column; }
  .wd-download-video-content > a { flex-basis: auto; max-width: 180px; }
  .wd-download-support-grid { grid-template-columns: 1fr; gap: 16px; }
  .wd-download-review-fields > div { grid-template-columns: 1fr; gap: 5px; }
}
