/* ==========================================
   LOGIN — 로그인 화면 (auction1 리뉴얼)
   root.css 디자인 토큰 + common.css 컴포넌트(.input / .btn / .checkbox) 재사용.
   Figma spec: 400px 카드, brand-blue(#0056d2).
   ========================================== */

.login-body { background: #ffffff; }

.login-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 16px;
}
.login-container {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* logo */
.login-logo { display: inline-flex; line-height: 0; }
.login-logo img { width: 160px; height: 34px; object-fit: contain; }

/* card */
.login-box {
  box-sizing: border-box;
  width: 100%;
  padding: 30px 20px;
  background: #ffffff;
  border: 1px solid var(--neutral-200);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.03);
  border-radius: 10px;
}
.login-box-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* form: title / (inputs + options) — Figma: gap 40 between title and input-group */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.login-title {
  margin: 0;
  text-align: center;
  font-family: var(--font-family-base);
  font-weight: var(--fw-bold);
  font-size: var(--fs-xl);          /* 24px */
  line-height: var(--lh-normal);
  letter-spacing: -0.02em;
  color: var(--neutral-950);
}

.login-input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* Figma 인풋 라운드 8px (디자인시스템 기본 6px override) */
.login-form .input-lg {
  border-radius: 8px;
  border-color: var(--neutral-300);
}

.login-options {
  display: flex;
  align-items: center;
  gap: 20px;
}
.login-options .checkbox__label {
  color: #000000;
  font-size: var(--fs-xs);
}

/* buttons: login / register / find */
.login-btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.login-btn-group .btn-l { width: 100%; }
.login-find { text-align: center; }
.login-find a {
  font-family: var(--font-family-base);
  font-size: var(--fs-xs);
  color: var(--neutral-500);
}
.login-find a:hover { text-decoration: underline; }

/* notice */
.login-notice {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}
/* Figma: disc 불릿 리스트, 좌측정렬 (common.css 의 list-style:none 재정의) */
.login-notice__list {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  text-align: left;
  font-family: var(--font-family-base);
  font-size: var(--fs-xs);
  line-height: var(--lh-tight);
  color: var(--neutral-500);
}
.login-notice__list li { list-style: disc; }
.login-notice__btns {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.login-notice__btns .btn {
  background: var(--neutral-100);
  color: var(--neutral-950);
  border-radius: var(--radius-s);   /* 4px */
}
.login-notice__btns .btn:hover { background: var(--neutral-200); }

/* banner — BannerRenderController(index.php 동일) + Swiper 축약. 배너 없으면 미출력 */
.login-banner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.login-banner__swiper {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}
.login-banner__swiper .swiper-wrapper { display: flex; }
.login-banner__swiper .swiper-slide { flex: 0 0 100%; width: 100%; }
.login-banner__swiper .bannerItem {
  display: block;
  width: 100%;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
}
.login-banner__swiper .ank_banner { display: block; }
.login-banner__swiper .banner_img {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: cover;
}
/* pagination dots (Figma: 8px, active blue) */
.login-banner__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.login-banner__dots .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0;
  border-radius: var(--radius-full);
  background: var(--neutral-200);
  opacity: 1;
  transition: background var(--duration-fast);
}
.login-banner__dots .swiper-pagination-bullet-active { background: var(--brand-blue); }

/* footer */
.login-footer {
  text-align: center;
  font-family: var(--font-family-base);
  font-size: var(--fs-xs);
  color: var(--neutral-400);
}