@charset "UTF-8";
/* HungTM 261015 FCD-4468, FCD-4469: login.tpl (login, forgot/set password, OTP) moved from Bootstrap 4.1.3 to 5.3.8.
   Load right after bootstrap-5.3.8 css and login_form.css (see _navi_startup.tpl): these rules restore the BS4 base
   styles the login screens rely on. login_form.css keeps its BS4 selectors because the default theme still uses it with BS4.
   The server dependent button background lives in _login_form.tpl next to .background_color_srv. */

a { color: #007bff; text-decoration: none; }
a:hover { color: #0056b3; text-decoration: underline; }
.navbar { padding: .5rem 1rem; }
.navbar-brand { color: #fff; }
/* HungTM 261016 FCD-4468: BS5 draws its dark 3-line svg on every .navbar-toggler-icon (BS4 only did it under .navbar-light/.navbar-dark);
   the mobile menu button is the white Font Awesome fa-bars icon, so drop the background image */
.navbar-toggler-icon { background-image: none; }
.card { color: inherit; }

/* BS4 .input-group-prepend span in login_form.css -> BS5 .input-group-text; BS4 .float-right.login_btn -> .float-end */
.btn.login_btn, .btn.login_btn:disabled { color: #fff; border-color: transparent; }
.btn.login_btn:hover, .btn.login_btn:active { color: black; background-color: white; border-color: transparent; }
.row.remember { --bs-gutter-x: 0; margin-left: -15px; margin-right: -15px; }
.row.remember > * { width: auto; }
.input-group > .input-group-text { width: 50px; color: black; border: 0 !important; }
@media (max-width: 850px) {
	.float-end.login_btn { font-size: 14px; }
}

/* forgot/set password wizard: BS4 gutter, and no BS5 sizing on non-column children of .row */
.wizard-card .row { --bs-gutter-x: 30px; }
/* HungTM 261015 FCD-4469: :where() keeps this at the specificity of BS5 .row > * (0,1,0), so the page css loaded later
   (reset_pw_form.css .circle width 10em, .card-title width 100%) still wins, as it did with BS4 */
:where(.wizard-card) .row > :where(:not([class*="col-"])) { flex-shrink: 1; width: auto; max-width: none; padding-left: 0; padding-right: 0; }

/* BS4 container: 15px padding, no 1320px step; BS4 col-sm-8 capped width, BS5 .card-body flex-grow would stretch the wizard card */
.container { --bs-gutter-x: 30px; }
@media (min-width: 1400px) {
	.container { max-width: 1140px; }
}
@media (min-width: 576px) {
	.wizard-card.col-sm-8 { max-width: 66.666667%; }
}
/* HungTM 261016 FCD-4469: BS4 .col-sm-8 always had width:100% (capped by max-width above). BS5 only gives width:66.67%,
   so on tablets, where reset_pw_form.css unsets max-width/flex inside a shrink-to-fit flex container, the card collapsed */
.wizard-card.col-sm-8 { width: 100%; }
