/* 자윤 계정 페이지 — 로그인/회원가입 (「잇다」 톤). 토큰은 jayoon-tokens.css 의존. */

*, *::before, *::after { box-sizing: border-box; }

.jacc-body {
    margin: 0;
    font-family: "Pretendard", system-ui, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(1200px 600px at 50% -10%, var(--rose-tint), transparent 60%),
        linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.jacc {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 18px;
}

.jacc-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 40px 36px 34px;
}

.jacc-brand {
    display: block;
    text-align: center;
    font-family: var(--display);
    font-size: 24px;
    letter-spacing: -.01em;
    color: var(--ink);
    text-decoration: none;
    margin-bottom: 22px;
}
.jacc-brand::after {
    content: "";
    display: block;
    width: 34px;
    height: 2px;
    background: var(--gold);
    margin: 12px auto 0;
}

.jacc-h {
    font-family: var(--display);
    font-size: 26px;
    text-align: center;
    margin: 0 0 6px;
    letter-spacing: -.01em;
}
.jacc-sub {
    text-align: center;
    color: var(--ink-soft);
    font-size: 13.5px;
    margin: 0 0 24px;
}

/* flash */
.jacc-flash {
    border-radius: 11px;
    padding: 11px 14px;
    font-size: 13px;
    margin-bottom: 18px;
    text-align: center;
}
.jacc-flash.error { background: var(--wine-tint); color: var(--wine); border: 1px solid #ECD3DB; }
.jacc-flash.info  { background: var(--gold-tint); color: var(--gold-deep); border: 1px solid var(--gold-soft); }

/* social */
.jacc-social { display: flex; flex-direction: column; gap: 10px; }
.jbtn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 50px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: filter .18s var(--ease), transform .18s var(--ease);
}
.jbtn-social:hover { filter: brightness(.96); transform: translateY(-1px); }
.jbtn-social .ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.jbtn-social .ic svg { width: 19px; height: 19px; display: block; }
.jbtn-social.kakao { background: #FEE500; color: #191600; }
.jbtn-social.naver { background: #03C75A; color: #fff; }

/* divider */
.jacc-or {
    display: flex; align-items: center; gap: 12px;
    margin: 22px 0;
    color: var(--ink-faint); font-size: 12px;
}
.jacc-or::before, .jacc-or::after {
    content: ""; flex: 1; height: 1px; background: var(--line);
}

/* form */
.jacc-form { display: flex; flex-direction: column; gap: 14px; }
.jf { display: flex; flex-direction: column; gap: 7px; }
.jf-l { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.jf-l small { color: var(--ink-faint); font-weight: 400; }
.jacc-form input[type="text"],
.jacc-form input[type="email"],
.jacc-form input[type="password"],
.jacc-form input[type="tel"] {
    height: 50px;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 0 15px;
    font: inherit;
    font-size: 14.5px;
    color: var(--ink);
    background: var(--paper);
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.jacc-form input::placeholder { color: var(--ink-faint); }
.jacc-form input:focus {
    outline: none;
    border-color: var(--gold-soft);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(199,169,119,.22);
}

.jacc-row {
    display: flex; align-items: center; justify-content: space-between;
    margin: 2px 0 4px;
}
.jchk { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-soft); cursor: pointer; }
.jchk input { width: 16px; height: 16px; accent-color: var(--gold-deep); }
.jacc-link { font-size: 13px; color: var(--ink-soft); text-decoration: none; }
.jacc-link:hover { color: var(--gold-deep); }

.jacc-agree { display: flex; flex-direction: column; gap: 9px; margin: 4px 0 2px; }

.jbtn-primary {
    height: 52px;
    margin-top: 8px;
    border: 0;
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s var(--ease), transform .18s var(--ease);
}
.jbtn-primary:hover { background: var(--gold-deep); transform: translateY(-1px); }

.jacc-alt {
    text-align: center;
    margin: 22px 0 0;
    font-size: 13.5px;
    color: var(--ink-soft);
}
.jacc-alt a { color: var(--gold-deep); font-weight: 700; text-decoration: none; }
.jacc-alt a:hover { text-decoration: underline; }

.jacc-foot { font-size: 12px; color: var(--ink-faint); text-align: center; margin: 0; }

@media (max-width: 460px) {
    .jacc-card { padding: 32px 22px 28px; border-radius: 18px; }
}
