#wrapper {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

#page-form-email, #page-form-button {
    width: 100%;
    height: 48px;
    padding: 12px;

    font-size: 20px;
    border-radius: 7px;
}

#page-form-email {
    margin-bottom: 12px;
    padding-left: 12px;
    border: 1px solid #707070;
    box-shadow: none;
}

#page-form-email.invalid {
    border: 2px solid #2A6EB7;
}

#page-form-button {
    position: relative;
    border: none;
    color: #ffffff;
    background-color: #50A8FF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

#page-form-button.idle:hover {
    background-color: #3081CC;
}
#page-form-button.idle:active {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

#page-form-button.waiting {
    box-shadow: none;
    border: 1px solid #2A6EB7;
}

#page-form-button.waiting span {
    display: none;
}

#page-form-button.waiting:after {
    display: inline-block;
    position: absolute;

    width: 24px;
    height: 24px;

    content: url("data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"white\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"feather feather-refresh-cw\"><polyline points=\"23 4 23 10 17 10\"></polyline><polyline points=\"1 20 1 14 7 14\"></polyline><path d=\"M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15\"></path></svg>");
    animation-name: waiting_spin;
    animation-duration: 1000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes waiting_spin {
    0%   { transform: translate(-50%, -50%) rotate(0deg); }
    25%  { transform: translate(-50%, -50%) rotate(180deg); }
    50%  { transform: translate(-50%, -50%) rotate(180deg); }
    75%  { transform: translate(-50%, -50%) rotate(360deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* mobile */
@media only screen and (max-width: 1200px) {
    #wrapper {
        width: 100%;
        padding: 12px;
    }
}

/* desktop */
@media only screen and (min-width: 1200px) {
    #wrapper {
        width: 450px;
    }

    #wrapper.success {
        width: 550px;
    }
}

#wrapper.success {
    padding: 30px;
    border: 2px solid #419A4D;
    border-radius: 7px;
}

