#reset-login { display: none !important; }
#kc-locale { display: none !important; }
#kc-attempted-username { display: none !important; }
.right-containers { width: 432px !important; }
.kc-feedback-text { display: none }

#kc-2fa-form .mfa-selection-container {
    background: #fff;
    text-align: center;
    width: 432px;
    margin-top: 240px;
}

#kc-2fa-form .mfa-title {
    font-size: 18px;
    font-weight: 700;
    color: #24272E;
}

#kc-2fa-form .mfa-subtitle {
    font-size: 13px;
    font-weight: 500;
    color: #828A9C;
}

#kc-2fa-form .mfa-option-card {
    display: block;
    border: 1px solid #DADEE7;
    border-radius: 4px;
    padding: 22px 12px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#kc-2fa-form .mfa-option-card:has(input:checked) {
    border-color: #7847FF;
}

#kc-2fa-form .mfa-option-card input {
    width: 16px;
    height: 16px;
}

#kc-2fa-form .mfa-option-card input:checked {
    border-color: #7847FF;
}

#kc-2fa-form .mfa-option-content {
    font-size: 13px;
    font-weight: 600;
    color: #24272E;
    display: flex;
    align-items: center;
    gap: 12px;
}

#kc-2fa-form .mfa-icon-img {
    max-width: 24px;
    max-height: 24px;
}

#kc-otp-login-form .mfa-otp-container {
    background: #fff;
    text-align: center;
    width: 357px;
    margin-top: 240px;
}

#kc-otp-login-form .mfa-verify-title {
    font-size: 18px;
    font-weight: 700;
    color: #24272E;
}

#kc-otp-login-form .error-msg {
    font-size: 12px;
    font-weight: 500;
    color: #E4503A;
}

#kc-otp-login-form .mfa-info-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    margin-top: 40px;
    color: #479DFF;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    background: rgba(71, 157, 255, 0.12);
    padding: 12px;
}

#kc-otp-login-form .mfa-otp-code input {
    height: 48px;
    padding-top: 0;
    font-size: 18px;
    font-weight: 600;
    color: #484E5C;
    text-align: center;
}

#kc-otp-login-form .mfa-resend-code {
    margin-top: 16px;
    display: flex;
    width: auto;
    height: 20px;
    background: none;
    border: none;
    color: #484E5C;
    font-size: 12px;
    font-weight: 500;
    padding: 0;
    white-space: nowrap;
    align-items: center;
}

#kc-otp-login-form .mfa-resend-code input {
    color: #7847FF;
    cursor: pointer;
    border: none;
    text-decoration: underline;
    padding: 0;
    height: 16px;
    text-align: left;
}

#kc-otp-login-form .mfa-change-otp-option {
    background: none;
    height: 40px;
    color: #828A9C;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding-top: 0;
}

#kc-otp-login-form .divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.25rem 0;
    color: #828A9C;
    font-weight: 500;
    font-size: 14px;
}

#kc-otp-login-form .divider::before,
#kc-otp-login-form .divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #E7E9EF;
}

#kc-otp-login-form .divider:not(:empty)::before {
    margin-right: 0.75rem;
}

#kc-otp-login-form .divider:not(:empty)::after {
    margin-left: 0.75rem;
}

#kc-totp-settings-form .mfa-totp-config-container {
    background: #fff;
    text-align: center;
    width: 358px;
    margin-top: 240px;
}

#kc-totp-settings-form .mfa-config-title {
    font-size: 18px;
    font-weight: 700;
    color: #24272E;
    text-align: center;
    line-height: 20px;
}

#kc-totp-settings-form .mfa-config-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: #484E5C;
    text-align: left;
    line-height: 24px
}

#kc-totp-settings-form .mfa-secret-key {
    border: 1px solid #DADEE7;
    border-radius: 8px;
    color: #484E5C;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 32px;
    margin-top: 32px;
}

#kc-totp-settings-form .mfa-qr {
    margin: 14px;
    border: 1px solid #636C7D;
    width: 180px;
    height: 180px;
}

#kc-totp-settings-form .mfa-change-option{
    width: auto;
    height: 20px;
    background: none;
    border: none;
    color: #7847FF;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

#kc-totp-settings-form .mfa-totp-code input {
    height: 48px;
    padding-top: 0;
    font-size: 18px;
    font-weight: 600;
    color: #484E5C;
    text-align: center;
}