/* XEALIO RMS V3.6 — login only. No app-wide selectors or changes to existing RMS design. */
:root {
  color-scheme: light;
  --xr-login-page: #F8F8F8;
  --xr-login-panel: #FFFFFF;
  --xr-login-border: #E3E5E8;
  --xr-login-text: #33363A;
  --xr-login-navy: #173F61;
  --xr-login-secondary: #65696E;
  --xr-login-muted: #8B9096;
  --xr-login-blue: #0866FF;
  --xr-login-blue-hover: #0053D6;
  --xr-login-green: #43A06B;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.xr-login-page { color: var(--xr-login-text); background: var(--xr-login-page); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
.xr-login-layout { display: grid; grid-template-columns: minmax(0, 64.5fr) minmax(420px, 35.5fr); min-height: 100vh; min-height: 100dvh; }
.xr-login-visual { min-width: 0; min-height: 100vh; min-height: 100dvh; background-color: #031526; background-image: url('/static/login.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; }
.xr-login-content { position: relative; display: flex; align-items: center; justify-content: center; min-height: 100vh; min-height: 100dvh; padding: 56px 34px 74px; background: #F9FAFC; }
.xr-login-content-inner { width: min(100%, 410px); transform: translateY(-2px); }
.xr-login-brand { display: flex; width: fit-content; max-width: 100%; flex-direction: column; align-items: flex-start; margin: 0 auto 31px; }
.xr-login-brand img { display: block; width: 193px; height: auto; max-width: 100%; object-fit: contain; }
.xr-login-brand-product { margin: 1px 0 0 3px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 9px; font-size: 12px; letter-spacing: 0.22em; color: #163F62; font-weight: 800; }
.xr-login-brand-product span { color: #6B859C; font-size: 8.5px; letter-spacing: 0.1em; font-weight: 600; }
.xr-login-form-card { background: var(--xr-login-panel); border: 1px solid var(--xr-login-border); border-radius: 6px; padding: 32px 35px 34px; box-shadow: none; }
.xr-login-card-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 28px; }
.xr-login-card-header h1 { margin: 0; color: var(--xr-login-navy); font-size: 20px; font-weight: 650; line-height: 1.25; }
.xr-login-security-symbol { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: #EDF8F4; color: #199B78; }
.xr-login-security-symbol svg { width: 19px; height: 19px; }
.xr-login-form { display: grid; gap: 21px; }
.xr-login-field { display: grid; gap: 9px; }
.xr-login-field label { display: block; color: #35516D; font-size: 12px; font-weight: 650; line-height: 1.4; }
.xr-login-control { display: flex; align-items: center; position: relative; min-width: 0; height: 50px; border: 1px solid #D4E0EA; border-radius: 3px; background: #fff; transition: border-color 120ms ease, box-shadow 120ms ease; }
.xr-login-control:hover { border-color: #A9BDD0; }
.xr-login-control:focus-within { border-color: var(--xr-login-blue); box-shadow: 0 0 0 3px #0866FF1A; }
.xr-login-input-icon { position: absolute; top: 50%; left: 15px; width: 18px; height: 18px; transform: translateY(-50%); color: #8DA8BE; pointer-events: none; }
.xr-login-control input { display: block; width: 100%; min-width: 0; height: 100%; border: 0; outline: 0; padding: 0 43px; background: transparent; color: #213C58; font-size: 14px; font-weight: 400; border-radius: 3px; }
.xr-login-control input::placeholder { color: #9AADC0; opacity: 1; }
.xr-login-control input::-ms-reveal { display: none; }
.xr-login-password-toggle { display: grid; place-items: center; position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 4px; background: transparent; color: #849FB6; }
.xr-login-password-toggle:hover, .xr-login-password-toggle:focus-visible { color: var(--xr-login-blue); background: #F0F5FB; }
.xr-login-password-toggle svg { width: 19px; height: 19px; }
.xr-login-password-toggle .xr-eye-closed { display: none; }
.xr-login-password-toggle[aria-pressed="true"] .xr-eye-open { display: none; }
.xr-login-password-toggle[aria-pressed="true"] .xr-eye-closed { display: block; }
.xr-login-submit { display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%; min-height: 52px; margin-top: 2px; border: 0; border-radius: 3px; color: #fff; background: var(--xr-login-blue); font-size: 14px; font-weight: 650; transition: background-color 120ms ease; }
.xr-login-submit:hover { background: var(--xr-login-blue-hover); }
.xr-login-submit:active { background: #004abf; }
.xr-login-submit svg { width: 17px; height: 17px; }
.xr-login-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: -1px; }
.xr-login-help-trigger { padding: 7px 0; border: 0; background: transparent; color: #0864AF; text-align: left; font-size: 12px; font-weight: 650; }
.xr-login-help-trigger:hover { text-decoration: underline; }
.xr-login-languages { display: inline-flex; align-items: center; gap: 1px; padding: 4px; background: #F0F3F7; border-radius: 7px; }
.xr-login-languages button { min-width: 28px; min-height: 26px; padding: 4px 6px; border: 0; border-radius: 5px; background: transparent; color: #8096AB; font-size: 10px; font-weight: 650; }
.xr-login-languages button[aria-pressed="true"] { background: #FFF; color: #0866B0; box-shadow: 0 1px 4px #193E6115; }
.xr-login-help { margin-top: -12px; padding: 11px 13px; border: 1px solid #D7E4F0; border-radius: 4px; background: #F5F9FD; color: #3E5B76; font-size: 12px; line-height: 1.5; }
.xr-login-help[hidden] { display: none; }
.xr-login-error { display: flex; align-items: flex-start; gap: 10px; margin: -9px 0 21px; padding: 11px 12px; border: 1px solid #F3D0CC; border-radius: 4px; color: #9B2C25; background: #FFF0EE; font-size: 12px; line-height: 1.45; }
.xr-login-error svg { width: 17px; height: 17px; flex-shrink: 0; }
.xr-login-secure-note { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 22px; color: #94A5B5; font-size: 11px; }
.xr-login-secure-note svg { width: 14px; height: 14px; color: #1AA079; }
.xr-login-footer { position: absolute; bottom: 26px; left: 20px; right: 20px; color: #A6B4C4; font-size: 10px; font-weight: 500; letter-spacing: .19em; text-align: center; }
.xr-login-footer span[aria-hidden="true"] { padding: 0 6px; }
.xr-login-page :focus-visible { outline: 2px solid var(--xr-login-blue); outline-offset: 3px; }
@media (max-width: 1030px) { .xr-login-layout { grid-template-columns: minmax(0, 54fr) minmax(400px, 46fr); } .xr-login-content { padding-inline: 26px; } }
@media (max-width: 760px) {
  .xr-login-layout { display: block; }
  .xr-login-visual { min-height: 0; height: clamp(115px, 20dvh, 190px); background-position: center 48%; }
  .xr-login-content { min-height: calc(100dvh - 150px); padding: 28px 18px 36px; flex-direction: column; align-items: center; justify-content: flex-start; }
  .xr-login-content-inner { width: 100%; max-width: 440px; transform: none; }
  .xr-login-brand { margin-bottom: 21px; }
  .xr-login-brand img { width: 174px; }
  .xr-login-form-card { padding: 25px 22px 26px; }
  .xr-login-card-header { margin-bottom: 21px; }
  .xr-login-form { gap: 18px; }
  .xr-login-submit { min-height: 49px; }
  .xr-login-secure-note { margin-top: 18px; }
  .xr-login-footer { position: static; margin-top: 27px; }
}
@media (max-width: 390px) { .xr-login-content { padding-inline: 12px; } .xr-login-form-card { padding-inline: 17px; } }
@media (prefers-reduced-motion: reduce) { .xr-login-control, .xr-login-submit { transition: none; } }
