/* 로그인 · 회원가입 화면.
 *
 * 일반 로그인, 간편 로그인, 회원가입 순서로 짧게 보여 준다.
 *
 * **각 회사의 빛깔을 그대로 쓴다.** 네이버 녹색, 카카오 노랑, 구글 흰색은
 * 사람들이 눈으로 먼저 찾는 표식이다. 우리 붉은색으로 통일하면 못 찾는다.
 * 그림(로고)은 쓰지 않는다 — 각 사의 표식이고 우리가 만들 것이 아니다.
 */
.gate {
  max-width: 420px;
  margin: 0 auto;
  padding: 8px 0 40px;
}
.gate-title {
  margin: 0 0 8px;
  font-size: 30px;
  letter-spacing: -.03em;
  text-align: center;
}
.gate-lead {
  margin: 0 0 26px;
  text-align: center;
  color: var(--muted, #64676c);
  font-size: 14px;
  line-height: 1.7;
  word-break: keep-all;
}

/* ── 소셜 */
.social-buttons { display: grid; gap: 10px; margin: 0 0 16px; }
.social-button {
  display: grid;
  grid-template-columns: 44px 1fr 44px;   /* 표식·글자·여백. 글자가 가운데 온다 */
  align-items: center;
  min-height: 52px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: filter .12s;
}
.social-button:hover { filter: brightness(.96); }
.social-button > span:nth-child(2) { text-align: center; }
.social-mark {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 900;
}
.social-button.is-naver  { background: #03c75a; color: #fff; }
.social-button.is-naver  .social-mark { background: #fff; color: #03c75a; }
.social-button.is-kakao  { background: #fee500; color: #191600; }
.social-button.is-kakao  .social-mark { background: #191600; color: #fee500; }
.social-button.is-google { background: #fff; color: #202124; border-color: #dadce0; }
.social-button.is-google .social-mark { background: #f1f3f4; color: #4285f4; }
.social-button.is-disabled {
  filter: grayscale(.35);
  opacity: .64;
  cursor: not-allowed;
}
.social-button.is-disabled:hover { filter: grayscale(.35); }
.social-button small { display: block; margin-top: 2px; font-size: 10px; font-weight: 700; }

.gate-section-title {
  margin: 22px 0 10px;
  font-size: 14px;
  letter-spacing: -.02em;
}
.gate-form .gate-section-title { margin: 4px 0 8px; }

/* ── 다른 길 */
.gate-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 2px 22px;
  font-size: 14px;
  font-weight: 700;
}
.gate-links a { color: var(--muted, #64676c); text-decoration: none; }
.gate-links a:last-child { color: #20242a; }
.gate-links a:hover { text-decoration: underline; }

/* ── 폼 */
.gate-form { display: grid; gap: 6px; margin: 0 0 24px; }
.gate-form label { font-size: 13px; font-weight: 800; margin-top: 8px; }
.gate-opt { font-weight: 400; color: var(--muted, #64676c); }
.gate-form input[type="email"],
.gate-form input[type="text"],
.gate-form input[type="password"] {
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #d9dadd;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.gate-form input:focus-visible { outline: 2px solid #20242a; outline-offset: 1px; }
.gate-submit {
  min-height: 52px;
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
  background: #20242a;
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}
.gate-submit:hover { filter: brightness(.95); }
.gate-help {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted, #64676c);
  word-break: keep-all;
}
.gate-agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.6;
  cursor: pointer;
}
.gate-agree input { width: 22px; height: 22px; flex: 0 0 22px; margin: 0; accent-color: #20242a; }

/* ── 로그인 화면만의 짧은 순서 */
.gate--login .gate-form { padding-bottom: 24px; border-bottom: 1px solid #d9dadd; }
.gate--login .gate-form .gate-section-title { margin-bottom: 10px; }
.login-mail-link { text-align: right; }
.login-mail-link a { color: #20242a; font-weight: 750; }
.login-social { margin-top: 26px; }
.login-social .gate-section-title { margin-top: 0; }
.gate-signup {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #d9dadd;
  color: var(--muted, #64676c);
  font-size: 13px;
}
.gate-signup a { color: #20242a; font-weight: 850; text-decoration: none; }
.gate-signup a:hover { text-decoration: underline; }

/* ── 아래 안내 상자 */
.gate-card {
  padding: 20px;
  border: 1px solid #e6e3e0;
  border-radius: 10px;
  background: #fff;
}
.gate-card h2 { margin: 0 0 10px; font-size: 15px; text-align: center; }
.gate-card p { margin: 0 0 8px; font-size: 13px; line-height: 1.75; color: var(--muted, #64676c); word-break: keep-all; }
.gate-card p:last-child { margin-bottom: 0; }
.gate-note { font-size: 12px; color: var(--muted, #64676c); line-height: 1.7; word-break: keep-all; }

@media (max-width: 480px) {
  .gate { padding-inline: 4px; }
  .gate-title { font-size: 26px; }
}
