/* DAONSNC homepage 2026 — login */
.auth {
  min-height: calc(100vh - 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.auth-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 8%;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

.auth-aside {
  position: relative;
  background: var(--ink-1);
  color: #fff;
  padding: 64px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(79, 70, 229, 0.35), transparent 50%), linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.auth-aside > * {
  position: relative;
  z-index: 1;
}

.auth-aside .quote {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  max-width: 380px;
}

.auth-aside .quote em {
  color: #a5b4fc;
  font-style: normal;
  font-weight: 600;
}

.auth-aside .by {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 24px;
}

.auth-aside .term {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--r-md);
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-top: 32px;
}

.auth-aside .term .ok {
  color: #86efac;
}

.auth-form h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--ink-1);
  margin: 0 0 8px;
}

.auth-form .sub {
  color: var(--ink-3);
  font-size: 14.5px;
  margin: 0 0 32px;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-3);
}

.checkbox-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--ink-4);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-1);
}

.sso-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sso {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--ink-1);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  cursor: default;
}

.auth-foot {
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-4);
  text-align: center;
}

.auth-foot a,
a.subtle {
  color: var(--ink-1);
  font-weight: 500;
  text-decoration: none;
}

.btn-block {
  width: 100%;
}

@media (max-width: 880px) {
  .auth {
    grid-template-columns: 1fr;
  }

  .auth-aside {
    display: none;
  }
}
