/* qse-auth.css — Login, signup, reset-password auth pages */

/* ---- Auth layout (dark brand panel + white form panel) ---- */
.qse-auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.qse-auth-brand-panel {
  background: var(--qse-bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px clamp(32px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.qse-auth-brand-panel__logo {
  margin-bottom: 48px;
}
.qse-auth-brand-panel__logo img {
  height: 36px;
  width: auto;
}
.qse-auth-brand-panel__tagline {
  font-family: var(--qse-font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--qse-fg-on-dark-primary);
  line-height: 1.3;
  margin-bottom: 20px;
}
.qse-auth-brand-panel__sub {
  font-size: 0.9375rem;
  color: var(--qse-fg-on-dark-secondary);
  line-height: 1.7;
  max-width: 360px;
}
.qse-auth-brand-panel__features {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qse-auth-brand-panel__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--qse-fg-on-dark-secondary);
}
.qse-auth-brand-panel__features li i {
  color: var(--qse-green-aa-dark);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.qse-auth-form-panel {
  background: var(--qse-bg-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px clamp(32px, 6vw, 72px);
}

.qse-auth-form-panel__header {
  margin-bottom: 36px;
}
.qse-auth-form-panel__title {
  font-family: var(--qse-font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--qse-fg-on-light-primary);
  margin-bottom: 8px;
}
.qse-auth-form-panel__subtitle {
  font-size: 0.9375rem;
  color: var(--qse-fg-on-light-secondary);
}

.qse-auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 400px;
}

.qse-auth-form .qse-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--qse-fg-on-light-primary);
}
.qse-auth-form .qse-field input {
  width: 100%;
  max-width: 400px;
  font-family: var(--qse-font-sans);
  font-size: 0.9375rem;
  color: var(--qse-fg-on-light-primary);
  background: var(--qse-bg-white);
  border: 1.5px solid var(--qse-divider);
  border-radius: var(--qse-radius-sm);
  padding: 12px 14px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.qse-auth-form .qse-field input:focus {
  outline: none;
  border-color: var(--qse-green-aa-light);
  box-shadow: 0 0 0 3px rgba(31,107,68,0.12);
}

.qse-auth-form__links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -8px;
}
.qse-auth-form__links a {
  font-size: 0.875rem;
  color: var(--qse-green-aa-light);
  font-weight: 500;
}
.qse-auth-form__links a:hover { text-decoration: underline; }

.qse-auth-form__btn {
  width: 100%;
  max-width: 400px;
  justify-content: center;
}

.qse-auth-form__footer-note {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--qse-fg-on-light-muted);
  line-height: 1.6;
}
.qse-auth-form__footer-note a {
  color: var(--qse-green-aa-light);
  font-weight: 500;
}
.qse-auth-form__footer-note a:hover { text-decoration: underline; }

/* ---- Reset password (simple card, light bg) ---- */
.qse-reset-page {
  background: var(--qse-bg-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.qse-reset-page__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.qse-reset-card {
  background: var(--qse-bg-white);
  border: 1px solid var(--qse-divider);
  border-radius: var(--qse-radius-lg);
  box-shadow: var(--qse-shadow-card);
  padding: 48px 44px;
  width: 100%;
  max-width: 440px;
}
.qse-reset-card__logo {
  margin-bottom: 32px;
}
.qse-reset-card__logo img {
  height: 30px;
  width: auto;
}
.qse-reset-card__title {
  font-family: var(--qse-font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--qse-fg-on-light-primary);
  margin-bottom: 8px;
}
.qse-reset-card__sub {
  font-size: 0.9375rem;
  color: var(--qse-fg-on-light-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}
.qse-reset-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.qse-reset-form .qse-field input {
  width: 100%;
  font-family: var(--qse-font-sans);
  font-size: 0.9375rem;
  color: var(--qse-fg-on-light-primary);
  background: var(--qse-bg-white);
  border: 1.5px solid var(--qse-divider);
  border-radius: var(--qse-radius-sm);
  padding: 12px 14px;
}
.qse-reset-form .qse-field input:focus {
  outline: none;
  border-color: var(--qse-green-aa-light);
  box-shadow: 0 0 0 3px rgba(31,107,68,0.12);
}
.qse-reset-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--qse-green-aa-light);
  margin-top: 20px;
}
.qse-reset-back:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .qse-auth-layout { grid-template-columns: 1fr; }
  .qse-auth-brand-panel { padding: 40px 24px; }
  .qse-auth-form-panel { padding: 40px 24px; }
  .qse-reset-card { padding: 36px 24px; }
}
