/* Cart custom overrides intentionally minimized.
   Theme rules are maintained in style.css to avoid duplication. */

#order-standard_cart .field,
#order-standard_cart .form-control,
#order-standard_cart select,
#order-standard_cart textarea {
    background-color: #fff !important;
    color: #0d0d0d !important;
    border-color: #cfcfcf !important;
}

#order-standard_cart .field:-webkit-autofill,
#order-standard_cart .form-control:-webkit-autofill,
#order-standard_cart textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #0d0d0d !important;
}

#order-standard_cart .cc-input-container,
#order-standard_cart .cc-input-container label,
#order-standard_cart .cc-input-container .payment-instructions,
#order-standard_cart .cc-input-container .approval-instructions {
    color: #e2e2e2;
}

#order-standard_cart .cc-input-container .payment-instructions,
#order-standard_cart .cc-input-container .approval-instructions {
    margin: 0 0 12px 0;
}

#order-standard_cart .cc-input-container ul.selected {
    margin: 10px 0 15px 0;
    padding: 10px 12px;
    background-color: #4e4e5f;
    border: 1px solid #505050;
    border-radius: 4px;
}

#order-standard_cart .cc-input-container ul.selected li {
    color: #fff;
}

#order-standard_cart .cc-input-container .field-help-text,
#order-standard_cart .cc-input-container .text-muted {
    color: #d8d8d8;
}

#order-standard_cart #creditCardInputFields .field,
#order-standard_cart #creditCardInputFields .form-control,
#order-standard_cart #paymentGatewayInput .field,
#order-standard_cart #paymentGatewayInput .form-control,
#order-standard_cart #paymentGatewayInput .StripeElement,
#order-standard_cart #paypal_ppcpv_input_container .field,
#order-standard_cart #paypal_ppcpv_input_container .form-control,
#order-standard_cart #stripeElements .form-control,
#order-standard_cart #stripeElements .StripeElement,
#order-standard_cart #stripeCreditCard,
#order-standard_cart #stripeExpiryDate,
#order-standard_cart #stripeCvc {
    background-color: #fff !important;
    color: #0d0d0d !important;
    -webkit-text-fill-color: #0d0d0d !important;
    border-color: #c0c2d4 !important;
}

#order-standard_cart #creditCardInputFields .field::placeholder,
#order-standard_cart #creditCardInputFields .form-control::placeholder,
#order-standard_cart #paymentGatewayInput .field::placeholder,
#order-standard_cart #paymentGatewayInput .form-control::placeholder,
#order-standard_cart #paypal_ppcpv_input_container .field::placeholder,
#order-standard_cart #paypal_ppcpv_input_container .form-control::placeholder {
    color: #5a5f70 !important;
    opacity: 1;
}

#order-standard_cart #creditCardInputFields .field:-webkit-autofill,
#order-standard_cart #creditCardInputFields .form-control:-webkit-autofill,
#order-standard_cart #paymentGatewayInput .field:-webkit-autofill,
#order-standard_cart #paymentGatewayInput .form-control:-webkit-autofill,
#order-standard_cart #paypal_ppcpv_input_container .field:-webkit-autofill,
#order-standard_cart #paypal_ppcpv_input_container .form-control:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #0d0d0d !important;
}

#order-standard_cart #paymentRequestButton.StripeElement {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

#order-standard_cart .field:disabled,
#order-standard_cart .field[readonly],
#order-standard_cart .form-control:disabled,
#order-standard_cart .form-control[readonly],
#order-standard_cart select:disabled,
#order-standard_cart textarea:disabled,
#order-standard_cart textarea[readonly],
#order-standard_cart #creditCardInputFields .field:disabled,
#order-standard_cart #creditCardInputFields .form-control:disabled,
#order-standard_cart #paymentGatewayInput .field:disabled,
#order-standard_cart #paymentGatewayInput .form-control:disabled,
#order-standard_cart #paypal_ppcpv_input_container .field:disabled,
#order-standard_cart #paypal_ppcpv_input_container .form-control:disabled {
    background-color: #d1d1d1 !important;
    color: #5a5f70 !important;
    -webkit-text-fill-color: #5a5f70 !important;
    border-color: #d1d1d1 !important;
    opacity: 1;
}

#order-standard_cart .input-group-text.text-muted {
    color: #5a5f70 !important;
}

#order-standard_cart .icheckbox_square-blue,
#order-standard_cart .icheckbox_square-blue.hover,
#order-standard_cart .icheckbox_square-blue.checked,
#order-standard_cart .icheckbox_square-blue.checked.hover,
#order-standard_cart .iradio_square-blue,
#order-standard_cart .iradio_square-blue.hover,
#order-standard_cart .iradio_square-blue.checked,
#order-standard_cart .iradio_square-blue.checked.hover {
    width: 16px;
    height: 16px;
    background-image: none !important;
    background-color: #fff !important;
    border: 1px solid #c0c2d4 !important;
    box-shadow: none;
}

#order-standard_cart .icheckbox_square-blue {
    border-radius: 3px;
}

#order-standard_cart .iradio_square-blue {
    border-radius: 50%;
}

#order-standard_cart .icheckbox_square-blue.checked,
#order-standard_cart .icheckbox_square-blue.checked.hover,
#order-standard_cart .iradio_square-blue.checked,
#order-standard_cart .iradio_square-blue.checked.hover {
    background: #62cb31 !important;
    background-color: #62cb31 !important;
    border-color: #62cb31 !important;
    box-shadow: none;
}

#order-standard_cart .icheckbox_square-blue.checked:after,
#order-standard_cart .icheckbox_square-blue.checked.hover:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#order-standard_cart .iradio_square-blue.checked:after,
#order-standard_cart .iradio_square-blue.checked.hover:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

#order-standard_cart .icheckbox_square-blue.disabled,
#order-standard_cart .iradio_square-blue.disabled {
    opacity: .55;
}

body .popover {
    background-color: #fff !important;
    border-color: #c0c2d4 !important;
    color: #0d0d0d !important;
}

body .popover .popover-header {
    background-color: #f3f3f3 !important;
    border-bottom-color: #c0c2d4 !important;
    color: #0d0d0d !important;
}

body .popover .popover-body {
    background-color: #fff !important;
    color: #0d0d0d !important;
}

body .bs-popover-right > .arrow::after,
body .bs-popover-auto[x-placement^="right"] > .arrow::after {
    border-right-color: #fff !important;
}

body .bs-popover-right > .arrow::before,
body .bs-popover-auto[x-placement^="right"] > .arrow::before {
    border-right-color: #c0c2d4 !important;
}
