body.ev-auth,
body.ev-auth *,
body.ev-auth *::before,
body.ev-auth *::after {
    box-sizing: border-box;
}

body.ev-auth {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    background: #f6f7f5;
}

.ev-auth-page {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 100dvh;
    overflow-x: clip;
    background: #f6f7f5;
    color: #1a1a1a;
}

.ev-auth-logo {
    position: absolute;
    top: 1.65rem;
    left: 1.75rem;
    z-index: 2;
    line-height: 0;
}

.ev-auth-logo img {
    height: 3.25rem;
    width: auto;
    display: block;
    background: transparent;
}

.ev-auth-main {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6.5rem 1.5rem 3.5rem;
}

.ev-auth-column {
    width: min(100%, 28rem);
    max-width: 100%;
    min-width: 0;
}

.ev-auth-column.is-signup {
    width: min(100%, 42rem);
}

.ev-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 0 1.85rem;
    border-bottom: 1px solid #e7e7e7;
}

.ev-auth-tabs button {
    appearance: none;
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    padding: 0.7rem 0 0.75rem;
    color: #a3a8b0;
    font: inherit;
    font-size: 0.98rem;
    cursor: pointer;
}

.ev-auth-tabs button.is-active {
    color: #161616;
    font-weight: 650;
    border-bottom-color: #161616;
}

.ev-auth-column h1 {
    margin: 0;
    font-size: 1.85rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #161616;
}

.ev-auth-lead {
    margin: 0.5rem 0 1.45rem;
    color: #9aa0a8;
    font-size: 0.96rem;
}

.ev-auth .fi-fo-field {
    gap: 0;
}

.ev-auth .fi-fo-field-label-col,
.ev-auth .fi-fo-field-label {
    display: none;
}

.ev-auth .fi-sc,
.ev-auth .fi-grid,
.ev-auth .fi-grid-col,
.ev-auth form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.ev-auth .fi-input-wrp {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e4e4e4;
    box-shadow: none;
    min-height: 3.25rem;
}

.ev-auth .fi-input-wrp-content-ctn {
    width: auto;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 0%;
}

.ev-auth .fi-input-wrp:focus-within {
    border-color: #1c1c1c;
    box-shadow: none;
}

.ev-auth .fi-input-wrp-suffix {
    flex: 0 0 auto;
    border-inline-start: 0;
    background: transparent;
    padding-inline-start: 0.15rem;
}

.ev-auth .fi-input-wrp .fi-icon-btn {
    color: #8b919a;
}

.ev-auth .fi-input {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    min-height: 3.15rem;
    color: #1a1a1a;
    font-size: 16px;
}

.ev-auth .fi-input::placeholder {
    color: #b0b4ba;
}

.ev-auth .fi-btn {
    width: auto;
    margin-top: 0.35rem;
    border: 0;
    border-radius: 12px;
    background: #1b2420;
    color: #fff;
    box-shadow: none;
    min-height: max(3rem, 44px);
    padding: 0.75rem 1.55rem;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.ev-auth .fi-btn:hover,
.ev-auth .fi-btn:focus-visible {
    background: #111815;
}

.ev-auth-forgot {
    display: inline-block;
    margin-top: 1.05rem;
    padding: 0;
    border: 0;
    background: none;
    color: #a0a5ad;
    font: inherit;
    font-size: 0.92rem;
    cursor: pointer;
}

.ev-auth-note {
    margin: 0.4rem 0 0;
    color: #6d737c;
    font-size: 0.88rem;
}

.is-hidden {
    display: none;
}

.ev-signup {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 22px;
    padding: 1.45rem 1.35rem 1.2rem;
    box-shadow: 0 10px 30px rgba(22, 28, 36, 0.05);
    text-align: left;
}

.ev-signup-steps {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ev-signup-steps li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    color: #9aa1ab;
    font-size: 0.68rem;
    line-height: 1.15;
    text-align: center;
}

.ev-signup-step-index {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #e8eaee;
    color: #8b919a;
    font-size: 0.86rem;
    font-weight: 650;
}

.ev-signup-steps li.is-current {
    color: #1a1a1a;
    font-weight: 650;
}

.ev-signup-steps li.is-current .ev-signup-step-index {
    background: #1663f6;
    color: #fff;
}

.ev-signup-steps li.is-done .ev-signup-step-index {
    background: #1f9d55;
    color: #fff;
}

.ev-signup-steps button {
    appearance: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: center;
    cursor: pointer;
}

.ev-signup-step-label {
    display: block;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
}

.ev-signup-progress {
    height: 0.28rem;
    margin: 0.85rem 0 1.35rem;
    border-radius: 999px;
    background: #eceff3;
    overflow: hidden;
}

.ev-signup-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #1663f6;
}

