/* Dark-theme text contrast: replace light surfaces that leave inherited white text unreadable. */
html[data-kelwin-theme="dark"] .float-card,
html[data-kelwin-theme="dark"] .security-art .float-card {
  background:rgba(25,33,47,.96)!important;
  border-color:#3b4659!important;
  color:#f0f3f9!important;
  box-shadow:0 12px 35px rgba(0,0,0,.32)!important;
}
html[data-kelwin-theme="dark"] .float-card small {
  color:#b4bfd0!important;
}
html[data-kelwin-theme="dark"] .btn:not(.light):not(.purple) {
  background:#202a38!important;
  border-color:#3b4659!important;
  color:#f2f4f9!important;
}
html[data-kelwin-theme="dark"] .btn:not(.light):not(.purple):hover {
  background:#2a3749!important;
  border-color:#665b91!important;
  color:#fff!important;
}
html[data-kelwin-theme="dark"] .payment-card {
  background:#141a22!important;
  border-color:#344052!important;
  color:#e8eaf0!important;
}
html[data-kelwin-theme="dark"] .payment-card h2,
html[data-kelwin-theme="dark"] .payment-card label {
  color:#eef0f8!important;
}
html[data-kelwin-theme="dark"] .payment-card p,
html[data-kelwin-theme="dark"] .payment-card li {
  color:#b5bece!important;
}
html[data-kelwin-theme="dark"] .payment-card input,
html[data-kelwin-theme="dark"] .payment-card select {
  background:#0d131b!important;
  border-color:#3b4659!important;
  color:#f0f3f9!important;
}
html[data-kelwin-theme="dark"] .selected-plan,
html[data-kelwin-theme="dark"] .payment-note {
  background:#211d31!important;
  border-color:#51466f!important;
  color:#e4def7!important;
}
html[data-kelwin-theme="dark"] .payment-success {
  background:#132720!important;
  border-color:#326d55!important;
  color:#b9f2d5!important;
}
html[data-kelwin-theme="dark"] .kelwin-member-count {
  background:#201c30!important;
  border-color:#51466f!important;
  color:#e4def7!important;
}
html[data-kelwin-theme="dark"] .membership-checkout-cta {
  background:#201c30!important;
  border-color:#51466f!important;
  color:#e4def7!important;
}
html[data-kelwin-theme="dark"] .payment-card .secondary {
  background:#202a38!important;
  border-color:#3b4659!important;
  color:#f2f4f9!important;
}
