/* Public pages on ~/Signup.master (customersignup, form-contact, AffiliateSignup, reseller signup,
   passwordrecovery, UpdateCC): new look matching /login.aspx and /CustomerForm.aspx.
   Scoped to html.wrd-pub-nl (set by a one-line script in each page's head). Visual only:
   no control, validator or script changes. Load after wrd-theme.css. Claude 2026-11-09, v=20261109a */

/* ---- Type + page ---- */
html.wrd-pub-nl, html.wrd-pub-nl body { background: var(--wrd-bg) !important; color: var(--wrd-ink); }
html.wrd-pub-nl body, html.wrd-pub-nl form, html.wrd-pub-nl input, html.wrd-pub-nl select, html.wrd-pub-nl textarea,
html.wrd-pub-nl button, html.wrd-pub-nl .btn, html.wrd-pub-nl label, html.wrd-pub-nl a, html.wrd-pub-nl b,
html.wrd-pub-nl strong, html.wrd-pub-nl p, html.wrd-pub-nl span:not(.material-icons), html.wrd-pub-nl li,
html.wrd-pub-nl td, html.wrd-pub-nl div:not(.material-icons) { font-family: var(--wrd-font) !important; }
html.wrd-pub-nl form > .container { max-width: 1040px; width: auto !important; padding-left: 16px; padding-right: 16px; }
html.wrd-pub-nl form > .container > .row, html.wrd-pub-nl form > .container > div > .row { margin-left: 0 !important; margin-right: 0 !important; }

/* ---- Header: white band with the navy-to-gold rule ---- */
html.wrd-pub-nl form > .container > .box-shadow-customer:first-child {
  background: #FFFFFF !important; box-shadow: none !important; border: 0 !important;
  margin: 0 -16px 28px !important; padding: 10px 16px 12px !important; position: relative;
}
html.wrd-pub-nl form > .container > .box-shadow-customer:first-child::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
  background: linear-gradient(90deg, var(--wrd-brand) 0%, var(--wrd-brand) 70%, var(--wrd-gold) 100%);
}
html.wrd-pub-nl form > .container > .box-shadow-customer:first-child img { max-width: 220px !important; }
html.wrd-pub-nl form > .container > .box-shadow-customer:first-child .row.vcenter { display: flex; align-items: center; flex-wrap: wrap; margin: 0; }
html.wrd-pub-nl form > .container > .box-shadow-customer:first-child .row.vcenter > div { float: none; }
html.wrd-pub-nl form > .container > .box-shadow-customer:first-child .row.vcenter > div:last-child { margin-left: auto; width: auto; }
html.wrd-pub-nl #ctl00_ddlLanguages {
  display: block !important; appearance: auto; -webkit-appearance: auto;
  height: 40px !important; width: 140px; padding: 0 10px;
  font: 500 15px var(--wrd-font) !important; color: var(--wrd-ink) !important;
  background: #FFFFFF !important; border: 1px solid #C9D2DC !important;
  border-radius: var(--wrd-radius-field) !important; box-shadow: none !important;
}

/* ---- Native selects instead of the Materialize fake dropdown ---- */
html.wrd-pub-nl .select-wrapper input.select-dropdown,
html.wrd-pub-nl .select-wrapper span.caret,
html.wrd-pub-nl .select-wrapper ul.dropdown-content { display: none !important; }
html.wrd-pub-nl .select-wrapper select {
  display: block !important; position: static !important; opacity: 1 !important; pointer-events: auto !important;
}

/* ---- Intro line ---- */
html.wrd-pub-nl .title-header-box { text-align: center; padding: 0 0 18px !important; }
html.wrd-pub-nl .title-header-box, html.wrd-pub-nl .title-header-box span, html.wrd-pub-nl span.title-label-request {
  font: 500 17px/1.5 var(--wrd-font) !important; color: var(--wrd-ink-2) !important;
}
html.wrd-pub-nl a.title-label-request, html.wrd-pub-nl .title-header-box a { color: var(--wrd-cta) !important; font-weight: 700 !important; }
html.wrd-pub-nl .title-header-box br + span, html.wrd-pub-nl .title-header-box small { font-size: 14px !important; color: var(--wrd-muted) !important; }

