.auth-toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: none !important;
    color: #6c757d;
    background: transparent;
    transition: color 120ms ease;
}

.auth-toggle-password:hover,
.auth-toggle-password:focus {
    color: var(--et-purple, #8e44e0);
}

.auth-toggle-password:focus {
    outline: 2px solid rgba(142, 68, 224, 0.25);
    outline-offset: 2px;
}

.signin-card .form-control:focus {
    border-color: var(--et-purple, #8e44e0);
    box-shadow: 0 0 0 3px rgba(142, 68, 224, 0.18);
}

.auth-submit-spinner {
    display: none;
    width: 1.3rem;
    height: 1.3rem;
    vertical-align: text-bottom;
}

form.auth-form-loading .auth-submit-spinner {
    display: inline-block;
}

.auth-page.bg-homepage {
    position: relative;
}

.auth-page.bg-homepage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(88, 119, 183, 0.55);
    pointer-events: none;
    z-index: 0;
}

.auth-page.bg-homepage > nav,
.auth-page.bg-homepage > .row {
    position: relative;
    z-index: 1;
}

@keyframes authCardEnter {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.auth-page .signin-card {
    box-shadow: 0 24px 60px -24px rgba(33, 4, 101, 0.45),
                0 8px 20px -10px rgba(33, 4, 101, 0.18);
    animation: authCardEnter 420ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.auth-page .signin-card .card-body.login {
    padding: 2.5rem 2.5rem 2rem;
}

@media (max-width: 575.98px) {
    .signin-card {
        max-width: calc(100% - 1.5rem);
        margin-left: auto;
        margin-right: auto;
    }

    .auth-page .signin-card .card-body.login {
        padding: 1.75rem 1.5rem 1.5rem;
    }
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0 1rem;
    color: #8b8aa0;
    font-size: 0.78rem;
    text-transform: lowercase;
    letter-spacing: 0.05em;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-top: 1px solid rgba(33, 4, 101, 0.12);
}

.auth-google-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.auth-forgot-link {
    display: inline-block;
    text-decoration: none;
    transition: color 120ms ease;
}

.auth-forgot-link:hover,
.auth-forgot-link:focus {
    color: var(--et-purple, #8e44e0) !important;
    text-decoration: underline;
}
