@charset "utf-8";

:root {
  --auth-bg: #f4f1e8;
  --auth-card: #fff;
  --auth-ink: #101820;
  --auth-muted: #6f6f6f;
  --auth-line: #d8d0c2;
  --auth-green: #173b2b;
  --auth-gold: #d7b46a;
}

* { box-sizing: border-box; }

html,
body.auth-page {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  background: var(--auth-bg);
}

body.auth-page {
  color: var(--auth-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Pretendard", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

.auth-page a {
  color: inherit;
  text-decoration: none;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 40% 60%;
}

.auth-visual {
  position: relative;
  min-height: 100vh;
  color: #fff;
  overflow: hidden;
}

.auth-visual-bg,
.auth-visual-overlay {
  position: absolute;
  inset: 0;
}

.auth-visual-bg {
  background-image: var(--auth-visual);
  background-size: cover;
  background-position: center;
}

.auth-visual-overlay {
  background: linear-gradient(180deg, rgba(8, 28, 44, .68), rgba(5, 16, 20, .84));
}

.auth-visual-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 86px 72px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-brand {
  position: absolute;
  top: 72px;
  left: 72px;
}

.auth-brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 900;
  word-break: keep-all;
}

.auth-brand span {
  display: block;
  margin-top: 4px;
  color: var(--auth-gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

.auth-visual-content h1 {
  margin: 0;
  font-size: clamp(42px, 4vw, 64px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
  word-break: keep-all;
}

.auth-visual-content p {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
}

.auth-feature-list {
  margin-top: 90px;
  border-top: 1px solid rgba(255,255,255,.22);
}

.auth-feature-list div {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.auth-feature-list strong {
  display: block;
  color: var(--auth-gold);
  font-size: 17px;
  font-weight: 900;
}

.auth-feature-list span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.65;
  word-break: keep-all;
}

.auth-form-area {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px;
  background: var(--auth-bg);
}

.auth-card {
  width: 100%;
  max-width: 460px;
  padding: 46px 46px 42px;
  background: var(--auth-card);
  border: 1px solid var(--auth-line);
}

.auth-card.is-wide {
  max-width: 920px;
}

.auth-card .eyebrow {
  margin: 0 0 14px;
  color: #9b7a37;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.auth-card h2 {
  margin: 0;
  color: var(--auth-ink);
  font-size: 36px;
  line-height: 1.1;
  font-weight: 900;
}

.auth-desc {
  margin: 16px 0 32px;
  color: var(--auth-muted);
  font-size: 16px;
  line-height: 1.65;
}

.auth-field {
  margin-bottom: 20px;
}

.auth-field label {
  display: block;
  margin-bottom: 9px;
  color: #111;
  font-size: 15px;
  font-weight: 800;
}

.auth-field input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid #cfc7b9;
  border-radius: 0;
  background: #eef3fb;
  color: var(--auth-ink);
  font-size: 15px;
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 24px;
  font-size: 13px;
}

.auth-options label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.auth-submit,
.auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 58px;
  border: 0;
  background: var(--auth-green);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.auth-button.secondary {
  border: 1px solid #202820;
  background: #fff;
  color: #111;
}

.auth-links {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #e0d8ca;
  text-align: center;
  color: #333;
  font-size: 13px;
}

.auth-links a {
  font-weight: 900;
}

.auth-agree-box {
  margin-top: 18px;
  border: 1px solid #ddd6ca;
}

.auth-agree-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #e4ded3;
}

.auth-agree-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.auth-agree-box textarea {
  display: block;
  width: 100%;
  height: 150px;
  padding: 20px;
  border: 0;
  resize: vertical;
  color: #333;
  background: #fff;
  font-size: 14px;
  line-height: 1.7;
}

.auth-privacy-table {
  overflow-x: auto;
  padding: 20px;
  background: #fff;
}

.auth-privacy-table table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.auth-privacy-table th,
.auth-privacy-table td {
  padding: 14px;
  border: 1px solid #e1ded7;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
}

.auth-privacy-table th {
  background: #f7f5f0;
  font-weight: 900;
}

.auth-check-all {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid var(--auth-line);
  background: #fffdf8;
  font-weight: 800;
}

.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

@media (max-width: 980px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-visual,
  .auth-visual-content {
    min-height: 420px;
  }

  .auth-visual-content {
    padding: 96px 28px 42px;
  }

  .auth-brand {
    top: 32px;
    left: 28px;
  }

  .auth-visual-content h1 {
    font-size: clamp(36px, 9vw, 52px);
  }

  .auth-feature-list {
    margin-top: 42px;
  }

  .auth-form-area {
    min-height: auto;
    padding: 42px 20px 64px;
  }

  .auth-card {
    max-width: 100%;
    padding: 34px 24px;
  }
}

@media (max-width: 560px) {
  .auth-actions,
  .auth-options {
    grid-template-columns: 1fr;
    display: grid;
  }
}


/* Auth member form/result */
.auth-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  margin-top: 26px;
}

.auth-field label span {
  color: var(--auth-accent);
  font-size: 12px;
  margin-left: 4px;
}

.auth-help {
  display: block;
  margin-top: 8px;
  color: #7b756a;
  font-size: 13px;
  line-height: 1.5;
}

.auth-captcha {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #ded8cc;
  background: #fbfaf6;
}

.auth-captcha fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.auth-captcha input {
  height: 44px;
  border: 1px solid #cfc8ba;
  padding: 0 12px;
}

.auth-result-card {
  text-align: left;
}

.auth-result-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.auth-result-list li {
  padding: 15px 16px;
  border: 1px solid #e2ddd2;
  background: #fbfaf6;
  color: #2f3d37;
  font-size: 15px;
  line-height: 1.55;
}

.auth-actions.single {
  grid-template-columns: 1fr 1fr;
}

.auth-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

@media (max-width: 560px) {
  .auth-form-grid {
    grid-template-columns: 1fr;
  }

  .auth-actions.single {
    grid-template-columns: 1fr;
  }
}

/* Member confirm */
.auth-readonly-value {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid #d7d0c5;
  background: #f8f6f1;
  color: var(--auth-ink);
  font-size: 15px;
  font-weight: 800;
}

.auth-confirm-shell .auth-card {
  max-width: 500px;
}

.auth-confirm-shell .auth-links {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.auth-confirm-shell .auth-links a + a::before {
  content: none;
}

@media (max-width: 560px) {
  .auth-confirm-shell .auth-links {
    flex-direction: column;
    gap: 8px;
  }
}