/* Keep the desktop login CTA in the selected locale even when legacy runtime
   observers repaint its text. Loading copy remains owned by the application. */
@media screen and (min-width: 901px) {
  html body #root > .login-screen:not(.login-action-screen):has(
      .login-language-select select option:checked
    )
    .login-button:not([aria-busy="true"]) {
    font-size: 0 !important;
  }

  html body #root > .login-screen:not(.login-action-screen)
    .login-button:not([aria-busy="true"])::after {
    font-size: 15px !important;
    line-height: 1 !important;
  }

  html body #root > .login-screen:not(.login-action-screen):has(
      .login-language-select select option[value="zh"]:checked
    )
    .login-button:not([aria-busy="true"])::after {
    content: "登录";
  }

  html body #root > .login-screen:not(.login-action-screen):has(
      .login-language-select select option[value="en"]:checked
    )
    .login-button:not([aria-busy="true"])::after {
    content: "Login";
  }

  html body #root > .login-screen:not(.login-action-screen):has(
      .login-language-select select option[value="th"]:checked
    )
    .login-button:not([aria-busy="true"])::after {
    content: "เข้าสู่ระบบ";
  }

  html body #root > .login-screen:not(.login-action-screen):has(
      .login-language-select select option[value="my"]:checked
    )
    .login-button:not([aria-busy="true"])::after {
    content: "အကောင့်ဝင်ရန်";
  }

  html body #root > .login-screen:not(.login-action-screen):has(
      .login-language-select select option[value="lo"]:checked
    )
    .login-button:not([aria-busy="true"])::after {
    content: "ເຂົ້າລະບົບ";
  }

  html body #root > .login-screen:not(.login-action-screen):has(
      .login-language-select select option[value="km"]:checked
    )
    .login-button:not([aria-busy="true"])::after {
    content: "ចូលគណនី";
  }
}
