@charset "UTF-8";

:root {
  --auth-bg: #f3f5f8;
  --auth-card: #ffffff;
  --auth-text: #17191e;
  --auth-muted: #6f7580;
  --auth-line: #e3e6eb;
  --auth-brand: #1f5eff;
  --auth-brand-dark: #1748c5;
  --auth-danger: #d64242;
  --auth-success: #13875f;
  --auth-warning: #a66b00;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--auth-text);
  background: var(--auth-bg);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.auth-page {
  min-height: 100vh;
  padding: 42px 20px 70px;
}
.auth-wrap {
  width: min(100%, 760px);
  margin: 0 auto;
}
.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.auth-brand__mark {
  width: 52px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--auth-brand);
  color: #fff;
  font-weight: 900;
  transform: rotate(-4deg);
}
.auth-brand span:last-child { display: flex; flex-direction: column; }
.auth-brand strong { font-size: 19px; }
.auth-brand small { color: var(--auth-muted); font-size: 10px; letter-spacing: 1.2px; }
.auth-card {
  padding: 42px;
  border: 1px solid var(--auth-line);
  border-radius: 24px;
  background: var(--auth-card);
  box-shadow: 0 20px 55px rgba(30, 38, 54, 0.08);
}
.auth-heading span {
  color: var(--auth-brand);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.3px;
}
.auth-heading h1 {
  margin: 10px 0 10px;
  font-size: 34px;
  letter-spacing: -1.4px;
}
.auth-heading p {
  margin: 0;
  color: var(--auth-muted);
  line-height: 1.7;
}
.auth-form {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-form label.wide { grid-column: 1 / -1; }
.auth-form label > span { font-size: 12px; font-weight: 800; }
.auth-form input,
.auth-form textarea {
  width: 100%;
  border: 1px solid var(--auth-line);
  border-radius: 11px;
  outline: 0;
  padding: 14px 15px;
  background: #fff;
}
.auth-form input:focus,
.auth-form textarea:focus { border-color: var(--auth-brand); }
.auth-form textarea { resize: vertical; }
.auth-help { color: var(--auth-muted); font-size: 11px; line-height: 1.6; }
.auth-button {
  min-height: 52px;
  border: 0;
  border-radius: 11px;
  background: var(--auth-text);
  color: #fff;
  font-weight: 800;
}
.auth-button:hover { background: #000; }
.auth-button:disabled { opacity: 0.55; cursor: wait; }
.auth-button--outline {
  border: 1px solid var(--auth-line);
  background: #fff;
  color: var(--auth-text);
}
.auth-links {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--auth-muted);
  font-size: 13px;
}
.auth-links a:hover { color: var(--auth-brand); }
.auth-message {
  min-height: 24px;
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--auth-danger);
}
.auth-message.is-success { color: var(--auth-success); }
.checkbox-row {
  grid-column: 1 / -1;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--auth-muted);
  font-size: 12px;
  line-height: 1.6;
}
.checkbox-row input { width: 16px; margin-top: 2px; }
.auth-notice {
  margin-top: 24px;
  padding: 18px;
  border-radius: 14px;
  background: #f7f9fc;
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 1.7;
}
.auth-notice strong { color: var(--auth-text); }
.status-card {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--auth-line);
  border-radius: 18px;
  background: #f8fafc;
}
.status-card__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.status-pill {
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff2cc;
  color: var(--auth-warning);
  font-size: 11px;
  font-weight: 900;
}
.status-pill.is-approved { background: #dcf7eb; color: var(--auth-success); }
.status-pill.is-rejected,
.status-pill.is-suspended { background: #ffe1e1; color: var(--auth-danger); }
.status-card h2 { margin: 0; font-size: 22px; }
.status-card p { margin: 12px 0 0; color: var(--auth-muted); line-height: 1.7; }
.profile-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.profile-grid > div {
  padding: 16px;
  border: 1px solid var(--auth-line);
  border-radius: 12px;
  background: #fff;
}
.profile-grid span { display: block; color: var(--auth-muted); font-size: 11px; }
.profile-grid strong { display: block; margin-top: 6px; font-size: 14px; word-break: break-all; }
.account-actions { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.account-actions a,
.account-actions button {
  min-height: 45px;
  padding: 0 18px;
  border: 1px solid var(--auth-line);
  border-radius: 10px;
  background: #fff;
  font-weight: 800;
}
.account-actions .primary { background: var(--auth-text); color: #fff; border-color: var(--auth-text); }
.setup-alert { margin-top: 20px; padding: 16px; border-radius: 12px; background: #fff1f1; color: var(--auth-danger); }
[hidden] { display: none !important; }

@media (max-width: 640px) {
  .auth-page { padding: 24px 14px 50px; }
  .auth-card { padding: 28px 20px; border-radius: 18px; }
  .auth-heading h1 { font-size: 29px; }
  .auth-form { grid-template-columns: 1fr; }
  .auth-form label.wide, .checkbox-row { grid-column: auto; }
  .profile-grid { grid-template-columns: 1fr; }
  .status-card__top { align-items: flex-start; flex-direction: column; }
}
