/* Affiliate SaaS publisher registration: desktop split scrolling.
   Isolated to the registration screen; does not affect partner login or dashboards. */
@media (min-width:901px) {
  .affiliate-auth.registration-screen {
    height:100vh;
    height:100dvh;
    overflow:hidden;
  }
  .registration-screen .affiliate-auth-split {
    display:grid;
    grid-template-columns:minmax(0,49%) minmax(0,51%);
    height:100vh;
    height:100dvh;
    min-height:0;
    overflow:hidden;
  }
  .registration-screen .affiliate-auth-hero {
    height:100%;
    min-height:0;
    overflow-y:auto; /* Only used on unusually short desktop viewports. */
    overscroll-behavior:contain;
  }
  .registration-screen .affiliate-auth-panel {
    display:block;
    height:100%;
    min-height:0;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-gutter:stable;
  }
  .registration-screen .affiliate-auth-form {
    margin-inline:auto;
    padding-bottom:20px;
  }
}
/* On phones and tablets, keep a single natural document scroll: no trapped panels. */
@media (max-width:900px) {
  .affiliate-auth.registration-screen {
    height:auto;
    min-height:100dvh;
    overflow-x:hidden;
    overflow-y:auto;
  }
  .registration-screen .affiliate-auth-split {
    display:flex!important;
    flex-direction:column;
    min-height:100dvh;
    height:auto;
    overflow:visible;
  }
  .registration-screen .affiliate-auth-hero {
    height:auto;
    min-height:0;
    overflow:visible;
    flex:none;
  }
  .registration-screen .affiliate-auth-panel {
    display:block;
    height:auto;
    min-height:0;
    overflow:visible;
    flex:none;
  }
}
@media (max-width:520px) {
  .registration-screen .auth-form-grid {
    grid-template-columns:minmax(0,1fr);
    gap:0;
  }
  .registration-screen .auth-field {grid-column:1/-1}
}
