/* Shared presentation for the existing authentication forms. */
.auth-secondary .auth-page-content { max-width: 480px; }
.auth-secondary .auth-story { align-self: start; position: sticky; top: 16px; min-height: calc(100vh - 32px); }
.auth-secondary .auth-existing-form form { margin-top: 0 !important; }
.auth-secondary .auth-existing-form .form-group { margin-bottom: 22px; }
.auth-secondary .auth-existing-form label { color: var(--auth-text); font-size: 13px; font-weight: 600; line-height: 1.6; margin-bottom: 8px; }
.auth-secondary .auth-existing-form .form-control,
.auth-secondary .auth-existing-form select {
    display: block; width: 100%; height: 52px; padding: 14px 16px; border: 1px solid var(--auth-border) !important;
    border-radius: 9px; background: #fff; color: var(--auth-text); font-family: inherit; font-size: 14px;
}
.auth-secondary .auth-existing-form .form-control:focus,
.auth-secondary .auth-existing-form select:focus { border-color: var(--auth-primary) !important; outline: 0; box-shadow: 0 0 0 3px rgba(var(--crm-primary-rgb), .18); }
.auth-secondary .auth-existing-form input[type="radio"],
.auth-secondary .auth-existing-form input[type="checkbox"] { accent-color: var(--auth-primary); width: 18px; height: 18px; flex-shrink: 0; }
.auth-secondary .auth-existing-form .btn-next,
.auth-secondary .auth-existing-form .btn-back {
    display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; height: auto;
    padding: 12px 18px; border: 1px solid transparent; border-radius: 9px; font-family: inherit;
    font-size: 14px; font-weight: 600; text-transform: none; cursor: pointer; box-shadow: none;
}
.auth-secondary .auth-existing-form .btn-next { background: var(--auth-primary); color: #fff; }
.auth-secondary .auth-existing-form .btn-next:hover { background: var(--crm-primary-hover); color: #fff !important; text-decoration: none; }
.auth-secondary .auth-existing-form .btn-back { background: var(--crm-background); border-color: var(--auth-border); color: var(--auth-text); }
.auth-secondary .auth-existing-form .btn-next:disabled { opacity: .6; cursor: wait; }
.auth-secondary .auth-existing-form .btn:focus-visible { outline: 3px solid var(--crm-primary); outline-offset: 3px; }
.auth-secondary .auth-existing-form .Rule,
.auth-secondary .auth-existing-form .passwordRule { font-size: 12px; line-height: 1.6; margin-top: 6px; }
.auth-secondary .auth-existing-form .alert { font-size: 13px; line-height: 1.6; border-radius: 9px; overflow-wrap: anywhere; }
.auth-secondary .auth-existing-form .row { row-gap: 0; }
.auth-secondary .auth-existing-form a:not(.btn) { font-size: 13px; }
@media (max-width: 1100px) and (min-width: 901px) {
    .auth-secondary .auth-form-panel { padding-left: 28px; padding-right: 28px; }
    .auth-secondary .auth-existing-form .col-lg-6 { flex: 0 0 100%; max-width: 100%; }
}
@media (max-width: 900px) {
    .auth-secondary .auth-brand, .auth-secondary .auth-footer { max-width: 480px; }
}
