.auth-wrap { display: flex; justify-content: center; padding: 24px 16px 40px; }
.auth-col { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 16px; }
.auth-col.is-wide { max-width: 560px; }
.auth-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.auth-head.is-left { align-items: flex-start; text-align: left; padding: 0 4px; }
.auth-logo { width: 72px; height: 72px; overflow: visible; }
.auth-step { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #2e6aae; }
.auth-title { margin: 4px 0 0; font-size: 30px; line-height: 35px; font-weight: 900; letter-spacing: -0.4px; color: #1e1b2e; }
.auth-title span { color: #2e6aae; }
.auth-sub { margin: 0; font-size: 15px; line-height: 22px; color: #4a5060; }
.auth-sub strong { color: #1e1b2e; }
.auth-state { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(20, 22, 26, .08); color: #2e6aae; font-size: 26px; }
.auth-state.is-ok { background: #e8f6ee; color: #1b7a4a; }
.auth-state.is-warn { background: #fdf0cc; color: #8a4b00; }
.auth-state.is-stop { background: #fdecec; color: #b42318; }

.auth-card { padding: 20px 18px; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(20, 22, 26, .06); display: flex; flex-direction: column; gap: 18px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.auth-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.auth-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.auth-label { margin: 0; font-size: 14px; line-height: 20px; font-weight: 700; color: #1e1b2e; }
.auth-label small { font-weight: 400; color: #5b6270; }
.auth-box { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 4px 0 14px; border-radius: 8px; border: 1px solid #c9cdd4; background: #fff; transition: border-color .15s, box-shadow .15s; }
.auth-box.is-plain { padding-right: 14px; }
.auth-box:focus-within { border-color: #3777bc; box-shadow: 0 0 0 1px #3777bc; }
.auth-box > i { flex: none; width: 18px; text-align: center; color: #64748b; font-size: 15px; }
.auth-box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; color: #1e1b2e; font-family: inherit; font-size: 16px; }
.auth-area { width: 100%; min-height: 112px; padding: 12px 14px; border-radius: 8px; border: 1px solid #c9cdd4; background: #fff; color: #1e1b2e; font-family: inherit; font-size: 16px; line-height: 1.5; resize: vertical; transition: border-color .15s, box-shadow .15s; }
.auth-area:focus { outline: none; border-color: #3777bc; box-shadow: 0 0 0 1px #3777bc; }
.auth-eye { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 6px; background: transparent; color: #3d424c; font-size: 16px; cursor: pointer; }
.auth-eye:focus-visible { outline: 2px solid #3777bc; outline-offset: 1px; }
.auth-help { margin: 0; font-size: 13px; line-height: 18px; color: #5b6270; }
.auth-help.is-warn { color: #8a4b00; font-weight: 600; }
.auth-pw-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 576px) { .auth-pw-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; } }
.auth-match { margin: 0; font-size: 13px; font-weight: 600; display: none; }
.auth-match.is-ok { color: #1b7a4a; }
.auth-match.is-no { color: #b42318; }
.auth-rules { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.auth-rules li { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 999px; background: #eef0f3; color: #3d424c; font-size: 12px; font-weight: 600; transition: background .15s, color .15s; }
.auth-rules li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #9aa1ad; flex-shrink: 0; }
.auth-rules li.ok { background: #e8f6ee; color: #1b7a4a; font-weight: 700; }
.auth-rules li.ok::before { width: 10px; height: 6px; border-radius: 0; background: none; border-left: 2px solid #1b7a4a; border-bottom: 2px solid #1b7a4a; transform: rotate(-45deg) translate(1px, -1px); }

.auth-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 0 18px; border: 0; border-radius: 8px; background: #3777bc; color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, opacity .15s; }
.auth-btn:hover, .auth-btn:focus-visible { background: #2e6aae; color: #fff; text-decoration: none; }
.auth-btn:focus-visible { outline: 2px solid #1e1b2e; outline-offset: 2px; }
.auth-btn:disabled { opacity: .55; cursor: default; }
.auth-btn.is-ghost { background: #fff; color: #1e1b2e; border: 1px solid #c9cdd4; }
.auth-btn.is-ghost:hover, .auth-btn.is-ghost:focus-visible { background: #f3f5f8; color: #1e1b2e; }
.auth-btn.is-ghost i { color: #2e6aae; }

.auth-wrap a:not(.auth-btn) { color: #2e6aae; font-weight: 700; text-decoration: none; text-underline-offset: 3px; }
.auth-wrap a:not(.auth-btn):hover, .auth-wrap a:not(.auth-btn):focus-visible { text-decoration: underline; }
.auth-more { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.auth-more a.auth-line { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 4px; min-height: 44px; color: #3d424c; font-size: 15px; font-weight: 400; }
.auth-more a.auth-line strong { color: #2e6aae; font-weight: 700; }
.auth-more a.auth-line.is-small { font-size: 14px; }
.auth-more a.auth-line.is-green strong { color: #1b7a4a; }
.auth-more a.auth-line:hover strong, .auth-more a.auth-line:focus-visible strong { text-decoration: underline; }
.auth-more a.auth-line:hover, .auth-more a.auth-line:focus-visible { text-decoration: none; }
.auth-note { margin: 0; font-size: 13px; line-height: 18px; color: #5b6270; text-align: center; }

.auth-info, .auth-warn, .auth-stop { display: flex; gap: 12px; padding: 12px 14px; border-radius: 8px; }
.auth-info { background: #edf3fa; }
.auth-warn { background: #fdf0cc; }
.auth-stop { background: #fdecec; }
.auth-info > i, .auth-warn > i, .auth-stop > i { flex: none; width: 20px; text-align: center; font-size: 17px; line-height: 20px; }
.auth-info > i { color: #2e6aae; }
.auth-warn > i { color: #7a4b00; }
.auth-stop > i { color: #b42318; }
.auth-info > div, .auth-warn > div, .auth-stop > div { min-width: 0; font-size: 14px; line-height: 20px; }
.auth-info > div { color: #24364d; }
.auth-warn > div { color: #5a3a00; }
.auth-stop > div { color: #5c1a14; }
.auth-info p, .auth-warn p, .auth-stop p { margin: 0; }
.auth-info p + p, .auth-warn p + p, .auth-stop p + p { margin-top: 6px; }
.auth-list { margin: 6px 0 0; padding-left: 18px; }
.auth-list li + li { margin-top: 4px; }

.auth-person { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 8px; background: #f6f8fb; border: 1px solid #e3e7ed; }
.auth-person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.auth-person b { display: block; font-size: 16px; color: #1e1b2e; }
.auth-person span { display: block; font-size: 14px; color: #4a5060; }
.auth-section { margin: 4px 0 -4px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #2e6aae; }

.auth-rc { display: flex; justify-content: center; margin: 0; min-height: 78px; overflow-x: auto; }
.auth-rc[hidden], .auth-rc-fallback[hidden] { display: none !important; }
.auth-rc-fallback { text-align: center; margin: -8px 0 0; font-size: 14px; color: #4a5060; }
.auth-rc-fallback button { padding: 0; border: 0; background: none; color: #2e6aae; font-weight: 700; font-size: 14px; }
.auth-rc-fallback button:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 420px) { .auth-rc { min-height: 70px; } .auth-rc > div { transform: scale(0.88); transform-origin: center top; } }

.auth-pick { position: relative; }
.auth-pick-list { position: absolute; z-index: 1080; left: 0; right: 0; top: calc(100% + 4px); max-height: 260px; overflow-y: auto; background: #fff; border: 1px solid #c9cdd4; border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.auth-pick-list[hidden] { display: none !important; }

@media (min-width: 768px) {
  .auth-wrap { padding-top: 40px; }
  .auth-logo { width: 84px; height: 84px; }
}
