/* =====================================================================
   LOGIN PAGE  (login.twig)  -  prefix esl-
   ===================================================================== */
.esl-page, .esl-page .wrapper-content__body { padding: 0 !important; margin: 0 !important; }
.esl-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.esl-wrap--narrow { max-width: 820px; }

/* hero */
.esl-hero { background: var(--esp-bg); padding: 44px 0 56px; }
.esl-hero__grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.esl-hero__text { text-align: center; }
.esl-hero__title { font-size: 34px; line-height: 1.25; font-weight: 700; color: #000; margin: 0 0 18px; }
.esl-hero__lead { font-size: 19px; line-height: 1.6; color: #0b1f3f; margin: 0 0 14px; }
.esl-hero__custom { color: #0b1f3f; }
.esl-hero__custom h1, .esl-hero__custom h2 { font-weight: 700; line-height: 1.25; }
@media (min-width: 992px) {
  .esl-hero { padding: 72px 0 84px; }
  .esl-hero__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .esl-hero__text { text-align: left; }
  .esl-hero__title { font-size: 44px; }
}

/* login card */
.esl-card { background: var(--esp-card); border-radius: 16px; padding: 28px 26px 24px; box-shadow: 0 10px 30px -12px rgba(11,42,91,.28); }
.esl-card .form-group { margin-bottom: 18px; }
.esl-card .control-label { display: block; font-size: 19px; font-weight: 700; color: #000; margin-bottom: 8px; }
.esl-card .form-control {
  height: 52px; width: 100%; border: 0; border-bottom: 3px solid #c3d9ec; border-radius: 12px;
  background: var(--esp-field); padding: 0 16px; font-size: 17px; color: var(--esp-navy); box-shadow: none; outline: 0;
}
.esl-card .form-control:focus { background: #fff; border-bottom-color: var(--esp-primary); box-shadow: 0 0 0 3px rgba(30,120,224,.15); }
.esl-forgot { margin: 4px 0 18px; }
.esl-forgot a { font-size: 18px; color: var(--esp-primary); }
.esl-remember { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 16px; color: var(--esp-navy); cursor: pointer; font-weight: 400; }
.esl-remember input { width: 18px; height: 18px; margin: 0; accent-color: var(--esp-primary); }
.esl-card .btn-big-primary {
  display: block; width: 100%; height: 54px; border: 0; border-radius: 14px; background: var(--esp-primary);
  color: #fff; font-size: 19px; font-weight: 700; box-shadow: 0 4px 0 var(--esp-primary-dark); transition: background .15s, transform .1s;
}
.esl-card .btn-big-primary:hover { background: var(--esp-primary-dark); }
.esl-card .btn-big-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--esp-primary-dark); }

/* google button (markup comes from the panel: <hr><button class="login-with-google-btn">) */
.esl-google { margin-top: 16px; text-align: center; }
.esl-google hr { display: none; }
.esl-google .login-with-google-btn, .esl-google .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  background: #fff !important; color: #3c4043 !important; border: 1px solid #dadce0 !important; border-radius: 6px;
  font-size: 18px; font-weight: 600; box-shadow: none;
}
.esl-google .fa-google { color: #ea4335; }
.esl-google .btn:hover { background: #f7f8f9 !important; }
.esl-signup { margin-top: 18px; text-align: center; font-size: 18px; color: var(--esp-navy); }
.esl-signup a { margin-left: 6px; color: var(--esp-primary); font-weight: 600; }

.esl-extra { background: var(--esp-bg); padding: 0 0 40px; }

/* blue feature band */
.esl-band { position: relative; overflow: hidden; background: var(--esp-primary); color: #fff; padding: 64px 0 72px; text-align: center; }
.esl-band::before, .esl-band::after {
  content: ""; position: absolute; width: 160px; height: 100%; top: 0; background: rgba(255,255,255,.35); pointer-events: none; opacity: .45;
}
.esl-band::before { left: -110px; clip-path: polygon(0 0, 100% 40%, 100% 100%, 0 100%); }
.esl-band::after  { right: -110px; clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%); }
.esl-band .esl-wrap { position: relative; z-index: 1; }
.esl-band__title { margin: 0 0 18px; font-size: 34px; line-height: 1.25; font-weight: 700; color: #fff; }
.esl-band__title span { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.esl-band__lead { font-size: 19px; line-height: 1.6; color: #fff; margin: 0 auto 34px; max-width: 760px; }

.esl-feat { display: grid; grid-template-columns: 1fr; gap: 22px; text-align: left; }
.esl-feat__card { background: #fff; color: var(--esp-navy); border-radius: 16px; padding: 18px 18px 26px; box-shadow: 0 8px 24px -14px rgba(0,0,0,.35); }
.esl-feat__icon { display: flex; align-items: center; justify-content: center; height: 120px; margin-bottom: 18px; background: #e8f1fb; color: var(--esp-primary); font-size: 58px; border-radius: 4px; }
.esl-feat__card h3 { margin: 0 0 10px; font-size: 24px; font-weight: 700; color: #000; }
.esl-feat__card p { margin: 0; font-size: 18px; line-height: 1.55; color: #0b1f3f; }
@media (min-width: 640px)  { .esl-feat { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px)  { .esl-feat { grid-template-columns: repeat(4, 1fr); } .esl-band__title { font-size: 40px; } }

/* generic light sections */
.esl-section { background: var(--esp-bg); padding: 60px 0; text-align: center; }
.esl-section__title { margin: 0 0 14px; font-size: 32px; font-weight: 700; color: #000; line-height: 1.25; }
.esl-section__lead { margin: 0 auto 32px; max-width: 720px; font-size: 19px; line-height: 1.6; color: #0b1f3f; }

/* how it works */
.esl-steps { display: grid; grid-template-columns: 1fr; gap: 20px; text-align: left; }
.esl-step { background: #fff; border-radius: 16px; padding: 24px 22px; box-shadow: 0 8px 24px -16px rgba(11,42,91,.4); }
.esl-step__num {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 14px;
  border-radius: 50%; background: var(--esp-primary); color: #fff; font-size: 20px; font-weight: 700;
}
.esl-step h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; color: #000; }
.esl-step p { margin: 0; font-size: 17px; line-height: 1.55; color: #0b1f3f; }
@media (min-width: 640px) { .esl-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .esl-steps { grid-template-columns: repeat(4, 1fr); } }

/* faq */
.esl-section--faq { padding-top: 10px; }
.esl-faq { background: #fff; border-radius: 14px; margin-bottom: 14px; text-align: left; box-shadow: 0 6px 18px -14px rgba(11,42,91,.45); }
.esl-faq summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; position: relative;
  font-size: 19px; font-weight: 700; color: #000;
}
.esl-faq summary::-webkit-details-marker { display: none; }
.esl-faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 400; color: var(--esp-primary); line-height: 1;
}
.esl-faq[open] summary::after { content: "\2212"; }
.esl-faq p { margin: 0; padding: 0 22px 20px; font-size: 17px; line-height: 1.6; color: #0b1f3f; }

/* login page: win against the global heading / text rules */
body.esp-body .esl-hero__title,
body.esp-body .esl-section__title,
body.esp-body .esl-feat__card h3,
body.esp-body .esl-step h3 { color: #000; }
body.esp-body .esl-band .esl-band__title,
body.esp-body .esl-band .esl-band__lead { color: #fff; }
body.esp-body .esl-band .esl-feat__card h3 { color: #000; }
body.esp-body .esl-hero__lead, body.esp-body .esl-section__lead, body.esp-body .esl-band__lead,
body.esp-body .esl-feat__card p, body.esp-body .esl-step p, body.esp-body .esl-faq p,
body.esp-body .esl-signup, body.esp-body .esl-remember { font-weight: 400; }
body.esp-body .esl-band::before, body.esp-body .esl-band::after { width: 90px; }
body.esp-body .esl-band::before { left: -60px; }
body.esp-body .esl-band::after  { right: -60px; }

/* =====================================================================
   SIGNUP PAGE (signup.twig) - single centred card, no empty space on top
   ===================================================================== */
.esl-hero--signup { padding: 28px 0 56px; }
.esl-wrap--form { max-width: 520px; }
.esl-hero--signup .esl-card { margin-bottom: 20px; }
.esl-card__title { margin: 0 0 20px; font-size: 28px; font-weight: 700; line-height: 1.2; text-align: center; }
body.esp-body .esl-card__title { color: #000; }
.esl-card--info { font-size: 17px; line-height: 1.55; color: var(--esp-navy); }
.esl-terms { align-items: flex-start; margin-bottom: 20px; }
.esl-terms input { margin-top: 3px; flex: 0 0 auto; }
.esl-terms span { font-size: 16px; line-height: 1.45; }
@media (min-width: 992px) { .esl-hero--signup { padding: 48px 0 72px; } }
