.StripeElement {
    box-sizing: border-box;
    width: 50%;
    height: 40px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    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;
}
input {
    display: block;
    border: 1px solid #ccc;
}
input.error {
    background: rgb(251, 227, 228);
    border: 1px solid #fbc2c4;
    color: #8a1f11;
}
label {
    display: inline-block;
    margin-bottom: 0.2em;
}
label.error {
    color: #8a1f11;
    display: inline-block;
    margin-left: 0.5em;
}