/* Shared EF Service access screens. Rules stay scoped to the sign-in layout. */
.ef-access-page {
  --blue: #087f75;
  --blue-dark: #05675f;
  --focus: 0 0 0 3px rgba(8, 127, 117, .18);
  min-height: 100vh;
  background: #f7f8fa;
  color: #263b43;
}
.ef-access-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 18px max(48px, calc((100vw - 1280px) / 2));
  background: #fff;
}
.ef-access-brand { display: flex; align-items: baseline; gap: 16px; color: #172d35; }
.ef-access-brand:hover { color: #087f75; }
.ef-access-brand strong { font-size: 23px; font-weight: 650; letter-spacing: -.7px; }
.ef-access-brand small { padding-left: 16px; border-left: 1px solid #d8e1e4; color: #61737a; font-size: 12px; letter-spacing: .25px; }
.ef-access-header .language-select { height: 38px; min-width: 105px; background-color: #fff; border-color: #dae2e6; }
.ef-access-main { padding-bottom: 64px; }
.ef-access-hero { position: relative; isolation: isolate; height: clamp(285px, 21vw, 385px); overflow: hidden; background: #393b40; }
.ef-access-image { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }
.ef-access-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 26, 32, .4), rgba(18, 26, 32, .14) 40%, transparent 68%); }
.ef-hero-copy { display: flex; flex-direction: column; justify-content: center; width: min(1280px, calc(100% - 96px)); height: 100%; margin: auto; color: #fff; }
.ef-access-eyebrow { display: block; font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.ef-hero-copy .ef-access-eyebrow { color: #d3e3e6; }
.ef-hero-copy h1 { max-width: 560px; margin: 16px 0 12px; font-size: clamp(36px, 3.65vw, 56px); line-height: 1.08; font-weight: 600; letter-spacing: -1.8px; text-wrap: balance; }
.ef-hero-copy > p { max-width: 470px; margin: 0; color: #e3e8eb; font-size: 15px; line-height: 1.7; }
.ef-access-content { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 440px; align-items: start; gap: 100px; width: min(1100px, calc(100% - 96px)); margin: -48px auto 0; }
.ef-access-intro { max-width: 430px; padding-top: 114px; }
.ef-access-intro > .ef-access-eyebrow { color: #087f75; }
.ef-access-intro h2 { margin: 16px 0; color: #20363f; font-size: 34px; font-weight: 600; line-height: 1.2; letter-spacing: -1px; text-wrap: balance; }
.ef-access-intro > p { margin: 0; color: #687b84; font-size: 14px; line-height: 1.8; }
.ef-access-intro .auth-context-detail { margin-top: 28px; padding-top: 20px; border-color: #dce5e8; color: #697d85; }
.ef-access-intro .auth-context-detail .icon { color: #087f75; }
.ef-access-page .ef-login-card { padding: 32px 36px; border: 1px solid #e3e8eb; border-radius: 16px; background: #fff; box-shadow: 0 14px 48px rgba(24, 40, 51, .09); }
.ef-login-card .auth-heading { margin-bottom: 25px; }
.ef-login-card .auth-symbol { width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px; background: #eaf6f3; color: #087f75; }
.ef-login-card .auth-heading h2 { margin: 0 0 10px; color: #20363f; font-size: 24px; line-height: 1.3; font-weight: 600; letter-spacing: -.65px; }
.ef-login-card .auth-heading p { margin: 0; color: #6b7d86; font-size: 12px; line-height: 1.75; }
.ef-login-card .form-grid { gap: 20px; }
.ef-login-card form > .form-field + .form-field { margin-top: 20px; }
.ef-login-card .form-label { margin-bottom: 8px; color: #3c525b; font-size: 12px; font-weight: 600; }
.ef-login-card .form-input { height: 46px; padding: 11px 13px; border-color: #d5e0e4; border-radius: 7px; background: #fff; color: #263c45; }
.ef-login-card .form-textarea { border-color: #d5e0e4; border-radius: 7px; }
.ef-login-card .form-input:hover { border-color: #9cb9b5; }
.ef-login-card .auth-submit { margin-top: 25px; }
.ef-login-card form > button[type='submit'] { margin-top: 25px; }
.ef-login-card button[type='submit'] { width: 100%; min-height: 46px; padding: 12px 16px; border-radius: 7px; background: #087f75; border-color: #087f75; color: #fff; font-weight: 600; }
.ef-login-card button[type='submit']:hover { background: #05675f; border-color: #05675f; }
.ef-login-card .auth-footnote { margin-top: 25px; padding-top: 22px; border-top: 1px solid #edf1f3; color: #819198; font-size: 10px; letter-spacing: .3px; }
.ef-login-card .account-photo-input { height: auto; }
.ef-login-card .form-error:empty { margin: 0; }
@media (min-width: 1800px) {
  .ef-access-image { object-fit: cover; object-position: center; }
}
@media (max-width: 1000px) {
  .ef-access-content { grid-template-columns: minmax(0, 1fr) 400px; gap: 45px; width: calc(100% - 64px); }
  .ef-access-intro h2 { font-size: 29px; }
  .ef-hero-copy { width: calc(100% - 64px); }
  .ef-hero-copy h1 { max-width: 420px; }
  .ef-access-header { padding: 18px 32px; }
}
@media (max-width: 760px) {
  .ef-access-header { min-height: 74px; padding: 16px 24px; }
  .ef-access-content { grid-template-columns: minmax(0, 1fr); gap: 0; width: min(500px, calc(100% - 40px)); margin: 0 auto; padding-top: 24px; }
  .ef-access-intro { display: none; }
  .ef-access-hero { height: auto; padding-top: 205px; background: #26353d; }
  .ef-access-image { height: 205px; object-position: 59% center; }
  .ef-access-hero::after { height: 205px; background: linear-gradient(0deg, rgba(38, 53, 61, .2), transparent 40%); }
  .ef-hero-copy { width: calc(100% - 48px); padding: 24px 0 28px; }
  .ef-hero-copy h1 { max-width: none; margin: 10px 0; font-size: 33px; letter-spacing: -1px; }
  .ef-hero-copy > p { font-size: 13px; }
  .ef-access-main { padding-bottom: 36px; }
}
@media (max-width: 450px) {
  .ef-access-brand { gap: 11px; }
  .ef-access-brand strong { font-size: 20px; }
  .ef-access-brand small { padding-left: 11px; font-size: 10px; }
  .ef-access-header { padding: 15px 20px; }
  .ef-access-header .language-select { min-width: 85px; width: 85px; font-size: 11px; }
  .ef-access-page .ef-login-card { padding: 27px 23px; border-radius: 12px; }
  .ef-login-card .auth-heading h2 { font-size: 22px; }
  .ef-login-card .form-input, .ef-login-card .form-textarea { font-size: 16px; }
}
