/* Wartip V39 — Pure white channel theme text contrast.
   Loaded at the end of donate.php so it wins over legacy inline/theme rules. */
html[data-channel-theme="white"] #wtPublicView{
  color:#111111!important;
  -webkit-text-fill-color:currentColor;
}

/* Main support content: headings and labels must be true dark text on #fff. */
html[data-channel-theme="white"] #wtPublicView .wt-donation-heading h1,
html[data-channel-theme="white"] #wtPublicView .wt-donation-heading h2,
html[data-channel-theme="white"] #wtPublicView .wt-donation-heading h3,
html[data-channel-theme="white"] #wtPublicView h1,
html[data-channel-theme="white"] #wtPublicView h2,
html[data-channel-theme="white"] #wtPublicView h3,
html[data-channel-theme="white"] #wtPublicView h4,
html[data-channel-theme="white"] #wtPublicView .field>label,
html[data-channel-theme="white"] #wtPublicView label,
html[data-channel-theme="white"] #wtPublicView legend,
html[data-channel-theme="white"] #wtPublicView .wpay-section-title,
html[data-channel-theme="white"] #wtPublicView .wi-method-title,
html[data-channel-theme="white"] #wtPublicView .wi-pay-title,
html[data-channel-theme="white"] #wtPublicView .shop-product-copy h2,
html[data-channel-theme="white"] #wtPublicView .shop-product-copy h3,
html[data-channel-theme="white"] #wtPublicView .about h2,
html[data-channel-theme="white"] #wtPublicView .about h3{
  color:#111111!important;
  -webkit-text-fill-color:#111111!important;
  text-shadow:none!important;
}

/* Supporting copy stays readable dark gray instead of washed-out white. */
html[data-channel-theme="white"] #wtPublicView .wt-donation-heading p,
html[data-channel-theme="white"] #wtPublicView p,
html[data-channel-theme="white"] #wtPublicView .hint,
html[data-channel-theme="white"] #wtPublicView .muted,
html[data-channel-theme="white"] #wtPublicView small,
html[data-channel-theme="white"] #wtPublicView .field>label small,
html[data-channel-theme="white"] #wtPublicView .wi-method-sub,
html[data-channel-theme="white"] #wtPublicView .wi-pay-sub,
html[data-channel-theme="white"] #wtPublicView .secure-hint{
  color:#5f6368!important;
  -webkit-text-fill-color:#5f6368!important;
  text-shadow:none!important;
}

/* Form controls. */
html[data-channel-theme="white"] #wtPublicView input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
html[data-channel-theme="white"] #wtPublicView textarea,
html[data-channel-theme="white"] #wtPublicView select{
  color:#111111!important;
  -webkit-text-fill-color:#111111!important;
  background:rgba(255,255,255,.94)!important;
  border-color:#cfcfd4!important;
  caret-color:#111111!important;
  text-shadow:none!important;
}
html[data-channel-theme="white"] #wtPublicView input::placeholder,
html[data-channel-theme="white"] #wtPublicView textarea::placeholder{
  color:#7b7f87!important;
  -webkit-text-fill-color:#7b7f87!important;
  opacity:1!important;
}

/* Amount shortcuts and secondary controls. */
html[data-channel-theme="white"] #wtPublicView .amounts button,
html[data-channel-theme="white"] #wtPublicView .wi-method,
html[data-channel-theme="white"] #wtPublicView .wi-method-back,
html[data-channel-theme="white"] #wtPublicView .wi-text-button,
html[data-channel-theme="white"] #wtPublicView .bank-copy,
html[data-channel-theme="white"] #wtPublicView .wpay-mobile-open{
  color:#111111!important;
  -webkit-text-fill-color:#111111!important;
  text-shadow:none!important;
}

/* Cards on white theme. */
html[data-channel-theme="white"] #wtPublicView .card,
html[data-channel-theme="white"] #wtPublicView .wt-support-info,
html[data-channel-theme="white"] #wtPublicView .support-unavailable,
html[data-channel-theme="white"] #wtPublicView .wi-summary,
html[data-channel-theme="white"] #wtPublicView .wi-payment-overview,
html[data-channel-theme="white"] #wtPublicView .wpay-payment-detail,
html[data-channel-theme="white"] #wtPublicView .wpay-upload-form,
html[data-channel-theme="white"] #wtPublicView .slip-picker,
html[data-channel-theme="white"] #wtPublicView .wi-confirm,
html[data-channel-theme="white"] #wtPublicView .wi-finish{
  color:#111111!important;
  -webkit-text-fill-color:#111111!important;
  text-shadow:none!important;
}

/* The public info card should also use dark text in the white skin. */
html[data-channel-theme="white"] #wtPublicView .wt-support-info *,
html[data-channel-theme="white"] #wtPublicView .support-unavailable *{
  text-shadow:none!important;
}
html[data-channel-theme="white"] #wtPublicView .wt-support-info strong,
html[data-channel-theme="white"] #wtPublicView .wt-support-info h2,
html[data-channel-theme="white"] #wtPublicView .wt-support-info h3,
html[data-channel-theme="white"] #wtPublicView .wt-support-info-note,
html[data-channel-theme="white"] #wtPublicView .wt-support-info-note p,
html[data-channel-theme="white"] #wtPublicView .wt-support-info-identity strong,
html[data-channel-theme="white"] #wtPublicView .support-unavailable h3{
  color:#111111!important;
  -webkit-text-fill-color:#111111!important;
}
html[data-channel-theme="white"] #wtPublicView .wt-support-info-bio,
html[data-channel-theme="white"] #wtPublicView .wt-support-info-identity span,
html[data-channel-theme="white"] #wtPublicView .support-unavailable p{
  color:#5f6368!important;
  -webkit-text-fill-color:#5f6368!important;
}

/* White theme CTAs use gray surfaces with black text. */
html[data-channel-theme="white"] #wtPublicView .btn,
html[data-channel-theme="white"] #wtPublicView .btn-primary,
html[data-channel-theme="white"] #wtPublicView #donateContinue,
html[data-channel-theme="white"] #wtPublicView .wi-pay-start,
html[data-channel-theme="white"] #wtPublicView .pay-submit,
html[data-channel-theme="white"] #wtPublicView .wpay-wallet-submit{
  color:#111111!important;
  -webkit-text-fill-color:#111111!important;
  text-shadow:none!important;
}

/* Keep status colors meaningful, but never white-on-white. */
html[data-channel-theme="white"] #wtPublicView .note:not(.error):not(.success),
html[data-channel-theme="white"] #wtPublicView .wpay-result{
  color:#303238!important;
  -webkit-text-fill-color:#303238!important;
}

/* Explicitly restore the exact labels reported as unreadable. */
html[data-channel-theme="white"] #wtPublicView label[for="wiDonorName"],
html[data-channel-theme="white"] #wtPublicView label[for="amount"],
html[data-channel-theme="white"] #wtPublicView label[for="wiDonorMessage"]{
  color:#111111!important;
  -webkit-text-fill-color:#111111!important;
}

@media(max-width:900px){
  html[data-channel-theme="white"] #wtPublicView{
    color:#111111!important;
  }
}
