

.stripe-form label {
  height: 35px;
  position: relative;
  color: #8798AB;
  display: block;
  margin-top: 30px;
  margin-bottom: 20px;
}

.stripe-form label > span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-weight: 300;
  line-height: 32px;
  color: #8798AB;
  border-bottom: 1px solid #586A82;
  transition: border-bottom-color 200ms ease-in-out;
  cursor: text;
  pointer-events: none;
}

.stripe-form label > span span {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0% 50%;
  transition: transform 200ms ease-in-out;
  cursor: text;
}

.stripe-form label .field.is-focused + span span,
.stripe-form label .field:not(.is-empty) + span span {
  transform: scale(0.68) translateY(-36px);
  cursor: default;
}

.stripe-form label .field.is-focused + span {
  border-bottom-color: #34D08C;
}

.stripe-form .field {
  background: transparent;
  font-weight: 300;
  border: 0;
  color: white;
  outline: none;
  cursor: text;
  display: block;
  width: 100%;
  line-height: 32px;
  padding-bottom: 3px;
  transition: opacity 200ms ease-in-out;
}

.stripe-form .field::-webkit-input-placeholder { color: #8898AA; }
.stripe-form .field::-moz-placeholder { color: #8898AA; }

/* IE doesn't show placeholders when empty+focused */
 .stripe-form .field:-ms-input-placeholder { color: #424770; }

.stripe-form .field.is-empty:not(.is-focused) {
  opacity: 1;
}

.stripe-form button {
  float: left;
  display: block;
  background: #34D08C;
  color: white;
  border-radius: 2px;
  border: 0;
  margin-top: 20px;
  font-size: 19px;
  font-weight: 400;
  width: 100%;
  height: 47px;
  line-height: 45px;
  outline: none;
}

.stripe-form button:focus {
  background: #24B47E;
}

.stripe-form button:active {
  background: #159570;
}

.stripe-form .outcome {
  float: left;
  width: 100%;
  padding-top: 8px;
  min-height: 20px;
  text-align: center;
}

.stripe-form .success, .stripe-form .error {
  display: none;
  font-size: 15px;
}

.stripe-form .success.visible, .stripe-form .error.visible {
  display: inline;
}

.stripe-form  .error {
  color: #E4584C;
}

.stripe-form  .success {
  color: #34D08C;
}

.stripe-form .success .token {
  font-weight: 500;
  font-size: 15px;
}