/* Standalone sign-in page, preserving the theme's existing button fills. */
#authentication #content .ea-login-main .ea-login-action-row,
#authentication #content .ea-login-main .ea-quick-login .iqitsociallogin-authentication {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(112px, 100%), 1fr));
  gap: 8px;
  align-items: stretch;
  width: 100%;
  max-width: 568px;
  margin-inline: auto;
}
#authentication #content .ea-login-action-row > div {display:flex; min-width:0; margin:0 !important;}
#authentication #content .ea-login-main .ea-quick-login {margin-top:0 !important;}
@layer eaAuthPair {
  #authentication #content .ea-login-main .ea-quick-login .iqitsociallogin {max-width:568px !important; margin-inline:auto !important;}
  #authentication #content .ea-login-main .ea-login-action-row a[data-ea-registration-type],
  #authentication #content .ea-login-main .ea-quick-login a.btn-iqitsociallogin:is(.btn-google,.btn-facebook) {
    display:flex !important; align-items:center !important; justify-content:center !important;
    box-sizing:border-box; gap:6px; width:100% !important; max-width:100% !important; min-width:0; min-height:48px;
    margin:0 !important; padding:10px 6px !important; white-space:normal !important;
    font-family:Roboto,sans-serif !important; font-size:16px !important; line-height:20px !important;
    font-weight:700 !important; font-style:normal !important; text-transform:none !important;
    text-decoration:none !important; text-shadow:0 1px 1px rgba(0,0,0,.333) !important; border-radius:9px !important; border:1px solid #b99343 !important;
    background:linear-gradient(#315875,#193b55) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 4px 0 #10283c,0 6px 10px rgba(23,61,85,.17) !important;
    overflow-wrap:anywhere; text-align:center; color:#fff !important;
  }
  html[data-ea-theme="dark"] #authentication #content .ea-login-action-row a[data-ea-registration-type],
  html[data-ea-theme="dark"] #authentication #content .ea-quick-login a.btn-iqitsociallogin:is(.btn-google,.btn-facebook) {
    text-shadow:0 1px 1px rgba(0,0,0,.6) !important;
    box-shadow:inset 0 1px 0 rgba(217,235,255,.14),inset 0 -2px 0 rgba(5,12,35,.44),0 3px 3px rgba(0,0,0,.333) !important;
  }
  #authentication #content .ea-quick-login .btn-facebook > i.fa-facebook-square {
    display:inline-flex !important; align-items:center; justify-content:center;
    width:18px; height:18px; margin:0; overflow:hidden; border-radius:3px;
    background:#fff !important; color:#0866ff !important; font-size:20px !important; line-height:18px !important;
  }
  #authentication #content .ea-quick-login .btn-facebook > i.fa-facebook-square::before {
    color:#0866ff !important; -webkit-text-fill-color:#0866ff !important;
  }
  #authentication #content .ea-login-main .ea-login-action-row a:focus-visible,
  #authentication #content .ea-login-main .ea-quick-login a:focus-visible {
    outline:3px solid #2176ae !important; outline-offset:3px !important;
  }
  html[data-ea-theme="dark"] #authentication #content .ea-login-action-row a:focus-visible,
  html[data-ea-theme="dark"] #authentication #content .ea-quick-login a:focus-visible {outline-color:#f1d17f !important;}
}
#authentication #content .ea-quick-login .btn-google > span,
#authentication #content .ea-quick-login .btn-facebook > i {flex:0 0 auto;}
#authentication #content .ea-quick-login .btn-google {order:-2;}
#authentication #content .ea-quick-login .btn-facebook {order:-1;}

@media (min-width:768px) {
  @layer eaAuthPair {
    #authentication #content .ea-login-main .ea-login-action-row a[data-ea-registration-type] { padding-inline:2px !important; }
  }
}

/* The standalone form's existing lower margin would double the gap before this divider. */
@layer eaAuthPair {
  #authentication #content .ea-login-main > section.login-form:has(+ .ea-login-separator) #submit-login { margin-bottom:0 !important; }
}