.ev-signup h1 {
    font-size: 1.7rem;
}

.ev-signup-photo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0.35rem 0 1.35rem;
    text-align: center;
}

.ev-signup-photo {
    position: relative;
    cursor: pointer;
}

.ev-signup-photo input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 0;
    cursor: pointer;
    opacity: 0;
}

.ev-signup-circle {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: 7.4rem;
    height: 7.4rem;
    border: 2px dashed #f0a8ad;
    border-radius: 999px;
    color: #8b919a;
    background: #fff;
    overflow: hidden;
}

.ev-signup-circle svg {
    width: 1.7rem;
    height: 1.7rem;
}

.ev-signup-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ev-signup-badge {
    position: absolute;
    right: 0.15rem;
    bottom: 0.15rem;
    display: grid;
    place-items: center;
    width: 1.45rem;
    height: 1.45rem;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #1663f6;
    color: #fff;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1;
}

.ev-signup-photo-title {
    margin: 0.85rem 0 0;
    color: #1a1a1a;
    font-size: 0.98rem;
    font-weight: 650;
}

.ev-signup-hint,
.ev-signup label {
    color: #8b919a;
}

.ev-signup-hint {
    margin: 0.2rem 0 0;
    font-size: 0.86rem;
}

.ev-signup label {
    display: block;
    margin-bottom: 0.4rem;
    color: #1a1a1a;
    font-size: 0.92rem;
    font-weight: 650;
}

.ev-signup-optional {
    color: #8b919a;
    font-weight: 500;
}

.ev-signup-names {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.ev-signup-field {
    margin-top: 0.95rem;
}

.ev-signup input[type="text"],
.ev-signup input[type="email"],
.ev-signup input[type="tel"] {
    box-sizing: border-box;
    width: 100%;
    min-height: 3.15rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    background: #fff;
    color: #1a1a1a;
    font: inherit;
    font-size: 16px;
}

.ev-signup input::placeholder {
    color: #b0b4ba;
}

.ev-signup input:focus {
    outline: none;
    border-color: #1c1c1c;
}

.ev-signup input.is-invalid {
    border-color: #d92d20;
}

.ev-signup-error {
    margin: 0.35rem 0 0;
    color: #b42318;
    font-size: 0.82rem;
}

.ev-signup-saved {
    margin: 0.9rem 0 0;
    color: #1f7a4d;
    font-size: 0.9rem;
}

.ev-signup-actions {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid #efefef;
}

.ev-signup-back,
.ev-signup-next {
    min-height: max(2.9rem, 44px);
    padding: 0.7rem 1.15rem;
    border-radius: 12px;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.ev-signup-back {
    border: 1px solid #e4e4e4;
    background: #fff;
    color: #1a1a1a;
}

.ev-signup-next {
    border: 0;
    background: #1b2420;
    color: #fff;
}

.ev-signup-next:disabled {
    opacity: 0.7;
    cursor: progress;
}

.ev-signup-choice {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.ev-signup-choice > .ev-auth-lead {
    max-width: 36rem;
    color: #3e4651;
}

.ev-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    align-items: stretch;
    width: 100%;
    min-width: 0;
}

.ev-company-closed {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 18px;
    padding: 1.35rem 1.25rem 1.2rem;
    box-shadow: 0 10px 30px rgba(22, 28, 36, 0.05);
}

.ev-choice-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0.85rem 0.95rem;
    border: 2px solid #e4e4e4;
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
    color: #1a1a1a;
    font: inherit;
    font-size: 16px;
    line-height: 1.3;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
    appearance: none;
}

.ev-choice-card:hover {
    border-color: #c5c5c5;
}

.ev-choice-card.is-selected,
.ev-choice-card.is-selected:hover {
    border-color: #1b2420;
    background: #f4f6f5;
}

.ev-choice-icon {
    display: flex;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #1b2420;
}

.ev-choice-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.ev-choice-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.ev-choice-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem 0.5rem;
}

