/* Variables */
* {
    box-sizing: border-box;
}
.strip-payment-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    display: flex;
    justify-content: center;
    align-content: center;
    /*height: 100vh;
    width: 100vw;*/
}
.strip-payment-wrapper form {
    width: 30vw;
    min-width: 500px;
    align-self: center;
   /* box-shadow: 0px 0px 0px 0.5px rgba(50, 50, 93, 0.1),
    0px 2px 5px 0px rgba(50, 50, 93, 0.1), 0px 1px 1.5px 0px rgba(0, 0, 0, 0.07);
    border-radius: 7px;*/
    padding: 40px;
}
.strip-payment-wrapper input {
    border-radius: 6px;
    margin-bottom: 6px;
    padding: 12px;
    border: 1px solid rgba(50, 50, 93, 0.1);
    height: 44px;
    font-size: 16px;
    width: 100%;
    background: white;
}
.strip-payment-wrapper .result-message {
    line-height: 22px;
    font-size: 16px;
}
.strip-payment-wrapper .result-message a {
    color: rgb(89, 111, 214);
    font-weight: 600;
    text-decoration: none;
}
.strip-payment-wrapper .hidden {
    display: none;
}
#card-error {
    color: #a94442;
    text-align: left;
    font-size: 13px;
    line-height: 17px;
    margin-top: 12px;
}
#card-element {
    border-radius: 4px 4px 0 0 ;
    padding: 12px;
    border: 1px solid rgba(50, 50, 93, 0.1);
    height: 44px;
    width: 100%;
    background: white;
}
#payment-request-button {
    margin-bottom: 32px;
}
/* Buttons and links */
.strip-payment-wrapper button {
    background: #e2062b;
    color: #ffffff;
    font-family: Arial, sans-serif;
    border-radius: 0 0 4px 4px;
    border: 0;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    transition: all 0.2s ease;
    box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
    width: 100%;
}
 
.strip-payment-wrapper button:disabled {
    opacity: 0.5;
    cursor: default;
}
.spinner-container {
    width: 100%;
    height: 100%;
    z-index: 99999;
    text-align: center;
    padding: 12px 0;
  }
  .spinner {
    margin: auto;
    border: 2px solid #dbf2ff; 
    /*
    change to dotted for something cool.
    change width to 1px for tapered bar
    */
    width: 20px;
    height: 20px;
    display: inline-block;
    position: absolute;
    top: 52%;
    border-radius: 50%;
    border-right: 2px solid #018df7;
    text-align:center;
    animation-name: spin;
    animation-duration: 900ms;
    animation-iteration-count: infinite;
    /*animation-timing-function: linear; /*linear spin */
    animation-timing-function: cubic-bezier(0.53, 0.21, 0.29, 0.67);
  }
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    /*50% {width:24px;height:24px} /*shrinking effect*/
    100% { -webkit-transform: rotate(360deg); }
  }
  @keyframes spin {
    0% { -webkit-transform: rotate(0deg);}
   /*50% {width:24px;height:24px} /*shrinking effect*/
    100% { -webkit-transform: rotate(360deg); }
  }
  
@media only screen and (max-width: 600px) {
    form {
        width: 80vw;
    }
    .strip-payment-wrapper form {
         min-width: 360px;
    }
}