#stripe-container, #stripe-container-recurrent {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    display: flex;
    justify-content: center;
    align-content: center;
    width: 100%;
}

#payment-form {
    width: 100%;
    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;
    text-align: center;
}

#payment-form 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;
}

#payment-form .result-message {
    line-height: 22px;
    font-size: 16px;
}

#payment-form .result-message a {
    color: rgb(89, 111, 214);
    font-weight: 600;
    text-decoration: none;
}

#payment-form .hidden {
    display: none;
}

#payment-form #card-error {
    color: red;
    text-align: center;
    font-size: 16px;
    line-height: 17px;
    margin-top: 12px;
}

#payment-form #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-form #payment-request-button {
    margin-bottom: 32px;
}

/* Buttons and links */

#payment-form button:hover {
    filter: contrast(115%);
}
#payment-form button:disabled {
    opacity: 0.5;
    cursor: default;
}

/* processing state, errors */

@media only screen and (max-width: 600px) {
    #payment-form {
        width: 80vw;
    }
}