.StripeElement {
    box-sizing: border-box;

    padding: 10px 5px;

    min-height: 25px;
    line-height: 18px;
    font-size: 14px;
    color: #555;

    border: solid 1px #cbcbcb;
    border-radius: 0.3em;
    background-color: white;

    box-shadow: 0 1px 3px 0 #e6ebf1;
    -webkit-transition: box-shadow 150ms ease;
    transition: box-shadow 150ms ease;
}

.StripeElement--focus {
    box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
    border-color: #fa755a;
}

.StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}

#card-errors p{
    color: #dc3545;
    font-size: 80%;
}