/* page: Log in */
/* this page's own frame widths (pipeline/responsive.py) */
@media (max-width: 767.98px) { body.page-log-in { --u: min(calc(var(--vw) / 375), 1.3px); } }
/* Log in — values from the Figma frames (375 mobile base, 1920 desktop from 768px). */
.page-log-in h1, .page-log-in p { margin: 0; }
.page-log-in em { font-style: normal; font-weight: 300; color: #1c7880; }

.li-band { display: none; }
.li-split { display: flex; flex-direction: column; background: #fff; }
.li-img { height: calc(280 * var(--u)); background: #07101e url("../../images/12176-9345-png2x.png") center / cover no-repeat; }
.li-panel { display: flex; justify-content: center; padding: calc(40 * var(--u)) calc(24 * var(--u)); }
.li-form { display: flex; flex-direction: column; gap: calc(16 * var(--u)); width: 100%; }
.li-form h1 { font-size: max(12px, calc(40 * var(--u))); font-weight: 400; line-height: calc(48 * var(--u)); letter-spacing: calc(-1.2 * var(--u)); color: #0b1626; }

.field { position: relative; display: flex; flex-direction: column; gap: calc(2 * var(--u)); padding: calc(14 * var(--u)) calc(20 * var(--u)); background: #f0f4f5; border-radius: calc(8 * var(--u)); box-shadow: inset 0 0 0 calc(1 * var(--u)) transparent; transition: box-shadow .25s; cursor: text; }
.field:focus-within { box-shadow: inset 0 0 0 calc(1 * var(--u)) #1c7880; }
.field .lbl { font-size: max(12px, calc(12 * var(--u))); font-weight: 500; line-height: calc(18 * var(--u)); letter-spacing: calc(2.4 * var(--u)); text-transform: uppercase; color: #56656f; }
.field input { width: 100%; border: 0; padding: 0; background: none; font: inherit; font-size: max(12px, calc(17 * var(--u))); line-height: calc(25.5 * var(--u)); color: #0b1626; outline: none; }
.field input::placeholder { color: #0b1626; opacity: .45; }
.field--pw { padding-right: calc(56 * var(--u)); }
.field--pw .eye { position: absolute; right: calc(20 * var(--u)); top: 50%; transform: translateY(-50%); width: calc(20 * var(--u)); height: calc(20 * var(--u)); padding: 0; border: 0; background: none; cursor: pointer; }
.field--pw .eye img { display: block; width: calc(20 * var(--u)); height: calc(20 * var(--u)); }

.li-opts { display: flex; justify-content: space-between; align-items: center; font-size: max(12px, calc(17 * var(--u))); line-height: calc(25.5 * var(--u)); }
.remember { position: relative; display: flex; align-items: center; gap: calc(8 * var(--u)); color: #0b1626; cursor: pointer; }
.remember input { position: absolute; opacity: 0; width: calc(22 * var(--u)); height: calc(22 * var(--u)); margin: 0; }
.remember .box { width: calc(22 * var(--u)); height: calc(22 * var(--u)); background: #fff; border: 1.5px solid #d5dee2; border-radius: calc(4 * var(--u)); transition: background-color .2s, border-color .2s; }
.remember input:checked + .box { background: #1c7880 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / calc(16 * var(--u)) no-repeat; border-color: #1c7880; }
.remember input:focus-visible + .box { outline: 2px solid #1c7880; outline-offset: calc(2 * var(--u)); }
.forgot { color: #1c7880 !important; text-decoration: underline !important; text-underline-offset: 3px; }
.btn-dark-pill { display: inline-flex; align-items: center; justify-content: center; min-height: calc(56 * var(--u)); padding: 0 calc(28 * var(--u)); border: 0; border-radius: calc(999 * var(--u)); font: inherit; font-size: max(12px, calc(16 * var(--u))); font-weight: 500; line-height: calc(24 * var(--u)); letter-spacing: calc(-0.2 * var(--u)); background: #07101e; color: #e6f1f4; cursor: pointer; transition: background-color .3s; }
.btn-dark-pill:hover { background: #1c7880; }
.li-switch { font-size: max(12px, calc(17 * var(--u))); line-height: calc(25.5 * var(--u)); color: #56656f; text-align: center; }
.li-switch a { color: #1c7880 !important; text-decoration: underline !important; text-underline-offset: 3px; }

@media (min-width: 768px) {
  .li-band { display: block; height: calc(140 * var(--u)); background: #fff; }
  .li-split { flex-direction: row; }
  .li-img { width: calc(960 * var(--u)); height: auto; min-height: calc(940 * var(--u)); flex-shrink: 0; background-image: url("../../images/12170-6563-png2x.png"); }
  .li-panel { flex: 1 1 0; min-width: 0; align-items: center; padding: calc(104 * var(--u)) calc(200 * var(--u)); min-height: calc(940 * var(--u)); }
  .li-form { width: calc(560 * var(--u)); gap: calc(32 * var(--u)); }
  .li-form h1 { padding-bottom: calc(16 * var(--u)); font-size: max(12px, calc(56 * var(--u))); line-height: calc(67.2 * var(--u)); letter-spacing: calc(-1.7 * var(--u)); }
  .remember { gap: calc(16 * var(--u)); }
}

/* Two-colour headings: the accent is the heading's colour (as in Figma); the plain words override it. */
.page-log-in h1, .page-log-in h2 { color: var(--acc, #1c7880); }
.page-log-in h1 em, .page-log-in h2 em { color: inherit; }
.li-form h1 .w { color: #0b1626; }
