.member-auth-modal {
    --member-auth-theme: var(--frontend-theme);
    --member-auth-theme-dark: color-mix(in srgb, var(--frontend-theme) 82%, #000);
    --member-auth-ink: color-mix(in srgb, var(--frontend-theme) 48%, #0f172a);
    --member-auth-muted: color-mix(in srgb, var(--frontend-theme) 14%, #64748b);
    --member-auth-line: color-mix(in srgb, var(--frontend-theme) 18%, #d7dee7);
    --member-auth-header: color-mix(in srgb, var(--frontend-theme) 4%, #fff);
    --member-auth-footer: color-mix(in srgb, var(--frontend-theme) 7%, #fff);
    --member-auth-input: color-mix(in srgb, var(--frontend-theme) 8%, #fff);
    --member-auth-input-border: color-mix(in srgb, var(--frontend-theme) 32%, #cbd5e1);
    --member-auth-soft: color-mix(in srgb, var(--frontend-theme) 6%, #fff);
    --member-auth-danger: #ef334c;
    overflow-wrap: anywhere;
}

.frontend-member-login-modal .modal-dialog,
.frontend-member-forgot-modal .modal-dialog {
    max-width: 35rem;
}

.frontend-member-register-modal .modal-dialog {
    max-width: 48rem;
}

@media (min-width: 576px) {
    .member-auth-modal .modal-dialog {
        margin-top: 1.125rem;
        margin-bottom: 1.125rem;
    }

    .member-auth-modal .modal-dialog-centered {
        min-height: calc(100% - 2.25rem);
    }

    .member-auth-modal .modal-dialog-scrollable {
        height: calc(100% - 2.25rem);
    }
}

.frontend-member-account-modal .modal-content {
    background:
		linear-gradient(180deg, rgba(255, 255, 255, .99) 0%, #fff 62%),
		linear-gradient(135deg, color-mix(in srgb, var(--frontend-theme, #12663f) 7%, transparent), transparent 48%) !important;
	border: 1px solid color-mix(in srgb, var(--frontend-theme, #12663f) 14%, #e2e8f0) !important;
	border-radius: .9rem !important;
	box-shadow: 0 1.4rem 3.2rem rgba(15, 23, 42, .18), 0 .35rem 1rem rgba(15, 23, 42, .08) !important;
	color: #213529;
	overflow: hidden;
}

.member-auth-modal .member-auth-header {
    min-height: 5rem;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--member-auth-line);
    background: var(--member-auth-header) !important;
}

.member-auth-heading,
.frontend-member-login-heading {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .85rem;
}

.member-auth-modal .min-w-0 {
    min-width: 0;
}

.member-auth-heading-icon,
.frontend-member-login-heading-icon {
    display: inline-flex;
    flex: 0 0 2.9rem;
    width: 2.9rem;
    height: 2.9rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--frontend-theme);
    color: #fff;
    font-size: 1.05rem;
}

.member-auth-modal .member-auth-heading .modal-title,
.member-auth-modal .frontend-member-login-heading .modal-title {
    margin: 0;
    color: var(--member-auth-ink) !important;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.3;
}

.member-auth-subtitle {
    margin: .2rem 0 0;
    color: var(--member-auth-muted);
    font-size: .86rem;
    line-height: 1.45;
}

.member-auth-header .btn-close {
    flex: 0 0 2.9rem;
    width: 2.9rem;
    height: 2.9rem;
    margin: 0;
    padding: 0;
    border: 1px solid var(--member-auth-line);
    border-radius: 50%;
    background-color: transparent;
    background-position: center;
    background-size: .95rem;
    box-sizing: border-box;
    opacity: 1;
}

.member-auth-header .btn-close:hover,
.member-auth-header .btn-close:focus-visible {
    border-color: var(--frontend-theme);
    box-shadow: 0 0 0 .22rem color-mix(in srgb, var(--frontend-theme) 12%, transparent);
}

.member-auth-body {
    padding: 1.25rem;
    background: #fff;
    color: var(--member-auth-ink);
}

.member-auth-pane,
.member-auth-pane form,
.member-auth-input-group,
.member-auth-password-wrap {
    min-width: 0;
}

.member-auth-pane .row {
    margin-right: 0;
    margin-left: 0;
}

.frontend-member-login-fields {
    display: grid;
    gap: .9rem;
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
}

.frontend-member-login-fields > * {
    margin-top: 0;
    padding: 0;
}

.member-auth-pane .form-label {
    margin-bottom: .6rem;
    color: var(--member-auth-ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.member-auth-field-label {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .55rem;
}

.member-auth-field-icon {
    display: inline-flex;
    flex: 0 0 2.1rem;
    width: 2.1rem;
    height: 2.1rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--member-auth-line);
    border-radius: 50%;
    background: var(--member-auth-soft);
    color: var(--frontend-theme);
    font-size: .82rem;
}

.frontend-member-login-modal .member-auth-field-label,
.frontend-member-forgot-modal .member-auth-field-label {
    font-size: 1rem;
    font-weight: 500;
}

.member-auth-required {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 1.45rem;
    align-items: center;
    padding: .05rem .45rem;
    border: 1px solid #ff9eaa;
    border-radius: .35rem;
    background: #fff4f5;
    color: var(--member-auth-danger);
    font-size: .78rem;
    font-weight: 800;
    line-height: 1;
}

.member-auth-modal .register-field-badge {
    margin-left: 0;
}

.member-auth-modal .register-field-badge-optional {
    border-color: var(--member-auth-line);
    background: var(--member-auth-soft);
    color: var(--member-auth-muted);
}

.member-auth-alert {
    margin-bottom: 1rem;
    padding: .8rem 1rem;
    border: 1px solid transparent;
    border-radius: .7rem;
    font-size: .92rem;
    line-height: 1.5;
}

.member-auth-alert.is-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.member-auth-alert.is-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.member-auth-input,
.member-input,
.member-auth-modal .form-select {
    min-width: 0;
    max-width: 100%;
    min-height: 3.25rem;
    padding: .75rem 1rem;
    border: 2px solid var(--member-auth-input-border);
    border-radius: .75rem;
    background-color: var(--member-auth-input);
    color: var(--member-auth-ink);
    font-size: 1rem;
    line-height: 1.4;
}

.frontend-member-login-modal .member-auth-input,
.frontend-member-forgot-modal .member-auth-input {
    min-height: 3.25rem;
    padding: .7rem 1rem;
    font-size: 1rem;
}

.member-auth-input:hover,
.member-input:hover,
.member-auth-modal .form-select:hover {
    border-color: color-mix(in srgb, var(--frontend-theme) 55%, var(--member-auth-input-border));
}

.member-auth-modal .form-control::placeholder {
    color: var(--member-auth-muted);
    opacity: .78;
}

.member-auth-input:focus,
.member-input:focus,
.member-auth-modal .form-select:focus {
    border-color: var(--frontend-theme);
    background-color: var(--member-auth-input);
    box-shadow: 0 0 0 .22rem color-mix(in srgb, var(--frontend-theme) 12%, transparent);
}

.member-auth-password-wrap {
    position: relative;
}

.member-auth-password-wrap .form-control {
    padding-right: 3.6rem;
}

.member-auth-password-toggle {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: .85rem;
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--member-auth-muted);
    font-size: 1.05rem;
}

.member-auth-password-toggle:hover,
.member-auth-password-toggle:focus-visible {
    background: color-mix(in srgb, var(--frontend-theme) 8%, transparent);
    color: var(--frontend-theme);
    outline: 0;
}

.member-auth-remember {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 4.8rem;
    align-items: center;
    gap: .8rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: .8rem 1rem;
    border: 1px solid var(--member-auth-line);
    border-radius: .75rem;
    background: var(--member-auth-soft);
    cursor: pointer;
}

.member-auth-remember:hover {
    border-color: var(--member-auth-input-border);
    background: color-mix(in srgb, var(--frontend-theme) 9%, #fff);
}

.member-auth-remember-icon {
    display: inline-flex;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: .7rem;
    background: var(--frontend-theme);
    color: #fff;
    font-size: 1rem;
}

.member-auth-remember-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .15rem;
}

.member-auth-remember-copy strong {
    color: var(--member-auth-ink);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
}

.member-auth-remember-copy small {
    color: var(--member-auth-muted);
    font-size: .88rem;
    line-height: 1.45;
}

.member-auth-remember-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.member-auth-remember-control {
    display: inline-flex;
    flex: 0 0 1.7rem;
    width: 1.7rem;
    height: 1.7rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--member-auth-input-border);
    border-radius: 50%;
    background: #fff;
    color: transparent;
    font-size: .8rem;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.member-auth-remember-input:focus-visible + .member-auth-remember-control {
    box-shadow: 0 0 0 .22rem color-mix(in srgb, var(--frontend-theme) 15%, transparent);
}

.member-auth-remember-input:checked + .member-auth-remember-control {
    border-color: var(--frontend-theme);
    background: var(--frontend-theme);
    color: #fff;
}

.member-auth-section + .member-auth-section {
    margin-top: 1.35rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--member-auth-line);
}

.member-auth-avatar-picker + .member-auth-section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--member-auth-line);
}

.member-auth-avatar-picker {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    text-align: center;
}

.member-auth-avatar-trigger {
    display: inline-flex;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    gap: .45rem;
    color: var(--frontend-theme);
    cursor: pointer;
}

.member-auth-avatar-visual {
    position: relative;
    display: block;
    width: 6rem;
    height: 6rem;
    overflow: hidden;
    border: .24rem solid #fff;
    border-radius: 50%;
    background: color-mix(in srgb, var(--frontend-theme) 12%, #e5e7eb);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--frontend-theme) 24%, #dbe2e8), 0 .65rem 1.5rem color-mix(in srgb, var(--frontend-theme) 14%, transparent);
}

.member-auth-avatar-placeholder,
.member-auth-avatar-preview,
.member-auth-avatar-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.member-auth-avatar-placeholder {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: #fff;
    font-size: 4.8rem;
    line-height: .85;
}

.member-auth-avatar-preview {
    object-fit: cover;
}

.member-auth-avatar-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--frontend-theme) 62%, transparent);
    color: #fff;
    font-size: 1.15rem;
    opacity: 0;
    transition: opacity .18s ease;
}

.member-auth-avatar-trigger:hover .member-auth-avatar-overlay,
.member-auth-avatar-trigger:focus-visible .member-auth-avatar-overlay,
.member-auth-avatar-trigger:focus-within .member-auth-avatar-overlay {
    opacity: 1;
}

.member-auth-avatar-trigger:focus-visible {
    border-radius: .75rem;
    outline: .2rem solid color-mix(in srgb, var(--frontend-theme) 18%, transparent);
    outline-offset: .25rem;
}

.member-auth-avatar-action {
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.35;
}

.member-auth-avatar-action-row {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .35rem;
}

.member-auth-avatar-clear {
    padding: .15rem .4rem;
    border: 0;
    background: transparent;
    color: var(--frontend-theme);
    font-size: .78rem;
    font-weight: 800;
}

.member-auth-avatar-clear:hover,
.member-auth-avatar-clear:focus-visible {
    color: var(--member-auth-theme-dark);
    text-decoration: underline;
    text-underline-offset: .15rem;
}

.member-auth-section-title {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 1rem;
    color: var(--frontend-theme);
    font-size: 1.05rem;
    font-weight: 800;
}

.member-auth-section-title i {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--member-auth-input);
    font-size: .85rem;
}

.member-auth-modal .form-check-input {
    border-color: var(--member-auth-input-border);
}

.member-auth-modal .form-check-input:checked {
    border-color: var(--frontend-theme);
    background-color: var(--frontend-theme);
}

.member-auth-modal .register-email-group.member-auth-input-group {
    display: flex;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 0;
    overflow: hidden;
    border: 2px solid var(--member-auth-input-border);
    border-radius: .75rem;
    background: var(--member-auth-input);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.member-auth-modal .register-email-group.member-auth-input-group:hover {
    border-color: color-mix(in srgb, var(--frontend-theme) 55%, var(--member-auth-input-border));
}

.member-auth-modal .register-email-group.member-auth-input-group:focus-within {
    border-color: var(--frontend-theme);
    box-shadow: 0 0 0 .22rem color-mix(in srgb, var(--frontend-theme) 12%, transparent);
}

.member-auth-modal .register-email-group.member-auth-input-group > .form-control {
    min-width: 0;
    flex: 1 1 auto;
    width: 1%;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.member-auth-modal .register-email-group.member-auth-input-group > .btn {
    flex: 0 0 auto;
    border: 0;
    border-left: 1px solid color-mix(in srgb, var(--frontend-theme) 72%, #fff);
    border-radius: 0 !important;
    background: var(--frontend-theme);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.member-auth-modal .register-email-group.member-auth-input-group > .btn:hover,
.member-auth-modal .register-email-group.member-auth-input-group > .btn:focus-visible {
    background: var(--member-auth-theme-dark);
    color: #fff;
}

.member-auth-modal .register-gender-toggle {
    color: var(--member-auth-ink);
}

.member-auth-modal .register-gender-menu {
    border-color: var(--member-auth-line);
}

.member-auth-modal .register-gender-menu .dropdown-item {
    color: var(--member-auth-ink);
}

.member-auth-modal .register-gender-menu .dropdown-item:hover,
.member-auth-modal .register-gender-menu .dropdown-item:focus,
.member-auth-modal .register-gender-menu .dropdown-item.active {
    background: color-mix(in srgb, var(--frontend-theme) 12%, #fff);
    color: var(--frontend-theme);
}

.member-auth-modal .register-choice-card-toggle {
    border-color: var(--member-auth-line);
    background: var(--member-auth-soft);
}

.member-auth-modal .register-choice-card-toggle:has(.register-choice-toggle-input:checked) {
    border-color: color-mix(in srgb, var(--frontend-theme) 34%, var(--member-auth-line));
    background: color-mix(in srgb, var(--frontend-theme) 11%, #fff);
}

.member-auth-modal .register-choice-title {
    color: var(--member-auth-ink);
}

.member-auth-modal .register-choice-text {
    color: var(--member-auth-muted);
}

.member-auth-modal .register-choice-toggle-state {
    border-color: var(--member-auth-input-border);
}

.member-auth-code-input {
    text-align: center;
    font-weight: 800;
    letter-spacing: .35rem;
}

.member-auth-code-input::placeholder {
    font-weight: 400;
    letter-spacing: normal;
    text-align: left;
}

.member-auth-help-card {
    display: grid;
    min-width: 0;
    align-items: center;
    gap: 1rem;
    grid-template-columns: auto minmax(0, 1fr);
    margin: 0 0 1.15rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--member-auth-line);
    border-radius: .7rem;
    background: var(--member-auth-soft);
}

.member-auth-help-icon {
    display: inline-flex;
    flex: 0 0 3.25rem;
    width: 3.25rem;
    height: 3.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--frontend-theme);
    color: #fff;
    font-size: 1.05rem;
}

.member-auth-help-card h3 {
    margin: 0;
    color: var(--member-auth-ink);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
}

.member-auth-help-card p {
    margin: .25rem 0 0;
    color: var(--member-auth-muted);
    font-size: .9rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.member-auth-help-card strong {
    color: var(--frontend-theme);
}

.member-auth-progress {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 1fr) minmax(1.5rem, .75fr) minmax(0, 1fr) minmax(1.5rem, .75fr) minmax(0, 1fr);
    margin: 0 .35rem 1.4rem;
}

.member-auth-progress > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: .45rem;
    color: var(--member-auth-muted);
    font-size: .82rem;
    font-weight: 700;
    text-align: center;
}

.member-auth-progress > span b {
    display: inline-flex;
    width: 2.4rem;
    height: 2.4rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--member-auth-line);
    border-radius: 50%;
    background: color-mix(in srgb, var(--frontend-theme) 6%, #eef2f6);
    color: var(--member-auth-muted);
}

.member-auth-progress > span.active,
.member-auth-progress > span.complete {
    color: var(--member-auth-ink);
    font-weight: 800;
}

.member-auth-progress > span.active b,
.member-auth-progress > span.complete b {
    border-color: var(--frontend-theme);
    background: var(--frontend-theme);
    color: #fff;
}

.member-auth-progress > i {
    height: 2px;
    margin-top: 1.2rem;
    background: var(--member-auth-line);
}

.member-auth-progress > span.complete + i {
    background: var(--frontend-theme);
}

.member-auth-progress-label {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: .32rem;
    line-height: 1.35;
}

.member-auth-progress-label i {
    flex: 0 0 auto;
    color: inherit;
    font-size: .75rem;
}

.member-auth-success {
    padding: 1rem 0;
    text-align: center;
}

.member-auth-success-icon {
    display: inline-flex;
    width: 4.25rem;
    height: 4.25rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--frontend-theme) 12%, #fff);
    color: var(--frontend-theme);
    font-size: 1.65rem;
}

.member-auth-success h3 {
    color: var(--member-auth-ink);
    font-size: 1.3rem;
    font-weight: 800;
}

.member-auth-success p {
    margin-bottom: 0;
    color: var(--member-auth-muted);
}

.member-auth-modal .member-auth-footer {
    display: block;
    min-height: 5rem;
    padding: 0;
    border-top: 1px solid var(--member-auth-line);
    background: var(--member-auth-footer) !important;
}

.member-auth-footer > * {
    margin: 0;
}

.member-auth-footer-view,
.frontend-member-login-footer {
    display: grid;
    width: 100%;
    min-width: 0;
    min-height: 5rem;
    align-items: center;
    gap: .9rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: .9rem 1.25rem;
}

.member-auth-footer-links,
.frontend-member-login-links {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    font-size: .9rem;
}

.member-auth-link {
    max-width: 100%;
    padding: .35rem 0;
    border: 0;
    background: transparent;
    color: var(--frontend-theme);
    font-size: inherit;
    font-weight: 800;
    line-height: 1.45;
    text-align: left;
    text-decoration: none;
}

.member-auth-link:hover,
.member-auth-link:focus-visible {
    color: var(--member-auth-theme-dark);
    outline: 0;
    text-decoration: underline;
    text-underline-offset: .2rem;
}

.member-auth-link:disabled {
    color: var(--member-auth-muted);
    cursor: not-allowed;
    text-decoration: none;
}

.member-auth-link-divider {
    color: var(--member-auth-muted);
    font-weight: 700;
}

.member-auth-modal .member-auth-primary,
.member-auth-modal .frontend-member-login-submit {
    display: inline-flex;
    flex: 0 0 auto;
    min-width: 8rem;
    max-width: 100%;
    min-height: 2.9rem;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .65rem 1.25rem;
    border: 1px solid var(--member-auth-theme-dark) !important;
    border-radius: 999px;
    background: linear-gradient(105deg, var(--member-auth-theme-dark), var(--frontend-theme)) !important;
    box-shadow: 0 .65rem 1.3rem color-mix(in srgb, var(--frontend-theme) 18%, transparent);
    color: #fff !important;
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: normal;
}

.member-auth-modal .member-auth-primary:hover,
.member-auth-modal .member-auth-primary:focus-visible,
.member-auth-modal .frontend-member-login-submit:hover,
.member-auth-modal .frontend-member-login-submit:focus-visible {
    border-color: var(--frontend-theme);
    background: var(--frontend-theme) !important;
    box-shadow: 0 .75rem 1.5rem color-mix(in srgb, var(--frontend-theme) 24%, transparent);
    color: #fff !important;
    outline: 0;
    transform: translateY(-1px);
}

.member-auth-modal .member-auth-primary:disabled,
.member-auth-modal .frontend-member-login-submit:disabled {
    opacity: .7;
    transform: none;
}

.member-auth-modal .d-none {
    display: none !important;
}

@media (max-width: 767.98px) {
    .frontend-member-register-modal .member-auth-body {
        padding-right: 1.2rem;
        padding-left: 1.2rem;
    }

    .member-auth-footer-view,
    .frontend-member-login-footer {
        gap: 1rem;
    }
}

@media (max-width: 575.98px) {
    .member-auth-modal .modal-content {
        min-height: 100%;
        border: 0;
        border-radius: 0;
    }

    .member-auth-modal .member-auth-header {
        min-height: 4.75rem;
        padding: .85rem 1rem;
    }

    .member-auth-modal .member-auth-body {
        padding: 1.2rem 1rem;
    }

    .member-auth-heading,
    .frontend-member-login-heading {
        gap: .75rem;
    }

    .member-auth-heading-icon,
    .frontend-member-login-heading-icon {
        flex-basis: 2.65rem;
        width: 2.65rem;
        height: 2.65rem;
        font-size: .95rem;
    }

    .member-auth-modal .member-auth-heading .modal-title,
    .member-auth-modal .frontend-member-login-heading .modal-title {
        font-size: 1.1rem;
    }

    .member-auth-subtitle {
        font-size: .84rem;
    }

    .member-auth-header .btn-close {
        flex-basis: 2.55rem;
        width: 2.55rem;
        height: 2.55rem;
        background-size: .95rem;
    }

    .frontend-member-login-fields {
        gap: 1rem;
    }

    .member-auth-field-icon {
        flex-basis: 2.15rem;
        width: 2.15rem;
        height: 2.15rem;
        font-size: .82rem;
    }

    .frontend-member-login-modal .member-auth-field-label,
    .frontend-member-forgot-modal .member-auth-field-label {
        font-size: 1rem;
    }

    .frontend-member-login-modal .member-auth-input,
    .frontend-member-forgot-modal .member-auth-input {
        min-height: 3.25rem;
        padding: .7rem 1rem;
        font-size: 1rem;
    }

    .member-auth-remember {
        min-height: 4.75rem;
        gap: .75rem;
        padding: .75rem;
    }

    .member-auth-remember-icon {
        flex-basis: 2.65rem;
        width: 2.65rem;
        height: 2.65rem;
    }

    .member-auth-remember-copy strong {
        font-size: 1rem;
    }

    .member-auth-remember-copy small {
        font-size: .85rem;
    }

    .member-auth-remember-control {
        flex-basis: 1.75rem;
        width: 1.75rem;
        height: 1.75rem;
    }

    .member-auth-modal .register-email-group.member-auth-input-group {
        display: flex;
        grid-template-columns: none;
        gap: 0;
    }

    .member-auth-modal .register-email-group.member-auth-input-group > .form-control {
        width: 1%;
    }

    .member-auth-modal .register-email-group.member-auth-input-group > .btn {
        width: auto;
        padding-right: .75rem !important;
        padding-left: .75rem !important;
        font-size: .88rem;
    }

    .member-auth-progress {
        grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr);
        margin-right: 0;
        margin-left: 0;
    }

    .member-auth-progress > span {
        font-size: .7rem;
    }

    .member-auth-help-card {
        align-items: start;
        gap: .75rem;
        padding: .85rem;
    }

    .member-auth-help-icon {
        flex-basis: 2.7rem;
        width: 2.7rem;
        height: 2.7rem;
        font-size: .95rem;
    }

    .member-auth-help-card h3 {
        font-size: .98rem;
    }

    .member-auth-help-card p {
        font-size: .84rem;
    }

    .member-auth-modal .member-auth-footer,
    .member-auth-footer-view,
    .frontend-member-login-footer {
        min-height: 0;
    }

    .member-auth-footer-view,
    .frontend-member-login-footer {
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        gap: .65rem;
        padding: 1rem;
    }

    .member-auth-footer-links,
    .frontend-member-login-links {
        grid-row: 2;
        justify-content: center;
        font-size: .9rem;
    }

    .member-auth-primary,
    .frontend-member-login-submit {
        grid-row: 1;
        width: 100%;
    }

    .member-auth-link {
        text-align: center;
    }
}