.ev-choice-title {
    color: #161616;
    font-size: 16px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.ev-choice-soon {
    color: #9aa0a8;
    font-size: 13px;
    font-weight: 500;
}

.ev-choice-sub {
    color: #5c6570;
    font-size: 16px;
    font-weight: 400;
}

.ev-choice-error {
    margin: 0.75rem 0 0;
    color: #b42318;
    font-size: 16px;
    line-height: 1.4;
}

.ev-signup-choice .ev-choice-next {
    width: 100%;
    max-width: 100%;
    margin-top: 0.95rem;
    font-size: 16px;
}

.ev-choice-account {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
    margin-top: 0.2rem;
    padding: 0.45rem 0;
    border: 0;
    background: none;
    color: #5c6570;
    font: inherit;
    font-size: 16px;
    line-height: 1.3;
    text-align: left;
    white-space: normal;
    cursor: pointer;
}

.ev-choice-kicker {
    margin: 0 0 0.7rem;
    color: #6d737c;
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ev-choice-kicker span {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.16rem 0.45rem;
    border-radius: 999px;
    background: #f4efe6;
    color: #8a5e28;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    vertical-align: 0.12em;
}

.ev-company-closed h1 {
    margin: 0;
    color: #161616;
    font-size: 1.22rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.ev-company-closed .ev-auth-lead {
    margin: 0.6rem 0 1.2rem;
    color: #3e4651;
    font-size: 0.95rem;
    line-height: 1.5;
}

.ev-company-closed .ev-signup-back {
    width: 100%;
}

.ev-choice-card:focus-visible,
.ev-choice-account:focus-visible,
.ev-signup-choice .ev-choice-next:focus-visible,
.ev-company-closed .ev-signup-back:focus-visible,
.ev-auth-tabs button:focus-visible {
    outline: 2px solid #1b2420;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .ev-auth-logo {
        top: 1.1rem;
        left: 1.1rem;
    }

    .ev-auth-logo img {
        height: 2.75rem;
    }

    .ev-auth-main {
        align-items: flex-start;
        padding: 5.5rem 0.85rem 2.5rem;
    }

    .ev-auth-column h1 {
        font-size: 1.6rem;
    }

    .ev-signup {
        padding: 1.15rem 0.9rem 1rem;
    }

    .ev-signup-steps {
        grid-template-columns: repeat(auto-fit, minmax(4.25rem, 1fr));
        gap: 0.45rem 0.2rem;
    }

    .ev-signup-step-index {
        width: 1.65rem;
        height: 1.65rem;
        font-size: 0.75rem;
    }

    .ev-signup-steps li {
        font-size: 0.58rem;
    }

    .ev-signup-names {
        grid-template-columns: 1fr;
    }

    .ev-choice-grid {
        grid-template-columns: 1fr;
        width: 100%;
        min-width: 0;
    }

    .ev-choice-card,
    .ev-company-closed {
        max-width: 100%;
        min-width: 0;
    }
}

@media (max-width: 390px) {
    .ev-auth-main {
        padding: 5.25rem 0.75rem 1.75rem;
    }

    .ev-signup {
        padding: 0.95rem 0.65rem 0.85rem;
    }

    .ev-signup-step-index {
        width: 1.4rem;
        height: 1.4rem;
        font-size: 0.68rem;
    }

    .ev-signup-steps li {
        font-size: 0.56rem;
        line-height: 1.2;
    }

    .ev-company-closed {
        padding: 0.95rem 0.8rem 0.85rem;
    }

    .ev-choice-card {
        padding: 0.7rem 0.75rem;
    }

    .ev-signup-actions {
        flex-wrap: wrap;
    }

    .ev-signup-actions .ev-signup-back,
    .ev-signup-actions .ev-signup-next {
        flex: 1 1 0;
        min-width: 0;
        max-width: 100%;
        padding-right: 0.7rem;
        padding-left: 0.7rem;
        text-align: center;
        white-space: normal;
    }
}

/* Company signup does not load signup/step-3.css. Keep in step with that file. */
.ev-signup-address {
    position: relative;
}

.ev-signup-address-mark {
    position: absolute;
    top: 50%;
    right: 0.85rem;
    display: none;
    width: 1.35rem;
    height: 1.35rem;
    transform: translateY(-50%);
    color: #1f9d55;
    pointer-events: none;
}

.ev-signup-address-mark svg,
.ev-signup-validated svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ev-signup-step.is-validated .ev-signup-address-mark {
    display: block;
}

.ev-signup-step.is-validated .ev-signup-address input,
.ev-signup-step.is-validated .ev-signup-names input {
    border-color: #8ed4a8;
    background: #f3fbf6;
}

.ev-signup-step.is-validated .ev-signup-address input {
    padding-right: 2.8rem;
}

.ev-signup-step.is-validated .ev-signup-address input:focus,
.ev-signup-step.is-validated .ev-signup-names input:focus {
    border-color: #1f9d55;
}

.ev-signup-step.is-validated input.is-invalid,
.ev-signup-step.is-validated input.is-invalid:focus {
    border-color: #d92d20;
    background: #fff;
}

.ev-signup-step.is-validated .ev-signup-address:has(input.is-invalid) .ev-signup-address-mark {
    display: none;
}

.ev-signup-step.is-validated .ev-signup-address:has(input.is-invalid) input {
    padding-right: 0.9rem;
}

.ev-signup-validated {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.45rem 0 0;
    color: #1f9d55;
    font-size: 0.92rem;
}

.ev-signup-validated svg {
    width: 1rem;
    height: 1rem;
    flex: none;
}
