/*
 * ZAYLIVO — AUTH VISUAL THEME ONLY (V1)
 * Scoped to .as-auth-page so Home, Studio, Admin, etc. are untouched.
 * No selectors target <video>, media/upload controls, or video backgrounds.
 * Works for login / create-account / password reset screens using the shared form.
 */

.as-auth-page {
  --z-auth-lime: #baff24;
  --z-auth-lime-bright: #adff16;
  --z-auth-line: rgba(192, 255, 81, .16);
  --z-auth-text: #f6f8f4;
  --z-auth-muted: #b1bcb1;
  color: var(--z-auth-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Treat the existing form as a premium floating panel, like the homepage cards. */
.as-auth-page .as-auth-form-side {
  border-left-color: transparent;
  background-color: transparent;
}

.as-auth-page .as-auth-form {
  box-sizing: border-box;
  width: min(520px, 100%);
  max-width: 100%;
  padding: clamp(24px, 3.3vw, 40px);
  border: 1px solid rgba(186, 255, 36, .15);
  border-radius: 26px;
  background: rgba(5, 9, 10, .91);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: 0 25px 90px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .045);
  color: var(--z-auth-text);
  gap: 15px;
}

/* Bold headline and bright accent from the homepage. */
.as-auth-page .as-auth-form-heading h2 {
  color: #fff;
  font-size: clamp(28px, 3.3vw, 38px);
  line-height: 1.1;
  letter-spacing: -.045em;
  font-weight: 850;
}

.as-auth-page .as-auth-form-heading p {
  color: var(--z-auth-muted);
  font-size: 13px;
  line-height: 1.65;
}

.as-auth-page .as-eyebrow,
.as-auth-page .as-auth-brand b,
.as-auth-page .as-mobile-auth-brand b {
  color: var(--z-auth-lime);
}

.as-auth-page .as-eyebrow {
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}

/* Keep the existing video background and its uploader unmodified. */
.as-auth-page .as-auth-copy h1 {
  color: #fff;
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.06em;
}

.as-auth-page .as-auth-copy h1 em {
  color: var(--z-auth-lime);
  background: none;
  -webkit-text-fill-color: var(--z-auth-lime);
  font-style: normal;
}

.as-auth-page .as-auth-copy > p { color: #c6cfc4; }
.as-auth-page .as-auth-features span {
  color: #e4eee0;
  background: rgba(9, 14, 12, .58);
  border-color: var(--z-auth-line);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.as-auth-page .as-auth-features svg { color: var(--z-auth-lime); }

/* Same dark rounded controls and lime focus accents as Home. */
.as-auth-page .as-field { color: #e3e9df; }
.as-auth-page .as-field input,
.as-auth-page .as-field textarea,
.as-auth-page .as-field select {
  box-sizing: border-box;
  color: #f8fbf7;
  background: rgba(22, 26, 26, .98);
  border: 1px solid rgba(213, 230, 211, .19);
  border-radius: 14px;
  min-height: 50px;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.as-auth-page .as-field input::placeholder,
.as-auth-page .as-field textarea::placeholder { color: #889287; }
.as-auth-page .as-field input:focus,
.as-auth-page .as-field textarea:focus,
.as-auth-page .as-field select:focus {
  border-color: var(--z-auth-lime-bright);
  box-shadow: 0 0 0 3px rgba(185, 255, 36, .15);
  outline: none;
}

.as-auth-page .as-auth-submit {
  min-height: 52px;
  padding: 12px 20px;
  border: 0;
  border-radius: 15px;
  color: #081006;
  background: var(--z-auth-lime-bright);
  box-shadow: 0 8px 26px rgba(150, 255, 20, .13);
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}
.as-auth-page .as-auth-submit:not(:disabled):hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(150, 255, 20, .17);
}
.as-auth-page .as-auth-submit:disabled { cursor: not-allowed; opacity: .5; }
.as-auth-page .as-auth-submit:focus-visible,
.as-auth-page .as-google-auth-button:focus-visible,
.as-auth-page .as-auth-switch button:focus-visible {
  outline: 2px solid var(--z-auth-lime);
  outline-offset: 3px;
}

.as-auth-page .as-google-auth-button {
  border: 1px solid rgba(220, 236, 215, .25);
  border-radius: 999px;
  background: rgba(12, 17, 17, .84);
  color: #fff;
  min-height: 48px;
  transition: border-color .18s ease, background-color .18s ease;
}
.as-auth-page .as-google-auth-button:not(:disabled):hover {
  border-color: rgba(186, 255, 36, .55);
  background: #161d16;
}
.as-auth-page .as-auth-divider { color: #839084; }
.as-auth-page .as-auth-divider::before,
.as-auth-page .as-auth-divider::after { border-color: rgba(235, 245, 235, .12); }

.as-auth-page .as-text-link,
.as-auth-page .as-auth-switch button {
  color: var(--z-auth-lime);
  font-weight: 750;
}
.as-auth-page .as-text-link:hover,
.as-auth-page .as-auth-switch button:hover { color: #d9ff91; }

.as-auth-page .as-auth-switch { color: #b7c0b6; }
.as-auth-page .as-auth-security {
  border-top-color: rgba(255, 255, 255, .09);
  color: #8b9989;
}
.as-auth-page .as-auth-home-button {
  border-color: rgba(199, 235, 185, .22);
  border-radius: 999px;
  color: #f6fff1;
  background: rgba(9, 14, 10, .68);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.as-auth-page .as-auth-home-button:hover {
  border-color: var(--z-auth-lime);
  color: var(--z-auth-lime);
  background: rgba(14, 20, 15, .89);
}
.as-auth-page .as-auth-home-button:focus-visible { outline-color: var(--z-auth-lime); }
.as-auth-page .as-auth-brand,
.as-auth-page .as-mobile-auth-brand { color: #fff; }
.as-auth-page .as-auth-footer { color: #bac5b5; }

.as-auth-page .as-password-rules .is-good { color: var(--z-auth-lime); }
.as-auth-page .as-founding-access-badge {
  border-radius: 15px;
  border-color: rgba(186, 255, 36, .23);
  background: rgba(15, 26, 13, .72);
}

/* Preserve the existing page layout and video layer on all screen sizes. */
@media (max-width: 820px) {
  .as-auth-page .as-auth-form-side { padding-left: 16px; padding-right: 16px; }
  .as-auth-page .as-auth-form { padding: 24px 20px; border-radius: 22px; }
  .as-auth-page .as-auth-form-heading h2 { font-size: clamp(27px, 7vw, 36px); }
}

@media (prefers-reduced-motion: reduce) {
  .as-auth-page .as-auth-submit,
  .as-auth-page .as-google-auth-button,
  .as-auth-page .as-auth-home-button { transition: none; }
  .as-auth-page .as-auth-submit:not(:disabled):hover { transform: none; }
}
