/* member.css — 이메일 로그인 창 (member.js). 통합검색처럼 webzine.css를 안 쓰는 페이지에서도 쓰므로 색은 기본값을 둔다 */
.mb-dialog { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 11, 13, .55); font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif; }
.mb-dialog[hidden] { display: none; }
.mb-box { position: relative; width: 420px; max-width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; box-sizing: border-box; padding: 30px 28px 26px; background: #fff; color: var(--ink, #111); border-radius: 6px; box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.mb-box *, .mb-box *::before, .mb-box *::after { box-sizing: border-box; }
.mb-box h2 { margin: 0 0 8px; font-size: 21px; font-weight: 900; }
.mb-box p { margin: 0 0 18px; color: #444; font-size: 14px; line-height: 1.75; }
.mb-box p b { color: var(--ink, #111); }
.mb-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; font-size: 22px; line-height: 1; color: #666; cursor: pointer; }
.mb-close:hover { background: #f1f0ec; }
.mb-box form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.mb-box input[type='email'], .mb-box input[type='text'] { width: 100%; padding: 13px 14px; border: 1px solid rgba(17,17,17,.22); border-radius: 3px; font: inherit; font-size: 15px; background: #fff; color: inherit; }
.mb-box input.code { font-size: 22px; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.mb-box input:focus { outline: 2px solid var(--ink, #111); outline-offset: -1px; }
.mb-box button.primary { padding: 13px 20px; border: 0; border-radius: 3px; background: var(--red, #c1272d); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.mb-box button.primary:hover { background: var(--red-dark, #a11f24); }
.mb-box button:disabled { opacity: .5; cursor: default; }
.mb-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: 13px; }
.mb-links button { padding: 4px 0; border: 0; background: none; color: var(--gray, #6b6b6b); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mb-links button:hover { color: var(--red, #c1272d); }
.mb-consent { padding: 14px 16px; background: #f1f0ec; border-radius: 3px; font-size: 13px; line-height: 1.7; color: #444; }
.mb-consent dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px 12px; margin: 0 0 8px; }
.mb-consent dt { font-weight: 700; color: var(--ink, #111); }
.mb-consent dd { margin: 0; }
.mb-consent a { text-decoration: underline; }
.mb-consent label { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--ink, #111); cursor: pointer; }
.mb-consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--red, #c1272d); }
.mb-msg { padding: 11px 14px; border-radius: 3px; font-size: 13.5px; line-height: 1.6; background: #fdecea; color: var(--red-dark, #a11f24); }
.mb-msg.ok { background: #e7f4ea; color: #1e6b34; }
.mb-msg:empty { display: none; }
.mb-hint { margin: 0; font-size: 12.5px; color: var(--gray, #6b6b6b); line-height: 1.6; }
