.StripeElement {
  background-color: white;
  padding: 8px 12px;
  border-radius: 4px;
  width: 40%;
  border: 1px solid transparent;
  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;
}

.StripeField {
  max-width: 100%;
  width: 100%;
}

@media only screen and (min-width: 600px) {
  .StripeField {
    max-width: 568px;
  }
}