/* ═══════════════════════════════════════════════════════════════════════════
   AUTH PAGES — 로그인 · 회원가입 · 비밀번호 재설정
   ═══════════════════════════════════════════════════════════════════════════ */

.auth-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  padding: 40px var(--space-5);
  background: #f8f9fa;
  font-family: 'Pretendard', Arial, Helvetica, sans-serif;
  letter-spacing: -0.01em;
  -webkit-user-select: none;
  user-select: none;
}
.auth-shell input { -webkit-user-select: text; user-select: text; }

.auth-brand {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: #333;
  text-transform: uppercase;
}

.auth-copyright {
  font-size: var(--font-size-sm);
  color: #9ca3af;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  border: 1px solid #dadce0;
  border-radius: var(--radius-md);
  padding: 36px var(--space-8);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.06);
  display: grid;
  gap: var(--space-6);
}

.auth-card--wide { max-width: 440px; }
.auth-card__head { display: grid; gap: var(--space-2); }

.auth-card__title {
  margin: 0;
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: #1f1f1f;
  line-height: 1.3;
}

.auth-card__sub {
  margin: 0;
  font-size: var(--font-size-md);
  color: #5f6368;
  line-height: 1.5;
}

.auth-form { display: grid; gap: var(--space-4); }
.auth-field { display: grid; gap: var(--space-1); }

.auth-field label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-strong);
  color: #5f6368;
}

.auth-field input {
  width: 100%;
  height: var(--height-lg);
  padding: 0 var(--space-3);
  border: 1px solid #dadce0;
  border-radius: var(--radius-md);
  background: #ffffff;
  font-size: var(--font-size-md);
  color: #1f1f1f;
  outline: none;
  transition: border-color var(--transition-fast);
}

.auth-field input::placeholder { color: #80868b; }
.auth-field input:hover { border-color: #c4c7cc; }
.auth-field input:focus { border-color: #1b2a4a; }

.auth-submit {
  width: 100%;
  height: var(--height-lg);
  margin-top: var(--space-1);
  border: 0;
  border-radius: var(--radius-md);
  background: #333;
  color: #ffffff;
  font-size: var(--font-size-md);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.auth-submit:hover { background: #222; }
.auth-submit:active { background: #111; }
.auth-submit:disabled { background: #c4c7cc; cursor: default; }

.auth-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--font-size-base);
  color: #80868b;
}

.auth-footer a { color: #1b2a4a; font-weight: var(--font-weight-strong); transition: color var(--transition-fast); }
.auth-footer a:hover { color: #222; }

.auth-message {
  min-height: 16px;
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: #d93025;
  text-align: center;
}
.auth-message:empty { display: none; }

.auth-guide {
  font-size: var(--font-size-base);
  color: #80868b;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 768px) {
  .auth-shell {
    align-items: stretch;
    justify-content: center;
    padding: max(24px, env(safe-area-inset-top)) 0 max(24px, env(safe-area-inset-bottom));
    background: #fff;
    gap: var(--space-5);
  }
  .auth-brand { font-size: var(--font-size-2xl); text-align: center; padding: 0 var(--space-6); }
  .auth-card { box-shadow: none; border: 0; padding: 0 var(--space-6); border-radius: 0; max-width: none; }
  .auth-card__title { font-size: 22px; }
  .auth-field input { height: var(--height-2xl); font-size: var(--font-size-xl); border-radius: 10px; padding: 0 var(--space-4); }
  .auth-field label { font-size: var(--font-size-md); }
  .auth-submit { height: 52px; font-size: 15px; border-radius: 10px; }
  .auth-footer { font-size: var(--font-size-lg); }
  .auth-copyright { text-align: center; }
}
