/* Ascend Online — full-screen auth page (matches Ascend Camp Platform aesthetic) */
.ao-auth-overlay {
  position: fixed; inset: 0;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)), url('../Pictures/login-bg.jpeg') center/cover no-repeat fixed, var(--black);
  display: none; align-items: center; justify-content: center;
  z-index: 5000; padding: 2rem 1rem;
  overflow-y: auto;
}
.ao-auth-overlay.open { display: flex; }

.ao-auth-panel {
  background: var(--white);
  width: 100%; max-width: 440px;
  padding: 2.5rem;
  position: relative;
}

.ao-auth-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; font-size: 26px; color: var(--muted);
  cursor: pointer; line-height: 1; padding: 4px;
}
.ao-auth-close:hover { color: var(--black); }
.ao-auth-close.hidden { display: none; }

.ao-auth-logo {
  display: flex; align-items: center; gap: 0.875rem;
  margin-bottom: 2rem;
}
.ao-auth-logo img { height: 44px; width: auto; display: block; }
.ao-auth-logo-text { line-height: 1.2; }
.ao-auth-title { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--black); }
.ao-auth-sub {
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px;
}

.ao-auth-greeting {
  font-size: 13px; color: var(--muted);
  margin-bottom: 1.5rem; line-height: 1.5;
}

.ao-auth-google {
  width: 100%; min-height: 48px;
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  background: var(--white); border: 1.5px solid var(--border); color: var(--black);
  cursor: pointer; margin-bottom: 1.25rem;
  transition: border-color 0.15s, background 0.15s;
}
.ao-auth-google:hover { border-color: var(--black); background: var(--cream); }

.ao-auth-divider {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 10px; color: var(--muted); margin: 1rem 0;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.ao-auth-divider::before, .ao-auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}

.ao-auth-field-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  display: block; margin-bottom: 0.4rem;
}
.ao-auth-input {
  width: 100%; padding: 0.75rem 0.875rem;
  border: 1.5px solid var(--border); background: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--black);
  outline: none; margin-bottom: 1rem;
  transition: border-color 0.15s;
}
.ao-auth-input:focus { border-color: var(--black); }

.ao-auth-error {
  background: #fdf0f1; border-left: 3px solid var(--red); color: var(--red);
  padding: 0.6rem 0.875rem; font-size: 13px; margin-bottom: 1rem;
}
.ao-auth-ok {
  background: var(--green-light); border-left: 3px solid var(--green); color: var(--green);
  padding: 0.6rem 0.875rem; font-size: 13px; margin-bottom: 1rem;
}

.ao-auth-submit {
  width: 100%; padding: 0.875rem;
  background: var(--red); color: var(--white); border: none;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em; cursor: pointer;
  transition: background 0.15s;
}
.ao-auth-submit:hover { background: var(--red-dark); }

.ao-auth-forgot {
  width: 100%; margin-top: 0.75rem;
  background: none; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 12px;
  color: var(--muted); cursor: pointer; padding: 0.4rem 0;
  transition: color 0.15s;
}
.ao-auth-forgot:hover { color: var(--black); }

.ao-auth-foot {
  font-size: 11px; color: var(--muted); text-align: center;
  margin-top: 1.75rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border); line-height: 1.6;
  letter-spacing: 0.02em;
}
.ao-auth-foot a { color: var(--red); text-decoration: none; font-weight: 500; }
.ao-auth-foot a:hover { text-decoration: underline; }
