/* Authenticated unpaid-user "Activate Studio" blocking state for login.html.
   Design reference: Claude Design handoff "Activate Studio" (460px card, #000 page,
   #11171f card surface, #1a1d24 inset, a single #32c5fd accent action).
   Scoped to body.is-auth-session, which auth.js only sets on the login page while a
   signed-in session lacks Studio access, so the sign-in/sign-up surfaces are untouched. */

body.is-auth-session {
  background: #000000;
}

body.is-auth-session .auth-overlay {
  padding: 40px 16px;
}

body.is-auth-session .auth-card {
  width: 100%;
  max-width: 460px;
  background: #11171f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: none;
}

body.is-auth-session .auth-card .auth-panel {
  padding: 32px;
  gap: 24px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

body.is-auth-session .auth-body {
  gap: 24px;
}

/* Wordmark: 16px gradient lockup, 36px above the title, so the mark reads as
   chrome rather than as part of the heading. */
body.is-auth-session .auth-logo {
  display: block;
  height: 16px;
  width: auto;
  align-self: flex-start;
}

body.is-auth-session .auth-panel-header {
  gap: 0;
}

body.is-auth-session .auth-brand-panel {
  margin-bottom: 36px;
}

body.is-auth-session .auth-title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #ffffff;
  text-wrap: pretty;
}

body.is-auth-session .auth-subtitle {
  margin-top: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  text-wrap: pretty;
}

body.is-auth-session .auth-session-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Studio access block: content-sized, neutral hairline, no accent tint. */
body.is-auth-session .auth-session-access {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: #1a1d24;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

body.is-auth-session .auth-session-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

body.is-auth-session .auth-session-email {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  word-break: break-all;
}

body.is-auth-session .auth-session-message {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  text-wrap: pretty;
}

/* The only accent-filled action on the surface. */
body.is-auth-session .auth-session-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.is-auth-session .auth-session-actions .project-button.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 0 16px;
  background: #32c5fd;
  color: #0d0d0d;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
  box-shadow: none;
  transition:
    background 120ms cubic-bezier(0.2, 0, 0.2, 1),
    opacity 120ms cubic-bezier(0.2, 0, 0.2, 1);
}

body.is-auth-session .auth-session-actions .project-button.primary:hover {
  background: #27b4ea;
  box-shadow: none;
  transform: none;
}

body.is-auth-session .auth-session-actions .project-button.primary:active {
  background: #0d8ec2;
  box-shadow: none;
  transform: none;
}

body.is-auth-session .auth-session-actions .project-button[aria-busy="true"] {
  opacity: 0.4;
  pointer-events: none;
}

body.is-auth-session .auth-session-actions .project-button:focus-visible {
  outline: 2px solid rgba(50, 197, 253, 0.45);
  outline-offset: 2px;
}

body.is-auth-session .auth-session-note {
  min-height: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

body.is-auth-session .auth-session-note:empty {
  display: none;
}

body.is-auth-session .auth-session-note.is-error {
  color: #eb5757;
}

body.is-auth-session .auth-session-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.56);
}

body.is-auth-session .auth-session-support a {
  color: #32c5fd;
  text-decoration: none;
}

body.is-auth-session .auth-session-support a:hover {
  color: #6ed6fe;
  text-decoration: underline;
}

body.is-auth-session .auth-session-support a:focus-visible,
body.is-auth-session .auth-session-logout:focus-visible {
  outline: 2px solid rgba(50, 197, 253, 0.45);
  outline-offset: 2px;
  border-radius: 2px;
}

body.is-auth-session .auth-session-logout {
  margin-left: auto;
  padding: 0;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.56);
  font-family: inherit;
  font-size: 13px;
  line-height: normal;
  text-align: start;
  cursor: pointer;
}

body.is-auth-session .auth-session-logout:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}
