/* Auth pages — signup / login / reset 공유 카드 레이아웃 */

body.auth {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: var(--surface-2);
}

.auth-shell {
  width: 100%;
  max-width: 420px;
}

.auth-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.auth-brand a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-1);
}
.auth-brand .brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--rose);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.auth-card {
  padding: 32px 28px;
  background: var(--surface-1);
}
.auth-card h1 {
  margin-bottom: 8px;
  font-size: 22px;
}
.auth-card .lead {
  margin-bottom: 24px;
  color: var(--text-2);
  font-size: 14px;
}

.field { margin-bottom: 16px; }

.checkbox-group {
  margin: 16px 0;
  display: grid;
  gap: 8px;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-1);
  cursor: pointer;
}
.checkbox input { margin-top: 3px; }
.checkbox a { color: var(--rose); text-decoration: underline; }

.form-error {
  display: none;
  margin: 12px 0;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--rose-50);
  color: var(--s-crimson);
  font-size: 13px;
  line-height: 1.5;
}
.form-error[data-active="true"] { display: block; }

.form-success {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--surface-3);
  color: var(--text-1);
  font-size: 14px;
  line-height: 1.5;
}

.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

.auth-foot {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}
.auth-foot a { color: var(--text-2); text-decoration: underline; }
.auth-foot a:hover { color: var(--rose); }
