@charset "UTF-8";

/* 로그인 · 회원가입 — 트래픽부스터 로그인 화면 구성(좌 브랜드 / 우 폼)을 따른다. */
body.is-auth { background: #fff; }
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }

/* 좌측은 글 없이 캐릭터 일러스트만 — 평면 색 배경, 그라데이션 없음. */
.auth__brand {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    padding: 36px 44px;
    background: #F2FAF6;
}
/* 로고는 마스코트와 글자가 한 장이라 폭이 아니라 높이로 잡는다 (가로로 긴 이미지). */
.auth__logo { position: relative; display: inline-flex; align-items: center; align-self: flex-start; }
.auth__logo img { width: auto; height: 40px; }
.auth__scene { width: min(62%, 340px); margin: auto; animation: km-bob 4s ease-in-out infinite; }

.auth__panel { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth__box { width: 100%; max-width: 384px; }
.auth__title { font-size: 28px; font-weight: 800; letter-spacing: -.035em; }
.auth__lead { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

.social { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }
.social__btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 10px; font-size: 15px; font-weight: 700; }
.social__btn.is-kakao { background: #FEE500; color: #191600; }
.social__btn.is-naver { background: #03C75A; color: #fff; }
.social__btn.is-google { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.social__btn:hover { filter: brightness(.97); }

.auth__or { display: flex; align-items: center; gap: 12px; margin: 26px 0 18px; font-size: 12.5px; color: var(--faint); }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.lf { margin-bottom: 14px; }
.lf label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--slate); }
.lf input { width: 100%; height: 50px; padding: 0 16px; border: 1px solid #E1E5EA; border-radius: 10px; background: var(--bg-soft); font-size: 15px; color: var(--ink); transition: border-color .15s, background .15s, box-shadow .15s; }
.lf input::placeholder { color: #AEB6C0; }
.lf input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px var(--brand-soft); }

.agree { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0; font-size: 13px; color: var(--slate); cursor: pointer; }
.agree input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--blue); }
.agree a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

.auth__submit { width: 100%; height: 50px; margin-top: 8px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 15px; font-weight: 700; transition: background .15s; }
.auth__submit:hover { background: var(--brand-strong); }
.auth__submit:disabled { background: #B7C0CB; cursor: default; }

.auth__error { display: none; margin-top: 12px; padding: 11px 14px; border-radius: 10px; background: var(--red-soft); color: #C43B3B; font-size: 13px; }
.auth__error.is-on { display: block; }
.auth__help { margin-top: 22px; font-size: 13.5px; text-align: center; color: var(--muted); }
.auth__help a { color: var(--brand-strong); font-weight: 700; }

@media (max-width: 960px) {
    .auth { grid-template-columns: 1fr; }
    .auth__brand { display: none; }
}
