.login-portal-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.login-portal-options legend {
    grid-column: 1 / -1;
    margin-bottom: 2px;
    font-weight: 800;
}

.login-portal-options label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 12px;
    border: 1px solid #cdd8e7;
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
}

.login-portal-options input {
    width: auto;
    margin: 0;
    accent-color: var(--orange);
}

.login-form > form {
    display: grid;
    gap: 20px;
}

.auth-mode-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 4px;
    border: 1px solid #dfe7f1;
    border-radius: 12px;
    background: #f4f7fb;
}

.auth-mode-switch a {
    padding: 9px 12px;
    border-radius: 8px;
    color: #65748b;
    text-align: center;
    font-weight: 800;
}

.auth-mode-switch a.is-active {
    background: #ffffff;
    color: #08285a;
    box-shadow: 0 3px 10px rgba(21, 43, 78, .08);
}

.login-form label > small {
    color: #65748b;
    font-size: 12px;
    font-weight: 400;
}

.optional-label {
    color: #65748b;
    font-size: 12px;
    font-weight: 400;
}

.secondary-button.full {
    width: 100%;
}

.verification-code-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 10px;
}

.verification-code-button {
    min-height: 46px;
    padding: 0 12px;
    white-space: nowrap;
}

.verification-code-button:disabled {
    cursor: wait;
    opacity: .62;
}

@media (max-width: 560px) {
    .verification-code-row {
        grid-template-columns: minmax(0, 1fr) 132px;
        gap: 8px;
    }

    .verification-code-button {
        font-size: 13px;
    }
}