/* ---- Sections: each collapsible item becomes a white card with a gold-edged title ---- */
html.wrd-pub-nl ul.collapsible {
  background: transparent !important; border: 0 !important; box-shadow: none !important; margin: 0 !important;
  display: flex; flex-direction: column; gap: 18px;
}
html.wrd-pub-nl ul.collapsible > li {
  background: #FFFFFF !important; border: 1px solid var(--wrd-line) !important;
  border-radius: var(--wrd-radius-card) !important; overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 36, 55, .05), 0 6px 18px rgba(16, 36, 55, .05) !important;
}
html.wrd-pub-nl .collapsible-header {
  background: #FFFFFF !important; color: var(--wrd-brand) !important;
  padding: 16px 20px 14px !important; min-height: 0 !important; line-height: 1.3 !important;
  border-bottom: 1px solid var(--wrd-line) !important; box-shadow: inset 3px 0 0 var(--wrd-gold);
  font: 700 18px/1.3 var(--wrd-font) !important;
}
html.wrd-pub-nl .collapsible-header b { font: inherit !important; color: inherit !important; }
html.wrd-pub-nl .collapsible-header .material-icons { color: var(--wrd-muted) !important; line-height: 1.3 !important; margin: 0 !important; }
html.wrd-pub-nl .collapsible-body { background: #FFFFFF !important; border: 0 !important; padding: 8px 20px 22px !important; }
html.wrd-pub-nl .collapsible-body .row { margin-bottom: 0 !important; }
html.wrd-pub-nl .collapsible-body .margin-top-28 { margin-top: 8px !important; }
html.wrd-pub-nl .Required { color: var(--wrd-cta) !important; }
html.wrd-pub-nl .collapsible-body p, html.wrd-pub-nl .collapsible-body .label-custom { color: var(--wrd-ink-2) !important; font-size: 15px !important; line-height: 1.55 !important; }

/* ---- Fields: label above a boxed input ---- */
html.wrd-pub-nl .input-field:has(> input, > select, > textarea, > .select-wrapper) {
  display: flex; flex-direction: column; margin-top: 14px !important; margin-bottom: 4px !important;
}
html.wrd-pub-nl .input-field:has(> input, > select, > textarea, > .select-wrapper) > label {
  order: -1; position: static !important; transform: none !important;
  margin: 0 0 6px !important; padding: 0 !important; height: auto !important; line-height: 1.35 !important;
  font: 600 13px/1.35 var(--wrd-font) !important; color: var(--wrd-ink-2) !important; pointer-events: auto;
}
html.wrd-pub-nl .input-field:has(> input, > select, > textarea, > .select-wrapper) > label * { font: inherit !important; }
html.wrd-pub-nl .input-field > input[type="text"], html.wrd-pub-nl .input-field > input[type="email"],
html.wrd-pub-nl .input-field > input[type="password"], html.wrd-pub-nl .input-field > input[type="tel"],
html.wrd-pub-nl .input-field > input:not([type]), html.wrd-pub-nl .input-field > input[type="number"],
html.wrd-pub-nl .input-field > textarea, html.wrd-pub-nl .input-field select,
html.wrd-pub-nl .input-field > .select-wrapper > select {
  box-sizing: border-box !important; width: 100% !important; height: 46px !important;
  margin: 0 !important; padding: 0 14px !important;
  font: 400 16px var(--wrd-font) !important; color: var(--wrd-ink) !important;
  background: #FFFFFF !important; border: 1px solid var(--wrd-field-line) !important;
  border-radius: var(--wrd-radius-field) !important; box-shadow: none !important; outline: none !important;
}
html.wrd-pub-nl .input-field > textarea { height: auto !important; min-height: 110px !important; padding: 12px 14px !important; resize: vertical; }
html.wrd-pub-nl .input-field > input:hover, html.wrd-pub-nl .input-field > textarea:hover, html.wrd-pub-nl .input-field select:hover { border-color: var(--wrd-brand) !important; }
html.wrd-pub-nl .input-field > input:focus, html.wrd-pub-nl .input-field > textarea:focus, html.wrd-pub-nl .input-field select:focus {
  border-color: var(--wrd-brand) !important; box-shadow: var(--wrd-focus) !important;
}
html.wrd-pub-nl .input-field > .prefix, html.wrd-pub-nl .input-field > i { display: none; }
/* validator text sits under its field */
html.wrd-pub-nl .input-field > span[style*="color"], html.wrd-pub-nl .label-custom-message,
html.wrd-pub-nl span[id*="Validator"], html.wrd-pub-nl span[id*="reg"] {
  font: 500 13px/1.4 var(--wrd-font) !important; margin-top: 4px;
}
html.wrd-pub-nl .label-custom-message[style*="red"], html.wrd-pub-nl span[style*="color:Red"], html.wrd-pub-nl span[style*="color: red"] { color: var(--wrd-error-text) !important; }

/* ---- Choice pills (urgency, partner type, yes/no) ---- */
html.wrd-pub-nl .button-radio-custom2 label, html.wrd-pub-nl .button-radio-custom label {
  border: 1px solid #C9D2DC !important; border-radius: var(--wrd-radius-field) !important;
  color: var(--wrd-ink) !important; background: #FFFFFF !important; font: 500 15px var(--wrd-font) !important;
  box-shadow: none !important;
}
html.wrd-pub-nl .button-radio-custom2 label:hover, html.wrd-pub-nl .button-radio-custom label:hover { border-color: var(--wrd-brand) !important; }
html.wrd-pub-nl .button-radio-custom2 input:checked + label, html.wrd-pub-nl .button-radio-custom input:checked + label {
  background: var(--wrd-brand-tint) !important; border-color: var(--wrd-brand) !important; color: var(--wrd-brand) !important;
  box-shadow: inset 0 0 0 1px var(--wrd-brand) !important;
}

/* ---- Footer action row + consent text ---- */
html.wrd-pub-nl .box-shadow-footer {
  background: transparent !important; box-shadow: none !important; border: 0 !important;
  margin: 18px 0 0 !important; padding: 0 !important;
}
html.wrd-pub-nl .box-shadow-footer > div { float: none !important; margin: 0 !important; width: 100% !important; text-align: right; padding: 0 !important; }
html.wrd-pub-nl p[style*="font-size"], html.wrd-pub-nl .opt-in, html.wrd-pub-nl .consent-text { color: var(--wrd-muted) !important; }

/* ---- Content boxes that aren't collapsibles (passwordrecovery, UpdateCC) ---- */
html.wrd-pub-nl form > .container > div > .box-shadow-customer,
html.wrd-pub-nl form > .container > div > div > div > div > .box-shadow-customer,
html.wrd-pub-nl .RadAjaxPanel > .box-shadow-customer,
html.wrd-pub-nl form > .container > div .box-shadow-customer {
  background: #FFFFFF !important; border: 1px solid var(--wrd-line) !important;
  border-radius: var(--wrd-radius-card) !important;
  box-shadow: 0 1px 2px rgba(16, 36, 55, .05), 0 6px 18px rgba(16, 36, 55, .05) !important;
  padding: 24px !important; margin: 0 auto !important;
}
/* a box nested in a box is the real card; flatten the outer one */
html.wrd-pub-nl .box-shadow-customer:has(.box-shadow-customer) {
  background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important;
}
html.wrd-pub-nl .box-shadow-customer .box-shadow-customer { max-width: 480px; padding: 0 !important; overflow: hidden; }
html.wrd-pub-nl .box-shadow-customer .box-shadow-customer > .row { margin: 0 !important; padding-left: 8px; padding-right: 8px; }
html.wrd-pub-nl .password-reset-header, html.wrd-pub-nl .title-box > div {
  text-align: left !important; padding: 16px 20px 14px !important; margin: 0 -8px !important;
  color: var(--wrd-brand) !important; font: 700 19px/1.3 var(--wrd-font) !important;
  background: #FFFFFF !important; border-bottom: 1px solid var(--wrd-line); box-shadow: inset 3px 0 0 var(--wrd-gold);
}
html.wrd-pub-nl .title-box { background: transparent !important; }
html.wrd-pub-nl .label-custom-message { font-size: 15px !important; }
html.wrd-pub-nl h1, html.wrd-pub-nl h2, html.wrd-pub-nl h3, html.wrd-pub-nl h4 { color: var(--wrd-brand); font-family: var(--wrd-font) !important; letter-spacing: -.01em; }

/* ---- Buttons ---- */
html.wrd-pub-nl .btn, html.wrd-pub-nl .btn-primary, html.wrd-pub-nl input[type="submit"].btn {
  height: 44px !important; min-width: 112px; padding: 0 22px !important; line-height: 42px !important;
  font: 700 15px var(--wrd-font) !important; text-transform: none !important; letter-spacing: 0 !important;
  border-radius: var(--wrd-radius-btn, 6px) !important; box-shadow: none !important;
}
html.wrd-pub-nl .btn-primary, html.wrd-pub-nl .btn-submit {
  background: var(--wrd-cta) !important; border: 1px solid var(--wrd-cta) !important; color: #FFFFFF !important;
}
html.wrd-pub-nl .btn-primary:hover, html.wrd-pub-nl .btn-submit:hover { background: var(--wrd-cta-hover) !important; }
html.wrd-pub-nl .btn-flat { background: #FFFFFF !important; color: var(--wrd-brand) !important; border: 1px solid rgba(29, 59, 88, .35) !important; }
html.wrd-pub-nl .modal { border-radius: var(--wrd-radius-card) !important; }

/* ---- Footer: light contact strip ---- */
html.wrd-pub-nl footer.page-footer { background: transparent !important; margin: 28px 0 0 !important; padding: 0 !important; box-shadow: none !important; }
html.wrd-pub-nl footer.page-footer .footer-copyright { background: transparent !important; height: auto !important; line-height: normal !important; padding: 0 !important; }
html.wrd-pub-nl footer.page-footer .container { width: auto !important; max-width: 1008px; padding: 0 !important; }
html.wrd-pub-nl .div-footer-content {
  padding: 18px 20px !important; font: 400 13px/1.9 var(--wrd-font) !important; color: var(--wrd-muted) !important;
  text-align: center; border-top: 1px solid var(--wrd-line);
}

/* ---- Narrow screens ---- */
html.wrd-pub-nl form { max-width: 100%; overflow-x: clip; }
@media (max-width: 767px) {
  html.wrd-pub-nl .collapsible-body { padding: 6px 14px 16px !important; }
  html.wrd-pub-nl .collapsible-body .row { margin-left: -8px; margin-right: -8px; }
  html.wrd-pub-nl .input-field[class*="col-"] { padding-left: 8px !important; padding-right: 8px !important; }
  html.wrd-pub-nl .collapsible-body [class*="col-sm-"], html.wrd-pub-nl .collapsible-body [class*="col-md-"] { width: 100%; margin-left: 0 !important; }
  html.wrd-pub-nl .box-shadow-footer > div { text-align: center; }
  html.wrd-pub-nl .box-shadow-footer .btn { width: 100%; text-align: center !important; }
  html.wrd-pub-nl #ctl00_ddlLanguages { width: 120px; }
  html.wrd-pub-nl form > .container > .box-shadow-customer:first-child img { max-width: 180px !important; }
}
