.vvc-auth {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    padding: 72px 24px 60px;
    box-sizing: border-box;
    overflow-x: hidden;
    background: #fff;
    color: #111;
}

.vvc-auth-stage {
    position: relative;
    width: 100%;
    max-width: 420px;
    min-width: 0;
    margin-top: 70px;
    box-sizing: border-box;
    overflow: hidden;
    transition: height .55s cubic-bezier(.4, 0, .2, 1);
}

.vvc-auth-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity .3s ease,
        transform .55s cubic-bezier(.4, 0, .2, 1),
        visibility 0s linear .55s;
}

.vvc-auth-panel.is-active {
    position: relative;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
    transition:
        opacity .35s ease .08s,
        transform .55s cubic-bezier(.4, 0, .2, 1),
        visibility 0s;
}

.vvc-auth-heading {
    margin-bottom: 48px;
    text-align: center;
}

.vvc-auth-heading > span {
    display: block;
    margin-bottom: 10px;
    color: #999;
    font-size: 9px;
    line-height: 1;
    letter-spacing: .2em;
}

.vvc-auth-heading h1 {
    margin: 0;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .01em;
}

.vvc-auth-form {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.vvc-auth-field {
    position: relative;
    width: 100%;
    min-width: 0;
    margin: 0 0 32px;
    box-sizing: border-box;
}

.vvc-auth-field input {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 48px;
    margin: 0;
    padding: 15px 44px 3px 0;
    border: 0;
    border-bottom: 1px solid #d2d2d2;
    border-radius: 0;
    outline: 0;
    box-sizing: border-box;
    background: transparent;
    color: #111;
    font-family: inherit;
    font-size: 13px;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .25s ease;
}

.vvc-auth-field input::placeholder {
    color: transparent;
}

.vvc-auth-field input:focus {
    border-bottom-color: #111;
}

.vvc-auth-field label {
    position: absolute;
    top: 17px;
    left: 0;
    color: #999;
    font-size: 12px;
    line-height: 1;
    pointer-events: none;
    transition:
        top .25s ease,
        color .25s ease,
        font-size .25s ease;
}

.vvc-auth-field input:focus + label,
.vvc-auth-field input:not(:placeholder-shown) + label {
    top: 0;
    color: #555;
    font-size: 9px;
}

.vvc-auth-password-toggle {
    position: absolute;
    right: 0;
    bottom: 9px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #999;
    font-family: inherit;
    font-size: 9px;
    line-height: 1;
    cursor: pointer;
}

.vvc-auth-password-toggle:hover {
    color: #111;
}


/* VERIFICATION SWAP */

.vvc-login-secret,
.vvc-signup-secret {
    display: grid;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.vvc-login-secret > *,
.vvc-signup-secret > * {
    grid-column: 1;
    grid-row: 1;
}

.vvc-login-code,
.vvc-signup-code {
    align-self: start;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.vvc-login-secret.is-verifying .vvc-login-password {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.vvc-login-secret.is-verifying .vvc-login-code,
.vvc-signup-secret.is-verifying .vvc-signup-code {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* SIGN UP PASSWORD */

.vvc-auth-signup-passwords {
    display: grid;
    grid-template-rows: 1fr;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    opacity: 1;
    transition:
        grid-template-rows .45s cubic-bezier(.4, 0, .2, 1),
        opacity .3s ease;
}

.vvc-auth-signup-passwords-inner {
    min-height: 0;
    overflow: hidden;
}

.vvc-auth-signup-passwords.is-hidden {
    grid-template-rows: 0fr;
    opacity: 0;
    pointer-events: none;
}


/* SUBMIT */

.vvc-auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 50px;
    margin: 12px 0 0;
    padding: 0 16px;
    border: 1px solid #111;
    border-radius: 0;
    outline: 0;
    box-sizing: border-box;
    background: #111;
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color .2s ease;
}

.vvc-auth-submit:hover {
    background: #333;
}

.vvc-auth-error {
    min-height: 16px;
    margin: 12px 0 0;
    color: #c00;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

.vvc-auth-submit:disabled {
    cursor: default;
    opacity: .55;
}

.vvc-auth-submit:disabled:hover {
    background: #111;
}


/* SWITCH */

.vvc-auth-switch {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 25px auto 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #555;
    font-family: inherit;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    transition: color .2s ease;
}

.vvc-auth-switch:hover {
    color: #111;
}


/* MOBILE */

@media (max-width: 768px) {
    .vvc-auth {
        padding: 54px 20px 40px !important;
    }

    .vvc-auth-stage {
        width: 100%;
        max-width: 420px;
        margin-top: 56px;
    }

    .vvc-auth-panel {
        width: 100%;
        max-width: 100%;
    }

    .vvc-auth-heading {
        margin-bottom: 40px;
    }

    .vvc-auth-heading > span {
        font-size: 8px;
    }

    .vvc-auth-heading h1 {
        font-size: 24px;
    }

    .vvc-auth-field {
        margin-bottom: 28px;
    }

    .vvc-auth-field input {
        height: 48px;
        padding-right: 42px;
        font-size: 13px;
    }

    .vvc-auth-submit {
        height: 50px;
        margin-top: 8px;
    }

    .vvc-auth-switch {
        margin-top: 23px;
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    .vvc-auth {
        padding-right: 16px;
        padding-left: 16px;
    }

    .vvc-auth-heading h1 {
        font-size: 22px;
    }

    .vvc-auth-field input {
        padding-right: 38px;
    }
}