/* 로그인·회원가입은 포털의 색상 변수를 공유하고 독립 카드 안에 기존 입력을 표시합니다. */
.account-body { margin: 0; color: var(--portal-ink); background: var(--portal-paper); font: 14px "Segoe UI", "Malgun Gothic", sans-serif; -webkit-font-smoothing: antialiased; }
.account-body * { box-sizing: border-box; }
.account-body a { text-decoration: none; }
.account-body :focus-visible { outline: 3px solid #66acba; outline-offset: 3px; }
.account-shell { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(440px, 1.1fr); min-height: 100vh; min-height: 100dvh; }
.account-aside { display: flex; flex-direction: column; padding: 38px 48px 30px; background: var(--portal-sidebar); color: #fff; }
.account-brand { padding: 0; min-height: 45px; width: fit-content; }
.account-welcome { margin: auto 0; padding: 52px 0 24px; }
.account-eyebrow { color: #9ab8bf; font-size: 10px; letter-spacing: 2px; }
.account-welcome h2 { margin: 21px 0 18px; font-size: clamp(32px, 3vw, 48px); font-weight: 600; letter-spacing: -1.8px; line-height: 1.45; }
.account-welcome h2 > span { color: #d6b486; }
.account-welcome p { color: #b6c8d0; font-size: 13px; line-height: 1.9; }
.account-art { margin: 32px auto 8px; }
.account-art .art-orbit { border-color: #ffffff19; }
.account-aside-note { display: flex; align-items: center; gap: 9px; margin: 22px 0 0; padding-top: 20px; border-top: 1px solid #ffffff16; color: #abc1cc; font-size: 11px; line-height: 1.7; }
.account-aside-note > span { width: 6px; height: 6px; border-radius: 50%; background: #94c4b6; flex: 0 0 6px; }

/* 본문의 흰 카드, 청록색 동작 버튼과 같은 간격·테두리·포커스 색상을 사용합니다. */
.account-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 44px 24px; }
.account-card { width: 100%; max-width: 490px; padding: 38px 40px; border: 1px solid var(--portal-line); border-radius: 14px; background: #fff; box-shadow: 0 12px 40px #253b4b05; }
.account-page { width: 100%; }
.account-page h1 { margin: 12px 0 14px; font-size: 29px; font-weight: 650; letter-spacing: -1px; }
.account-description { margin: 0 0 29px; color: var(--portal-muted); font-size: 13px; line-height: 1.8; word-break: keep-all; }
.account-page .form-label { margin-bottom: 9px; color: #4d626d; font-size: 12px; font-weight: 600; }
.account-page .form-control { min-height: 46px; border: 1px solid #dce4e5; border-radius: 8px; padding: 11px 13px; color: var(--portal-ink); background: #fafbf9; font: inherit; }
.account-page .form-control::placeholder { color: #9ba6aa; font-size: 12px; }
.account-page .form-control:focus { border-color: #6daba8; background: #fff; box-shadow: 0 0 0 3px #2b797a15; }
.account-page .form-text { margin-top: 8px; color: #849197; font-size: 11px; line-height: 1.7; word-break: keep-all; }
.account-page .form-check { color: #75828b; font-size: 12px; }
.account-page .form-check-input:checked { border-color: var(--portal-accent); background-color: var(--portal-accent); }
.account-page .form-check-input:focus { border-color: #6daba8; box-shadow: 0 0 0 3px #2b797a15; }
.account-page .account-submit { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 46px; margin-top: 24px; border: 1px solid var(--portal-accent); border-radius: 8px; background: var(--portal-accent); font-size: 13px; font-weight: 600; }
.account-page .account-submit:hover, .account-page .account-submit:active { border-color: #246869; background: #246869; }
.account-page .account-submit:focus-visible { box-shadow: 0 0 0 3px #2b797a25; }
.account-submit > span { font-size: 17px; font-weight: 400; }
.account-links { margin: 25px 0 0; padding-top: 22px; border-top: 1px solid #edf0ef; color: #849197; font-size: 12px; text-align: center; }
.account-links a { margin-left: 7px; color: var(--portal-accent); font-weight: 600; }
.account-links a:hover, .account-footer a:hover { text-decoration: underline; }
.account-footer { display: flex; justify-content: space-between; gap: 20px; width: 100%; max-width: 490px; margin-top: 22px; color: #8b979d; font-size: 10px; }
.account-footer a { color: #7c8c93; }

/* 기존 서버·브라우저 검증 메시지는 카드 안에서 읽기 편한 크기로 그대로 표시합니다. */
.account-page .text-danger { color: #b85353 !important; font-size: 12px; line-height: 1.7; }
.account-page .validation-summary-errors { padding: 12px 14px; margin: 0 0 20px; border: 1px solid #efdbd7; border-radius: 8px; background: #fcf6f4; }
.account-page .validation-summary-errors ul { margin: 0; padding-left: 17px; }
.account-page .field-validation-error { display: block; margin-top: 7px; }
.account-page .input-validation-error { border-color: #c98174; }

/* 휴대폰은 소개를 짧게 표시하고 입력 카드는 화면 폭에 맞춰 한 줄로 배치합니다. */
@media (max-width: 1000px) {
    .account-aside { padding-left: 30px; padding-right: 30px; }
    .account-art { margin-left: -8px; transform: scale(.85); transform-origin: left center; }
    .account-main { padding-left: 28px; padding-right: 28px; }
    .account-card { padding: 32px 29px; }
}
@media (max-width: 800px) {
    .account-shell { display: block; }
    .account-aside { padding: 23px 25px 26px; }
    .account-brand { min-height: 40px; }
    .account-brand .portal-brand-copy strong { font-size: 18px; }
    .account-welcome { padding: 25px 0 0; }
    .account-welcome h2 { margin: 11px 0 0; font-size: 24px; letter-spacing: -.8px; }
    .account-welcome h2 br { display: none; }
    .account-welcome p, .account-art, .account-aside-note { display: none; }
    .account-eyebrow { font-size: 8px; letter-spacing: 1.6px; }
    .account-main { padding: 24px 20px; }
    .account-card { max-width: 490px; padding: 28px 25px; }
    .account-description { margin-bottom: 24px; }
}
