.auth-panel > :not(.atlas-hosted-auth) {
  display: none !important;
}

/* The signed-out route is a single hand-off screen. Authentication itself
   happens on Clerk, so Atlas does not present a second sign-in experience. */
.auth-shell {
  grid-template-columns: 1fr !important;
  place-items: center;
  padding: clamp(24px, 6vw, 72px);
}

.auth-shell > .auth-copy {
  display: none !important;
}

.auth-shell > .auth-panel {
  width: min(940px, 100%) !important;
  margin: 0;
  padding: 0 !important;
  overflow: hidden;
}

.atlas-hosted-auth {
  padding: clamp(38px, 6vw, 72px);
}

.atlas-hosted-auth__eyebrow {
  color: #a4ef87;
  letter-spacing: 0.15em;
  font-size: 0.68rem;
  font-weight: 800;
}

.atlas-hosted-auth h2 {
  margin: 26px 0 22px;
  color: #f5f8f7;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.atlas-hosted-auth__intro {
  max-width: 760px;
  margin: 0;
  color: #a9b7b3;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  line-height: 1.65;
}

.atlas-hosted-auth__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 48px;
}

.atlas-hosted-auth__actions button {
  min-height: 82px;
  border-radius: 18px;
  cursor: pointer;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.atlas-hosted-auth__actions button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.atlas-hosted-auth__actions button:focus-visible {
  outline: 3px solid #a4ef8740;
  outline-offset: 3px;
}

.atlas-hosted-auth__actions button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.atlas-hosted-auth__login {
  border: 1px solid #40514d;
  color: #f5f8f7;
  background: #17221f;
}

.atlas-hosted-auth__login:hover:not(:disabled) {
  border-color: #6c817b;
  background: #1c2926;
}

.atlas-hosted-auth__signup {
  border: 1px solid #a4ef87;
  color: #102018;
  background: #a4ef87;
}

.atlas-hosted-auth__signup:hover:not(:disabled) {
  background: #b7f69d;
}

.atlas-hosted-auth__status {
  min-height: 38px;
  margin: 34px 0 0;
  color: #7f918c;
  text-align: center;
  font-size: clamp(0.82rem, 1.8vw, 1rem);
  line-height: 1.5;
}

.atlas-hosted-auth__status[data-error="true"] {
  color: #ff9b9b;
}

@media (max-width: 560px) {
  .auth-shell {
    padding: 16px;
  }

  .atlas-hosted-auth {
    padding: 30px 22px 24px;
  }

  .atlas-hosted-auth__actions {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 32px;
  }

  .atlas-hosted-auth__actions button {
    min-height: 58px;
  }
}

