/**
 * Checkout.com
 * Authorized and regulated as an electronic money institution
 * by the UK Financial Conduct Authority (FCA) under number 900816.
 *
 * PHP version 7
 *
 * @category  Magento2
 * @package   Checkout.com
 * @author    Platforms Development Team <platforms@checkout.com>
 * @copyright 2010-2019 Checkout.com
 * @license   https://opensource.org/licenses/mit-license.html MIT License
 * @link      https://docs.checkout.com/
 */

#checkoutcom_card_payment_frm *,
#checkoutcom_card_payment_frm *::before,
#checkoutcom_card_payment_frm *::after {
    box-sizing: border-box;
}
  
#checkoutcom_card_payment_frm html {
    padding: 1rem;
    background-color: #FFF;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#checkoutcom_card_payment_frm iframe {
    width: 100%;
}

#checkoutcom_card_payment_frm .one-liner {
    display: flex;
    flex-direction: column;
}

#checkoutcom_card_payment_frm .card-frame {
    border: solid 1px #13395E;
    border-radius: 3px;
    width: 100%;
    margin-bottom: 8px;
    height: 40px;
    box-shadow: 0 1px 3px 0 rgba(19,57,94,0.2);
}

#checkoutcom_card_payment_frm .card-frame.frame--rendered {
    opacity: 1; /* Prevents iFrame rendering issue */

    /* Reminder: consider removal of 'rendered' */
    /* event passing to Merchant page */
}

#checkoutcom_card_payment_frm .card-frame.frame--rendered.frame--focus {
    border: solid 1px #13395E;
    box-shadow: 0 2px 5px 0 rgba(19,57,94,0.15);
}

#checkoutcom_card_payment_frm .card-frame.frame--rendered.frame--invalid {
    border: solid 1px #D96830;
    box-shadow: 0 2px 5px 0 rgba(217,104,48,0.15);
}

#checkoutcom_card_payment_frm .error-message {
    color: #C9501C;
    font-size: 1.2rem;
    margin: 8px 0 0 1px;
    font-weight: 300;
}

#checkoutcom_card_payment_frm .success-payment-message {
    color: #13395E;
    line-height: 1.4;
}

#checkoutcom_card_payment_frm .token {
    color: #b35e14;
    font-size: .9rem;
    font-family: monospace;
}

@media screen and (min-width: 31rem) {
    #checkoutcom_card_payment_frm .one-liner {
        flex-direction: row;
    }

    #checkoutcom_card_payment_frm .card-frame {
        margin-bottom: 0;
    }
}