/* ============================================================
   AVIATE — avi-auth.css
   Auth pages: login / signup / reset-password
   ============================================================ */

.avi-auth-page {
  min-height: 100vh;
  background: var(--avi-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2rem);
}

.avi-auth-logo {
  display: block;
  margin-bottom: 2rem;
  text-align: center;
}
.avi-auth-logo img {
  height: 36px;
  width: auto;
  margin: 0 auto;
}

.avi-auth-card {
  background: var(--avi-bg-white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
}
.avi-auth-card__header { text-align: center; margin-bottom: 2rem; }
.avi-auth-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--avi-fg-light-1);
  margin-bottom: 0.375rem;
}
.avi-auth-card__sub {
  font-size: 0.9375rem;
  color: var(--avi-fg-light-2);
}

.avi-auth-form .avi-form-group { margin-bottom: 1.125rem; }
.avi-auth-form .avi-form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--avi-fg-light-1);
  margin-bottom: 0.375rem;
}
.avi-auth-form .avi-form-input {
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  max-width: 100%;
}
.avi-auth-form-submit {
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
  font-weight: 700;
  background: var(--avi-coral);
  color: #fff;
  border: none;
  border-radius: var(--avi-radius-btn);
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.15s;
}
.avi-auth-form-submit:hover { background: var(--avi-coral-hover); }

.avi-auth-divider {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--avi-fg-light-2);
  margin: 1.25rem 0;
  position: relative;
}
.avi-auth-divider::before,
.avi-auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 2rem);
  height: 1px;
  background: var(--avi-border-light);
}
.avi-auth-divider::before { left: 0; }
.avi-auth-divider::after { right: 0; }

.avi-auth-switch {
  text-align: center;
  font-size: 0.875rem;
  color: var(--avi-fg-light-2);
  margin-top: 1.5rem;
}
.avi-auth-switch a { color: var(--avi-coral-aa); font-weight: 600; text-decoration: none; }
.avi-auth-switch a:hover { text-decoration: underline; }

.avi-auth-forgot {
  display: block;
  text-align: right;
  font-size: 0.8125rem;
  color: var(--avi-coral-aa);
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  text-decoration: none;
}
.avi-auth-forgot:hover { text-decoration: underline; }

.avi-auth-terms {
  text-align: center;
  font-size: 0.75rem;
  color: var(--avi-fg-light-2);
  margin-top: 1rem;
  line-height: 1.6;
}
.avi-auth-terms a { color: var(--avi-coral-aa); }

.avi-auth-back {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--avi-fg-dark-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: color 0.15s;
}
.avi-auth-back:hover { color: var(--avi-fg-dark-1); }

/* Demo notice */
.avi-auth-demo-notice {
  margin-top: 0.75rem;
  padding: 0.875rem;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.25);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: var(--avi-fg-light-2);
  text-align: center;
  display: none;
}
.avi-auth-demo-notice.is-visible { display: block; }
