/* ELPT PLUS authentication, built on the original ELPT typography and theme. */
/* Palette values from the original ELPT css/theme.css. Buttons inherit .btn--primary directly. */
:root {
  --elpt-primary: #425cbb;
  --elpt-text: #767676;
  --elpt-heading: #343434;
  --elpt-link: #232323;
  --elpt-border: #ebebeb;
  --elpt-surface: #fff;
  --elpt-muted-surface: #f4f4f4;
  --elpt-error: #D84D4D;
}
body.elpt-auth { margin: 0; background: var(--elpt-muted-surface); color: var(--elpt-text); font-family: 'Montserrat', sans-serif; font-size: 18px; line-height: 1.65; }
body.elpt-login { min-height: 100vh; min-height: 100svh; display: flow-root; background-image: url('../img/spec/airport.jpeg'); background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; }
.elpt-header { min-height: 91px; padding: 19px 5%; background: var(--elpt-surface); border-bottom: 1px solid var(--elpt-border); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.elpt-brand { display: inline-flex; align-items: center; gap: 19px; color: var(--elpt-heading); text-decoration: none; font-size: 20px; letter-spacing: 2px; }
.elpt-brand img { object-fit: contain; }
.elpt-signout { margin: 0; }
.elpt-signout button, .elpt-text-button { padding: 5px 0; background: none; border: 0; color: var(--elpt-link); font: inherit; text-decoration: underline; cursor: pointer; }
.elpt-panel { width: calc(100% - 36px); max-width: 550px; margin: 48px auto 60px; padding: 38px 42px; background: var(--elpt-surface); border: 1px solid var(--elpt-border); }
.elpt-login-panel { max-width: 680px; padding: 0; overflow: hidden; }
.elpt-login-logo { box-sizing: border-box; min-height: 205px; display: flex; align-items: center; justify-content: center; padding: 36px 24px 20px; }
.elpt-login-logo .elpt-logo { font-size: 76px; color: #000; }
.elpt-login-logo .elpt-logo-plus { position: relative; top: -.4em; margin-left: 8px; color: var(--elpt-heading); font-size: .3em; font-weight: 500; line-height: 0; letter-spacing: 1px; vertical-align: super; }
.elpt-login-content { padding: 32px 42px 25px; }
.elpt-login-footer { margin-top: 25px; padding: 18px 0 0; border-top: 1px solid var(--elpt-border); text-align: center; font-size: 15px; }
.elpt-login-footer a { color: var(--elpt-text); text-decoration: underline; }
.elpt-auth h1 { margin: 0 0 19px; font-family: 'Lora', Georgia, serif; color: var(--elpt-heading); font-size: 36px; line-height: 1.3; font-weight: 400; letter-spacing: 0; }
.elpt-eyebrow { margin: 0 0 12px; color: var(--elpt-text); font-size: 13px; text-transform: uppercase; letter-spacing: 1.7px; }
.elpt-intro { margin: 0 0 25px; color: var(--elpt-text); font-size: 18px; line-height: 1.65; }
.elpt-panel form { margin: 0; font-size: 18px; }
.elpt-panel form::before, .elpt-panel form::after { content: none; display: none; }
.elpt-panel label { display: block; margin: 16px 0 7px; color: var(--elpt-heading); font-size: 16px; font-weight: 500; }
.elpt-panel input[type=text], .elpt-panel input[type=password] { display: block; width: 100%; height: 52px; margin: 0; padding: 10px 12px; border: 0; border-radius: 0; font: inherit; box-shadow: none; }
.elpt-panel input:focus { outline: 2px solid var(--elpt-primary); outline-offset: 2px; border-color: var(--elpt-primary); }
.elpt-auth .elpt-primary { width: 100%; margin: 25px 0 0; padding: 13px 16px; border-width: 1px; border-style: solid; border-radius: 0; font: inherit; font-size: 17px; font-weight: 500; letter-spacing: .5px; text-transform: none; cursor: pointer; }
.elpt-auth button:focus-visible, .elpt-auth a:focus-visible, .elpt-auth summary:focus-visible { outline: 2px solid var(--elpt-primary); outline-offset: 4px; }
.elpt-note, .elpt-field-note { margin: 12px 0 0; color: var(--elpt-text); font-size: 14px; line-height: 1.65; }
.elpt-note { margin-top: 25px; padding-top: 19px; border-top: 1px solid var(--elpt-border); }
.elpt-error { margin: 0 0 20px; padding: 12px 15px; background: var(--elpt-error); border-left: 3px solid var(--elpt-error); color: var(--elpt-surface); font-size: 16px; }
.elpt-qr { margin: 8px auto 20px; text-align: center; }
.elpt-qr img { display: inline-block; width: 265px; height: 265px; max-width: 100%; image-rendering: pixelated; }
.elpt-manual { margin: 0 0 23px; font-size: 15px; }
.elpt-manual summary { color: var(--elpt-link); cursor: pointer; }
.elpt-manual p { margin: 10px 0; }
.elpt-manual code { display: block; overflow-wrap: anywhere; font-size: 15px; color: var(--elpt-heading); background: var(--elpt-muted-surface); padding: 10px; }
.elpt-panel .elpt-code { max-width: 170px; font-size: 21px; letter-spacing: 5px; }
.elpt-panel .elpt-skip { margin-top: 21px; padding-top: 19px; border-top: 1px solid var(--elpt-border); }
.elpt-recovery-codes { margin: 20px 0; padding: 17px 20px; list-style: none; background: var(--elpt-muted-surface); }
.elpt-recovery-codes li { padding: 3px 0; }
.elpt-recovery-codes code { background: transparent; color: var(--elpt-heading); font-size: 16px; }
.elpt-panel .elpt-checkbox { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; font-weight: 400; }
.elpt-checkbox input { flex: 0 0 auto; margin-top: 4px; }
.elpt-home { max-width: 1100px; margin: 0 auto; padding: 48px 5%; }
body.elpt-auth:has(.elpt-home) { background: var(--elpt-surface); }
.elpt-user-details { display: grid; grid-template-columns: 90px 1fr; gap: 9px 17px; }
.elpt-user-details dt { font-weight: 500; }
.elpt-user-details dd { margin: 0; overflow-wrap: anywhere; }
/* Keep text controls legible; the legacy theme forces button:hover to white. */
body.elpt-auth a:not(.btn):hover,
body.elpt-auth a:not(.btn):focus-visible,
body.elpt-auth summary:hover,
body.elpt-auth summary:focus-visible { color: var(--elpt-logo-blue); }
body.elpt-auth button:not(.btn):hover,
body.elpt-auth button:not(.btn):focus,
body.elpt-auth button:not(.btn):active { color: var(--elpt-logo-blue) !important; }
@media (max-width: 600px) { .elpt-header { min-height: 75px; padding: 14px 20px; } .elpt-brand { font-size: 16px; gap: 12px; } .elpt-brand img { width: 55px; height: 34px; } .elpt-panel { margin: 25px auto 40px; padding: 28px 24px; } .elpt-login-panel { padding: 0; } .elpt-login-logo { min-height: 165px; } .elpt-login-logo .elpt-logo { font-size: 60px; } .elpt-login-content { padding: 26px 24px 22px; } .elpt-auth h1 { font-size: 32px; } }
