/*
 * Client desk login page redesign.
 * Loaded only from application/views/clientdesk/login-form.php.
 * Every selector is namespaced under .ea-login so nothing leaks to other pages.
 */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

.ea-login {
  --ea-navy: #0b1f3a;
  --ea-ink: #11214d;
  --ea-blue: #0a7cff;
  --ea-blue-deep: #0060f9;
  --ea-muted: #5a6479;
  --ea-border: #dbe2eb;
  --ea-input-h: 48px;

  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* not stretch: lets the card panel grow past the viewport (sign up) and scroll instead of clipping */
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  overflow-x: hidden;
  overflow-y: auto;
  background: #dee5f1;
  color: var(--ea-ink);
  font-family: "Plus Jakarta Sans", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.ea-login *,
.ea-login *::before,
.ea-login *::after {
  box-sizing: border-box;
}

.ea-login h1,
.ea-login h2,
.ea-login h3,
.ea-login p,
.ea-login ul {
  margin: 0;
  padding: 0;
  font-family: inherit;
}

.ea-login ul {
  list-style: none;
}

/* ------------------------------------------------------------------ */
/* Left : brand panel                                                  */
/* ------------------------------------------------------------------ */
.ea-login__hero {
  position: relative;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 60%;
  flex: 0 0 60%;
  max-width: 60%;
  height: 100%;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  -ms-flex-item-align: start;
  align-self: flex-start;
  color: #fff;
  /* photo is pre-faded on its left edge into this same navy, so the seam is invisible */
  background:
    /* darken the bottom so the feature captions stay readable over the embroidered shawl */
    linear-gradient(0deg, rgba(14, 35, 55, 0.9) 0%, rgba(14, 35, 55, 0.55) 20%, rgba(14, 35, 55, 0) 42%),
    url("../images/auth/login-hero.jpg") right bottom / auto 100% no-repeat,
    linear-gradient(180deg, #10283e 0%, #0e2337 100%);
}

.ea-login__hero-inner {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 56px 82px 56px;
}

.ea-login__hero-logo {
  display: block;
  width: 150px;
  height: auto;
}

.ea-login__hero-copy {
  max-width: 480px;
  margin: 40px 0;
}

.ea-login .ea-login__eyebrow {
  margin-bottom: 26px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #cfd8e6;
}

.ea-login .ea-login__headline {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: #fff;
}

.ea-login .ea-login__headline span {
  color: #1a82ff;
}

.ea-login .ea-login__lead {
  margin-top: 26px;
  max-width: 440px;
  font-size: 15.5px;
  line-height: 1.6;
  color: #c3cddb;
}

.ea-login__features {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 640px;
}

.ea-login__feature {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0;
  flex: 1 1 0;
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.ea-login__feature:first-child {
  padding-left: 0;
  border-left: 0;
}

.ea-login__feature:last-child {
  padding-right: 0;
}

.ea-login__feature-icon {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 12px;
  font-size: 24px;
}

.ea-login__feature-icon--organize { background: #0c2f5e; color: #3d9bff; }
.ea-login__feature-icon--share    { background: #2a2366; color: #a56bff; }
.ea-login__feature-icon--relive   { background: #0a3a3a; color: #2fd6a0; }

.ea-login .ea-login__feature h3 {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.ea-login .ea-login__feature p {
  font-size: 13.5px;
  line-height: 1.5;
  color: #b8c4d4;
}

/* ------------------------------------------------------------------ */
/* Right : login card                                                  */
/* ------------------------------------------------------------------ */
.ea-login__panel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 40%;
  flex: 1 1 40%;
  min-height: 100%;
  padding: 22px;
  background: linear-gradient(160deg, #e1e8f4 0%, #d8e0ef 100%);
}

.ea-login__card {
  width: 100%;
  max-width: 480px;
  padding: 34px 40px 36px;
  background: #fff;
  border-radius: 22px;
  -webkit-box-shadow: 0 24px 60px rgba(31, 52, 99, 0.12), 0 2px 8px rgba(31, 52, 99, 0.05);
  box-shadow: 0 24px 60px rgba(31, 52, 99, 0.12), 0 2px 8px rgba(31, 52, 99, 0.05);
}

.ea-login__brand {
  text-align: center;
}

.ea-login__brand img {
  display: inline-block;
  width: auto;
  height: 64px;
  max-width: 100%;
  object-fit: contain;
}

.ea-login .ea-login__title {
  margin-top: 14px;
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  color: var(--ea-ink);
}

.ea-login .ea-login__subtitle {
  margin-top: 8px;
  text-align: center;
  font-size: 14.5px;
  color: var(--ea-muted);
}

.ea-login__form {
  margin-top: 30px;
}

.ea-login__field + .ea-login__field {
  margin-top: 18px;
}

.ea-login__label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.ea-login__input-wrap {
  position: relative;
}

.ea-login__input-icon {
  position: absolute;
  z-index: 2;
  top: calc(var(--ea-input-h) / 2);
  left: 16px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 20px;
  line-height: 1;
  color: #5b6577;
  pointer-events: none;
}

.ea-login .ea-login__input {
  display: block;
  width: 100%;
  height: var(--ea-input-h);
  padding: 0 16px 0 46px;
  background: #fff;
  border: 1px solid var(--ea-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14.5px;
  color: #1f2937;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: border-color 0.15s ease, box-shadow 0.15s ease;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ea-login .ea-login__input--password {
  padding-right: 48px;
}

.ea-login .ea-login__input::-webkit-input-placeholder { color: #9aa3b2; }
.ea-login .ea-login__input::-moz-placeholder { color: #9aa3b2; opacity: 1; }
.ea-login .ea-login__input:-ms-input-placeholder { color: #9aa3b2; }
.ea-login .ea-login__input::placeholder { color: #9aa3b2; }

.ea-login .ea-login__input:focus {
  border-color: var(--ea-blue);
  -webkit-box-shadow: 0 0 0 3px rgba(10, 124, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(10, 124, 255, 0.15);
}

.ea-login .ea-login__toggle {
  position: absolute;
  top: calc(var(--ea-input-h) / 2);
  right: 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 20px;
  line-height: 1;
  color: #4b5563;
  cursor: pointer;
}

.ea-login .ea-login__toggle:hover,
.ea-login .ea-login__toggle:focus {
  color: var(--ea-blue);
  outline: none;
}

.ea-login__forgot {
  margin-top: 10px;
  text-align: right;
}

.ea-login__forgot a,
.ea-login__register a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ea-blue-deep);
  text-decoration: none;
}

.ea-login__forgot a:hover,
.ea-login__register a:hover {
  text-decoration: underline;
}

.ea-login .ea-login__submit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin-top: 18px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: -webkit-linear-gradient(left, #0a84ff 0%, #0060f9 100%);
  background: linear-gradient(90deg, #0a84ff 0%, #0060f9 100%);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  -webkit-box-shadow: 0 8px 18px rgba(0, 96, 249, 0.25);
  box-shadow: 0 8px 18px rgba(0, 96, 249, 0.25);
  -webkit-transition: -webkit-filter 0.15s ease, -webkit-transform 0.15s ease;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.ea-login .ea-login__submit:hover {
  -webkit-filter: brightness(1.06);
  filter: brightness(1.06);
}

.ea-login .ea-login__submit:active {
  -webkit-transform: translateY(1px);
  transform: translateY(1px);
}

.ea-login .ea-login__submit:focus {
  outline: none;
  -webkit-box-shadow: 0 0 0 3px rgba(10, 124, 255, 0.3), 0 8px 18px rgba(0, 96, 249, 0.25);
  box-shadow: 0 0 0 3px rgba(10, 124, 255, 0.3), 0 8px 18px rgba(0, 96, 249, 0.25);
}

.ea-login__submit-arrow {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 16px;
}

.ea-login__divider {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 24px 0 20px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
}

.ea-login__divider::before,
.ea-login__divider::after {
  content: "";
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  height: 1px;
  background: var(--ea-border);
}

.ea-login__divider span {
  padding: 0 16px;
}

.ea-login .ea-login__register {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
}

/* ------------------------------------------------------------------ */
/* Sign up / forgot password additions                                 */
/* ------------------------------------------------------------------ */
.ea-login--wide .ea-login__card {
  max-width: 560px;
}

.ea-login--wide .ea-login__card {
  padding-top: 28px;
  padding-bottom: 30px;
}

.ea-login--wide .ea-login__brand img { height: 54px; }
.ea-login--wide .ea-login__form { margin-top: 22px; }
.ea-login--wide .ea-login__field + .ea-login__field,
.ea-login--wide .ea-login__row + .ea-login__field,
.ea-login--wide .ea-login__field + .ea-login__row,
.ea-login--wide .ea-login__row + .ea-login__row { margin-top: 14px; }

.ea-login__row {
  display: block;
}

.ea-login__row > .ea-login__field + .ea-login__field {
  margin-top: 14px;
}

.ea-login .ea-login__select {
  padding-right: 40px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234b5563' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  text-overflow: ellipsis;
}

.ea-login__check {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  cursor: pointer;
}

.ea-login__check input {
  width: 18px;
  height: 18px;
  margin: 0 10px 0 0;
  accent-color: var(--ea-blue-deep);
  cursor: pointer;
}

.ea-login .ea-login__back {
  margin-top: 18px;
  text-align: center;
}

.ea-login__back a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ea-blue-deep);
  text-decoration: none;
}

.ea-login__back a:hover { text-decoration: underline; }

.ea-login .ea-login__terms {
  margin: 8px 0 0;
  font-size: 13px;
}

.ea-login .ea-login__terms a {
  font-weight: 600;
  color: var(--ea-blue-deep);
  text-decoration: none;
}

.ea-login .ea-login__terms a:hover {
  text-decoration: underline;
}

.ea-login .ea-login__links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 24px;
}

.ea-login .ea-login__links li + li {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--ea-border);
}

.ea-login .ea-login__links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ea-muted);
  text-decoration: none;
}

.ea-login .ea-login__links a:hover {
  color: var(--ea-blue-deep);
}

.ea-login .ea-login__copy {
  margin-top: 10px;
  text-align: center;
  font-size: 12.5px;
  color: #8a94a6;
}

/* jQuery Validate messages (inserted after the input) */
.ea-login label.error {
  display: block;
  margin: 6px 0 0;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  color: #dc2626;
}

.ea-login .ea-login__input.error {
  border-color: #dc2626;
}

.ea-login .ea-login__input.error:focus {
  -webkit-box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

/* two columns where the card is wide enough */
@media (min-width: 1400px), (min-width: 576px) and (max-width: 991px) {
  .ea-login__row {
    display: -ms-grid;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 16px;
    -ms-grid-columns: 1fr 16px 1fr;
  }
  .ea-login__row > .ea-login__field + .ea-login__field { margin-top: 0; }
}

@media (min-width: 1700px) {
  .ea-login--wide .ea-login__card { max-width: 660px; }
  .ea-login--wide .ea-login__brand img { height: 64px; }
}

/* OTP verification modal (register page) - scoped by id */
#otpModal .modal-content {
  border: 0;
  border-radius: 18px;
  font-family: "Plus Jakarta Sans", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-box-shadow: 0 24px 60px rgba(31, 52, 99, 0.25);
  box-shadow: 0 24px 60px rgba(31, 52, 99, 0.25);
}

#otpModal .modal-header { border-bottom: 0; padding: 24px 28px 0; }
#otpModal .modal-title { font-size: 20px; font-weight: 800; color: #11214d; }
#otpModal .modal-body { padding: 12px 28px 4px; color: #5a6479; font-size: 14.5px; }
#otpModal .modal-footer { border-top: 0; padding: 12px 28px 24px; }

#otpModal .form-control {
  height: 48px;
  border: 1px solid #dbe2eb;
  border-radius: 10px;
  font-size: 18px;
  letter-spacing: 0.3em;
  text-align: center;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#otpModal .form-control:focus {
  border-color: #0a7cff;
  -webkit-box-shadow: 0 0 0 3px rgba(10, 124, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(10, 124, 255, 0.15);
}

#otpModal .btn { height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 600; }
#otpModal .btn-primary { border: 0; background: -webkit-linear-gradient(left, #0a84ff 0%, #0060f9 100%); background: linear-gradient(90deg, #0a84ff 0%, #0060f9 100%); }
#otpModal .btn-secondary { background: #eef2f8; border: 0; color: #11214d; }

/* ------------------------------------------------------------------ */
/* Select2 (country dropdown) - dropdown is rendered inside the field  */
/* ------------------------------------------------------------------ */
.ea-login .select2-container {
  display: block;
  width: 100% !important;
  font-family: inherit;
}

.ea-login .select2-container--default .select2-selection--single {
  display: block;
  height: var(--ea-input-h);
  background: #fff;
  border: 1px solid var(--ea-border);
  border-radius: 10px;
  outline: none;
  -webkit-transition: border-color 0.15s ease, box-shadow 0.15s ease;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ea-login .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0 44px 0 46px;
  line-height: calc(var(--ea-input-h) - 2px);
  font-size: 14.5px;
  color: #1f2937;
}

.ea-login .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 0;
  right: 6px;
  width: 32px;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234b5563' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 8px no-repeat;
  -webkit-transition: -webkit-transform 0.15s ease;
  transition: transform 0.15s ease;
}

.ea-login .select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.ea-login .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.ea-login .select2-container--default.select2-container--focus .select2-selection--single,
.ea-login .select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--ea-blue);
  -webkit-box-shadow: 0 0 0 3px rgba(10, 124, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(10, 124, 255, 0.15);
}

/* the open list */
.ea-login .select2-container--default .select2-dropdown {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ea-border);
  border-radius: 12px;
  -webkit-box-shadow: 0 18px 40px rgba(31, 52, 99, 0.18), 0 2px 8px rgba(31, 52, 99, 0.06);
  box-shadow: 0 18px 40px rgba(31, 52, 99, 0.18), 0 2px 8px rgba(31, 52, 99, 0.06);
  z-index: 50;
}

.ea-login .select2-container--default .select2-dropdown--below { margin-top: 6px; }
.ea-login .select2-container--default .select2-dropdown--above { margin-bottom: 6px; }

.ea-login .select2-container--default .select2-search--dropdown {
  padding: 10px;
  border-bottom: 1px solid #eef2f7;
}

.ea-login .select2-container--default .select2-search--dropdown .select2-search__field {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 38px;
  background: #f6f8fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 12px center no-repeat;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: #1f2937;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.ea-login .select2-container--default .select2-search--dropdown .select2-search__field:focus {
  background-color: #fff;
  border-color: var(--ea-blue);
}

.ea-login .select2-container--default .select2-results > .select2-results__options {
  max-height: 240px;
  padding: 6px;
}

.ea-login .select2-container--default .select2-results__option {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  color: #1f2937;
}

.ea-login .select2-container--default .select2-results__option[aria-selected=true] {
  background: #f1f5fb;
  font-weight: 600;
  color: var(--ea-ink);
}

.ea-login .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: #eaf3ff;
  color: var(--ea-blue-deep);
}

.ea-login .select2-container--default .select2-results__message {
  color: var(--ea-muted);
}

@media (min-width: 1700px) {
  .ea-login .select2-container--default .select2-selection--single .select2-selection__rendered { font-size: 16px; padding-left: 52px; }
  .ea-login .select2-container--default .select2-results__option { font-size: 15.5px; }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (min-width: 1700px) {
  .ea-login__hero-inner { padding: 64px 110px; }
  .ea-login__hero-logo { width: 180px; }
  .ea-login__hero-copy { max-width: 620px; }
  .ea-login .ea-login__eyebrow { font-size: 14px; }
  .ea-login .ea-login__headline { font-size: 58px; }
  .ea-login .ea-login__lead { max-width: 560px; font-size: 18px; }
  .ea-login__features { max-width: 780px; }
  .ea-login__feature-icon { width: 58px; height: 58px; border-radius: 14px; }
  .ea-login .ea-login__feature h3 { font-size: 18px; }
  .ea-login .ea-login__feature p { font-size: 15.5px; }
  .ea-login__card { max-width: 580px; padding: 44px 52px 46px; border-radius: 26px; }
  .ea-login__brand img { height: 78px; }
  .ea-login .ea-login__title { font-size: 32px; }
  .ea-login .ea-login__subtitle { font-size: 16.5px; }
  .ea-login__label { font-size: 16px; }
  .ea-login { --ea-input-h: 56px; }
  .ea-login .ea-login__input { font-size: 16px; padding-left: 52px; }
  .ea-login__input-icon { left: 18px; font-size: 22px; }
  .ea-login .ea-login__submit { height: 56px; font-size: 17px; }
  .ea-login__forgot a, .ea-login__register a, .ea-login .ea-login__register { font-size: 16px; }
}

@media (max-width: 1400px) {
  .ea-login__hero-inner { padding: 48px 56px; }
  .ea-login .ea-login__headline { font-size: 40px; }
}

/* laptop widths: photo a little smaller so the phone clears the headline text; top edge fades into the navy */
@media (min-width: 1200px) and (max-width: 1500px) {
  .ea-login__hero {
    background:
      linear-gradient(0deg, rgba(14, 35, 55, 0.9) 0%, rgba(14, 35, 55, 0.55) 20%, rgba(14, 35, 55, 0) 42%),
      linear-gradient(180deg, #10283e 0%, #10283e 9%, rgba(16, 40, 62, 0) 24%),
      url("../images/auth/login-hero.jpg") right bottom / auto 90% no-repeat,
      linear-gradient(180deg, #10283e 0%, #0e2337 100%);
  }
  .ea-login .ea-login__lead { max-width: 370px; }
}

@media (max-width: 1199px) {
  .ea-login__hero {
    -ms-flex-preferred-size: 52%;
    flex-basis: 52%;
    max-width: 52%;
    /* keep text legible where the photo sits behind it */
    background:
      linear-gradient(90deg, rgba(14, 36, 57, 0.92) 0%, rgba(14, 36, 57, 0.7) 60%, rgba(14, 36, 57, 0.2) 100%),
      linear-gradient(0deg, rgba(14, 35, 55, 0.9) 0%, rgba(14, 35, 55, 0.55) 20%, rgba(14, 35, 55, 0) 42%),
      url("../images/auth/login-hero.jpg") right bottom / auto 100% no-repeat,
      linear-gradient(180deg, #10283e 0%, #0e2337 100%);
  }
  .ea-login__hero-inner { padding: 40px 36px; }
  .ea-login .ea-login__headline { font-size: 34px; }
  .ea-login .ea-login__lead { font-size: 14.5px; }
  .ea-login__feature { padding: 0 14px; }
  .ea-login .ea-login__feature p { font-size: 12.5px; }
}

/* Tablet / phone : drop the marketing panel and centre the card */
@media (max-width: 991px) {
  .ea-login__hero { display: none; }
  .ea-login__panel {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    min-height: 100%;
    padding: 24px 16px;
  }
}

@media (max-width: 480px) {
  .ea-login__panel { padding: 16px 12px; }
  .ea-login__card { padding: 26px 20px 28px; border-radius: 18px; }
  .ea-login__brand img { height: 54px; }
  .ea-login .ea-login__title { font-size: 23px; }
  .ea-login .ea-login__subtitle { font-size: 13.5px; }
  .ea-login__form { margin-top: 24px; }
}

/* Short viewports (landscape phones, small laptops) */
@media (max-height: 700px) and (min-width: 992px) {
  .ea-login__hero-inner { padding-top: 32px; padding-bottom: 32px; }
  .ea-login__hero-copy { margin: 24px 0; }
  .ea-login .ea-login__headline { font-size: 36px; }
}
