.auth-form {
    --auth-input-height: 35px;
    --auth-input-inner-height: calc(var(--auth-input-height) - 2px);
    --auth-input-border: #DCDEE2;
    --auth-input-radius: 4px;
}

.auth-form :is(.form-control, .auth-input-button, .auth-captcha-action) {
    font-family: Arial, SimSun, "宋体", "Songti SC", STSong, "Noto Serif CJK SC", serif;
}

.login .auth-form .form-control {
    box-sizing: border-box;
    width: 100%;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.auth-form .form-control {
    min-width: 0;
    height: var(--auth-input-height);
    margin: 0;
    padding: 0 10px;
    border: 1px solid var(--auth-input-border);
    border-radius: var(--auth-input-radius);
    background: #FFFFFF;
    box-shadow: none;
    color: #000000;
    font-size: 15px;
    line-height: normal;
}

.auth-form .form-control::placeholder {
    color: #9AA3AF;
}

.auth-form .form-control:focus {
    border-color: #0D6EFD;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, .12);
    outline: none;
}

.login .auth-form .input-group {
    display: flex;
}

.auth-form .input-group {
    box-sizing: border-box;
    min-height: var(--auth-input-height);
    overflow: hidden;
    border: 1px solid var(--auth-input-border);
    border-radius: var(--auth-input-radius);
    background: #FFFFFF;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.auth-form .input-group:focus-within {
    border-color: #0D6EFD;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, .12);
}

.auth-form .input-group > .form-control {
    flex: 1 1 auto;
    align-self: center;
    height: var(--auth-input-inner-height);
    border: 0;
    border-radius: 0;
}

.auth-form .input-group > .form-control:focus {
    box-shadow: none;
}

.auth-form .auth-input-button {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    min-width: 138px;
    min-height: var(--auth-input-inner-height);
    margin: 0;
    padding: 0 14px;
    border: 0;
    border-left: 1px solid var(--auth-input-border);
    border-radius: 0;
    background: transparent;
    color: #0D6EFD;
    font-size: 15px;
    font-weight: 500;
    line-height: normal;
    white-space: nowrap;
    cursor: pointer;
}

.auth-form .auth-input-button:hover {
    background: #F8F9FA;
    color: #0B5ED7;
}

.auth-form .auth-input-button:disabled,
.auth-form .auth-input-button.disabledBtn {
    background: transparent;
    color: #0D6EFD;
    opacity: .45;
    cursor: not-allowed;
}

.auth-form .auth-captcha-group {
    width: 100%;
    gap: 4px;
}

.auth-form .auth-captcha-group img {
    display: block;
    flex: none;
    align-self: center;
    width: auto;
    height: var(--auth-input-inner-height);
    padding-left: 8px;
    border-left: 1px solid var(--auth-input-border);
    cursor: pointer;
}

.auth-form .auth-captcha-action {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0 10px 0 0;
    border: 0;
    background: transparent;
    color: #0D6EFD;
    font-size: 13px;
    font-weight: 500;
    line-height: normal;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

.auth-form .auth-captcha-action:hover {
    color: #0B5ED7;
    text-decoration: none;
}

.auth-form .form-control:disabled {
    color: #5c6572;
}

.auth-form :is(.auth-input-button, .auth-captcha-action):focus-visible {
    outline: 2px solid #0D6EFD;
    outline-offset: -3px;
}

.rid-auth .auth-form .auth-input-button:not(.w-auto) {
    width: min(10.5rem, 54%);
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.2;
}

@media (max-width: 480px) {
    .auth-form .auth-input-button {
        min-width: 118px;
        padding: 0 10px;
    }

    .auth-form .auth-captcha-action {
        padding: 0 8px 0 0;
    }
}
