/* basen_css_login_ny.css 2026-11-15.3 */
body, html { background: #ffffff !important; background-image: none !important; color: #0A2A43; }
.hbl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(460px, 620px); min-height: 100vh; }
.hbl-venstre { position: relative; overflow: hidden; padding: 44px 64px; background: #d5ebf9 url('img/innlogging-illustrasjon.jpg') center bottom / 100% auto no-repeat; }
.hbl-merke { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; color: #0A2A43 !important; text-decoration: none !important; letter-spacing: .01em; }
.hbl-merke i { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #009BDA; color: #fff; font-style: normal; font-size: 18px; font-weight: 800; }
.hbl-venstre h2 { margin: 84px 0 0; max-width: 640px; font-size: clamp(30px, 3.2vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: #0A2A43; }
.hbl-venstre p { margin: 14px 0 0; max-width: 520px; font-size: 18px; line-height: 1.5; color: #3d5265; }
.login-page-container { min-height: 100vh; padding: 32px 24px; background: #ffffff; }
.login-logo { display: none; margin-bottom: 28px; }
.login-card { max-width: 420px; background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
.hbl-tittel h1 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: #0A2A43; }
.hbl-tittel p { margin: 8px 0 22px; font-size: 15.5px; color: #5b6f80; }
.login-tabs { gap: 4px; padding: 4px; border: 0; border-radius: 12px; background: #eef2f6; }
.tab-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 10px; border-radius: 9px; font-size: 15px; font-weight: 600; color: #5b6f80; }
.tab-btn svg { width: 17px; height: 17px; flex: none; }
.tab-btn.active { border-bottom: 0; background: #ffffff; color: #0A2A43; box-shadow: 0 1px 3px rgba(10,42,67,.14); }
.tab-btn:focus-visible { outline: 3px solid #009BDA; outline-offset: 1px; }
.login-body { padding: 22px 0 0; }
.form-group { margin-bottom: 18px; }
.form-label { margin-bottom: 7px; font-size: 14.5px; font-weight: 600; color: #2b3a47; }
.form-input { height: 52px; padding: 0 16px; border: 1px solid #d6e0e8; border-radius: 12px; background: #ffffff; color: #0A2A43; box-shadow: 0 1px 2px rgba(10,42,67,.04); transition: border-color .12s, box-shadow .12s; }
.form-input:focus { border-color: #009BDA; box-shadow: 0 0 0 4px rgba(0,155,218,.16); }
.password-eye { top: 41px; right: 16px; }
.btn-login { height: 52px; margin-top: 4px; border-radius: 12px; background: #0A2A43; font-size: 16.5px; font-weight: 700; transition: background-color .12s, transform .06s; }
.btn-login:hover { background: #123a5a; }
.btn-login:active { transform: scale(.99); }
.btn-login:focus-visible { outline: 3px solid #009BDA; outline-offset: 2px; }
.btn-login-row { align-items: center !important; }
.mobile-front-toggle-btn { margin-top: 4px; border-radius: 12px !important; }
.login-footer { margin-top: 18px; font-size: 13.5px; }
.footer-link { color: #3d5265; text-decoration: underline; text-decoration-color: #c9d5de; text-underline-offset: 3px; }
.footer-link:hover { color: #009BDA; }
.switch-wrap { color: #3d5265; }
.entra-btn { height: 50px; border-radius: 12px !important; border-color: #d6e0e8 !important; font-weight: 600; color: #0A2A43 !important; box-shadow: 0 1px 2px rgba(10,42,67,.04); }
.rfid-area { padding: 34px 24px; border: 2px dashed #b9d3e3; border-radius: 16px; background: #f1f8fc; color: #0A2A43; cursor: pointer; }
.rfid-area p { color: #0A2A43 !important; font-size: 17px; font-weight: 700 !important; margin: 0 0 4px; }
.rfid-area p[style*="ffb4b4"] { color: #c62828 !important; font-size: 15px; font-weight: 600 !important; }
.rfid-icon-img.hbl-rfid { width: 56px; height: 56px; margin-bottom: 12px; color: #009BDA; opacity: 1; }
#user_rfid_pin { margin-top: 12px; border: 1px solid #b9d3e3 !important; border-radius: 12px !important; background: #ffffff; color: #0A2A43; }
#user_rfid_pin:focus { outline: none; border-color: #009BDA !important; box-shadow: 0 0 0 4px rgba(0,155,218,.16); }
.alert-box { border-radius: 12px; padding: 13px 16px; }
.hbl-trygg { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 26px; font-size: 13px; color: #5b6f80; }
.hbl-trygg svg { color: #1d8a4c; flex: none; }
@media (max-width: 980px) {
	.hbl { grid-template-columns: 1fr; }
	.hbl-venstre { display: none; }
	.login-logo { display: block; align-self: flex-start; width: 100%; max-width: 420px; margin-left: auto; margin-right: auto; text-align: left; }
	.login-page-container { justify-content: flex-start; padding-top: 28px; }
}
.is-mobile .login-card { max-width: 420px; }
.is-mobile .tab-btn { font-size: 16px; padding: 0 10px; height: 46px; }
.is-mobile .form-input, .is-mobile .btn-login { height: 56px; font-size: 17px; }
.is-mobile .password-eye { top: 45px; width: 24px; height: 24px; right: 16px; }
.login-card h3 { margin: 0 0 8px !important; font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: #0A2A43; text-align: left; }
.login-body p.center-text { text-align: left; color: #5b6f80; font-size: 15.5px; }
.login-card > .login-body:first-child { padding-top: 0; }
.alert-info { border-radius: 12px; }
body.hbl-side { display: block; padding: 0; min-height: 100vh; align-items: stretch; }
.hbl-hoyre { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 100vh; padding: 32px 24px; background: #ffffff; }
.hbl-side .logo-container { display: none; width: 100%; max-width: 420px; margin: 0 auto 28px; text-align: left; }
.hbl-side .auth-card { max-width: 420px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: left; overflow: visible; }
.hbl-side .auth-card h2 { margin: 0 0 8px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: #0A2A43; }
.hbl-side .auth-card p { margin: 0 0 22px; font-size: 15.5px; line-height: 1.5; color: #5b6f80; }
.hbl-side .form-input { height: 52px; border: 1px solid #d6e0e8; border-radius: 12px; color: #0A2A43; box-shadow: 0 1px 2px rgba(10,42,67,.04); transition: border-color .12s, box-shadow .12s; }
.hbl-side .form-input:focus { border-color: #009BDA; box-shadow: 0 0 0 4px rgba(0,155,218,.16); }
.hbl-side .form-label { font-size: 14.5px; color: #2b3a47; }
.hbl-side .help-text { margin-top: 8px; color: #5b6f80; line-height: 1.45; }
.hbl-side .btn-primary, .hbl-side .btn-secondary { height: 52px; border-radius: 12px; font-size: 16.5px; }
.hbl-side .btn-primary { background: #0A2A43; }
.hbl-side .btn-primary:hover { background: #123a5a; }
.hbl-side .btn-secondary { background: #ffffff; color: #0A2A43; border: 1px solid #d6e0e8; }
.hbl-side .btn-secondary:hover { background: #f4f8fb; border-color: #009BDA; }
.hbl-side .btn-primary:focus-visible, .hbl-side .btn-secondary:focus-visible { outline: 3px solid #009BDA; outline-offset: 2px; }
.hbl-side .back-link { display: block; margin-top: 20px; text-align: center; color: #3d5265; text-decoration: underline; text-decoration-color: #c9d5de; text-underline-offset: 3px; }
.hbl-side .back-link:hover { color: #009BDA; }
.hbl-side .alert-box { font-size: 14.5px; }
@media (max-width: 980px) {
	.hbl-side .logo-container { display: block; }
	.hbl-hoyre { justify-content: flex-start; padding-top: 28px; }
}
.form-input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.form-input[type=number]::-webkit-outer-spin-button, .form-input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }