/* Giriş — üye solda, misafir sağda; mobilde alt alta */
.auth-page {
  width: 100%;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.auth-split {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.auth-split-col {
  flex: 1 1 300px;
  min-width: 0;
  max-width: 420px;
  display: none;
}

.auth-split-member {
  display: flex;
}

.auth-split.has-guest .auth-split-guest {
  display: flex;
}

.auth-split:not(.has-guest) {
  justify-content: center;
}

.auth-split:not(.has-guest) .auth-split-member {
  flex: 0 1 420px;
  max-width: 420px;
}

.auth-split-col .auth-card {
  width: 100%;
  max-width: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.auth-col-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-mid);
  margin: -8px 0 20px;
}

.auth-card-guest .auth-col-title {
  margin-top: 0;
  color: var(--accent);
}

.auth-col-desc {
  font-size: 13px;
  color: var(--text-light);
  margin: -12px 0 22px;
}

.auth-card-guest {
  border-color: color-mix(in srgb, var(--accent) 25%, var(--border));
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.auth-split-divider {
  display: none;
}

@media (max-width: 1024px) {
  body.auth-screen-active .auth-container,
  html.auth-screen-active .auth-container {
    position: fixed;
    inset: 0;
    z-index: 20;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    height: 100dvh;
    min-height: 0;
    max-height: 100dvh;
    align-items: stretch;
    justify-content: flex-start;
    padding: max(12px, env(safe-area-inset-top, 0px)) 16px max(28px, env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
  }

  body.auth-screen-active .auth-page {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    flex-shrink: 0;
    padding-bottom: 8px;
  }

  .auth-split {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .auth-split-col {
    flex: 0 0 auto;
    width: 100%;
    max-width: 420px;
  }

  .auth-split:not(.has-guest) .auth-split-member {
    flex: 0 0 auto;
    width: 100%;
  }

  body.auth-screen-active .recent-signups-panel {
    margin-top: 20px;
    margin-bottom: 8px;
  }
}

.auth-brand.has-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.auth-site-logo {
  max-height: 56px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
}
