/* PayPal Payments (paypal_ppcpv) contrast fixups for this dark cart.
 *
 * Surfaces in play (all from the served all.min.css / module payment.css):
 *   #order-standard_cart .cc-input-container -> background #212535 !important  (dark)
 *   .paypal_ppcpv-payment-form .selected     -> background #f1f1f1             (light)
 *   #order-standard_cart label               -> color #f5f5f5                  (light)
 *   ... .cc-input-container .existing-cc-grid-> color #666                     (dark)
 *
 * The module assumes a light theme and sets no text colour, so each row needs an
 * explicit colour for its own background. Both states are stated outright rather
 * than left to inherit -- inheritance differs between the plain radio label and
 * the rows inside .existing-cc-grid, which is what made one state unreadable.
 */

/* Selected row: module paints it light #f1f1f1, so text must be dark. */
#frmCheckout.paypal_ppcpv-payment-form #creditCardInputFields .selected,
#frmCheckout.paypal_ppcpv-payment-form #creditCardInputFields .selected label,
#frmCheckout.paypal_ppcpv-payment-form #creditCardInputFields .selected span,
#frmCheckout.paypal_ppcpv-payment-form #creditCardInputFields .selected li,
#frmCheckout.paypal_ppcpv-payment-form #creditCardInputFields .selected .payer-email {
    color: #212529;
}

/* Unselected rows: they sit on the theme's dark #212535 container. The theme
   colours .existing-cc-grid #666, unreadable there, so force the light colour. */
#frmCheckout.paypal_ppcpv-payment-form #creditCardInputFields .paymethod-info:not(.selected),
#frmCheckout.paypal_ppcpv-payment-form #creditCardInputFields .paymethod-info:not(.selected) span,
#frmCheckout.paypal_ppcpv-payment-form #creditCardInputFields ul:not(.selected) label,
#frmCheckout.paypal_ppcpv-payment-form #creditCardInputFields ul:not(.selected) li {
    color: #f5f5f5;
}
