/* AdQuill authentication screens. Self contained, no external requests. */

.aq-auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.aq-auth__aside {
  background: var(--aq-ink);
  color: #c4d0e6;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.aq-auth__aside::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 92, 255, 0.45), transparent 68%);
}

.aq-auth__aside::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -160px;
  bottom: -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 24, 0.28), transparent 68%);
}

.aq-auth__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-family: var(--aq-font-head);
  font-size: 1.1rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.aq-auth__brandmark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--aq-brand), #6d8bff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.aq-auth__brandmark svg { width: 21px; height: 21px; }

.aq-auth__pitch {
  position: relative;
  z-index: 1;
  max-width: 460px;
}

.aq-auth__headline {
  font-family: var(--aq-font-head);
  font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.aq-auth__lead {
  font-size: 1rem;
  line-height: 1.65;
  color: #9fb0cc;
  margin: 0 0 28px;
}

.aq-auth__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.aq-auth__points li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: #c4d0e6;
}

.aq-auth__points svg {
  width: 19px;
  height: 19px;
  flex: none;
  color: var(--aq-accent);
  margin-top: 1px;
}

.aq-auth__foot {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  color: #6b7b98;
}

.aq-auth__main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 24px;
  background: var(--aq-bg);
}

.aq-auth__panel {
  width: 100%;
  max-width: 430px;
}

.aq-auth__title {
  font-family: var(--aq-font-head);
  font-size: 1.6rem;
  margin: 0 0 6px;
}

.aq-auth__lead-sm {
  color: var(--aq-muted);
  font-size: 0.92rem;
  margin: 0 0 26px;
}

.aq-auth__card {
  background: var(--aq-surface);
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-r-lg);
  box-shadow: var(--aq-sh);
  padding: 28px;
}

.aq-auth__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.aq-auth__links {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--aq-line);
  text-align: center;
  font-size: 0.9rem;
  color: var(--aq-muted);
}

.aq-auth__switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.aq-auth__switch a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 15px;
  border: 1px solid var(--aq-line-strong);
  border-radius: var(--aq-r-sm);
  background: var(--aq-surface);
  color: var(--aq-text);
  font-weight: 600;
  font-size: 0.92rem;
  transition: border-color 200ms cubic-bezier(0.2, 0.7, 0.3, 1), background-color 200ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.aq-auth__switch a:hover { border-color: var(--aq-brand); background: var(--aq-brand-050); }
.aq-auth__switch small { font-weight: 500; font-size: 0.76rem; color: var(--aq-muted); }
.aq-auth__switch svg { width: 17px; height: 17px; color: var(--aq-brand); margin-bottom: 2px; }

.aq-auth__alert {
  margin-bottom: 18px;
}

@media (max-width: 940px) {
  .aq-auth { grid-template-columns: 1fr; }
  .aq-auth__aside { display: none; }
  .aq-auth__main { padding: 32px 18px; }
}

@media (max-width: 480px) {
  .aq-auth__switch { grid-template-columns: 1fr; }
  .aq-auth__card { padding: 22px 18px; }
}
