/* ===== AUTH PAGES ===== */
.auth-page { min-height: 100vh; background: var(--gray-50); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; }
.auth-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; margin-bottom: 28px; cursor: pointer; }
.auth-logo-icon { width: 30px; height: 30px; background: var(--black); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.auth-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px 24px; width: 100%; max-width: 400px; animation: fadeUp .4s ease both; }
.auth-card h2 { font-size: 20px; font-weight: 700; margin-bottom: 5px; }
.auth-sub { font-size: 14px; color: var(--gray-500); margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.field-wrap { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 0 12px; transition: border-color .15s; }
.field-wrap:focus-within { border-color: var(--black); }
.field-wrap svg { color: var(--gray-400); flex-shrink: 0; }
.field-wrap input { flex: 1; padding: 11px 0; font-size: 16px; border: none; outline: none; background: transparent; font-family: inherit; color: var(--black); }
.field-wrap input::placeholder { color: var(--gray-400); }
.field-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.field-row label { font-size: 13px; font-weight: 500; }
.forgot { font-size: 13px; color: var(--gray-500); text-decoration: underline; cursor: pointer; }
.pw-hint { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 12px; color: var(--gray-400); }
.auth-submit { width: 100%; padding: 12px; background: var(--black); color: white; border: none; border-radius: var(--radius); font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit; margin-top: 8px; margin-bottom: 18px; transition: background .15s; -webkit-tap-highlight-color: transparent; }
.auth-submit:hover { background: var(--gray-700); }
.divider { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--gray-400); margin-bottom: 14px; }
.divider::before, .divider::after { content:''; flex:1; height:1px; background:var(--gray-200); }
.social-btn { width: 100%; padding: 12px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); background: white; color: var(--black, #111); font-size: 14px; font-weight: 500; cursor: pointer; font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 8px; transition: border-color .15s; -webkit-tap-highlight-color: transparent; margin-bottom: 14px; }
.social-btn:hover { border-color: var(--gray-400); background: var(--gray-50); }
.auth-footer { text-align: center; margin-top: 18px; font-size: 14px; color: var(--gray-500); }
.auth-footer a { color: var(--black); font-weight: 600; text-decoration: underline; cursor: pointer; }
.auth-back { margin-top: 16px; font-size: 13px; color: var(--gray-400); }
.auth-back span { cursor: pointer; text-decoration: underline; }
.auth-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.5;
  border: 1px solid transparent;
}
.auth-status[data-variant="info"] { background: var(--blue-50); color: var(--blue-700); border-color: rgba(29, 78, 216, .18); }
.auth-status[data-variant="success"] { background: var(--green-50); color: var(--green-700); border-color: rgba(21, 128, 61, .15); }
.auth-status[data-variant="error"] { background: var(--red-50); color: var(--red-700); border-color: rgba(185, 28, 28, .15); }

.auth-mode-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 4px;
  animation: fadeUp .18s ease both;
}
.toggle-password { color: var(--gray-400); transition: color .12s; }
.toggle-password:hover { color: var(--gray-600); }
