/* ── Q2-H4 (BATCH-LOGIN-PASSWORDLESS-UI, 2026-10-30): Sentrix web login — Apple · 카카오 · Google · 네이버, 「아이디로 로그인」 link,
   회사코드 on the ID form. Loaded after sentrix-redesign-20261021.css; same selector weight as its Web-Login2 block so these win.
   Provider fills / labels follow each provider's brand guide (not theme tokens); Sentrix keeps its pill shape. ── */
html body #authView#authView#authView.auth-c2 .sx-social-btn { height: 50px; min-height: 50px; border-radius: 25px; }
html body #authView#authView#authView.auth-c2 .sx-social-btn.is-apple { background: #000000; color: #ffffff; border: 1px solid #000000; }
html body #authView#authView#authView.auth-c2 .sx-social-btn.is-kakao { background: #FEE500; color: rgba(0, 0, 0, .85); border: 1px solid #FEE500; }
html body #authView#authView#authView.auth-c2 .sx-social-btn.is-apple svg { width: 20px; height: 20px; }
/* Apple's guide: on a dark background the button is white. */
html[data-theme="dark"] body #authView#authView#authView.auth-c2 .sx-social-btn.is-apple,
body.dark #authView#authView#authView.auth-c2 .sx-social-btn.is-apple { background: #ffffff; color: #000000; border-color: #ffffff; }
/* Google's guide (VQA1 B-L7): light #FFFFFF / #747775 / #1F1F1F, dark #131314 / #8E918F / #E3E3E3 — not the Sentrix line/ink tokens. */
html body #authView#authView#authView.auth-c2 .sx-social-btn.is-google { background: #ffffff; color: #1f1f1f; border: 1px solid #747775; }
html[data-theme="dark"] body #authView#authView#authView.auth-c2 .sx-social-btn.is-google,
body.dark #authView#authView#authView.auth-c2 .sx-social-btn.is-google { background: #131314; color: #e3e3e3; border-color: #8e918f; }

/* 「아이디로 로그인」: small secondary link 24px under the buttons, 44 × 160 hit area. */
html body #authView#authView#authView.auth-c2 .sx-social-other {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 160px; margin-top: 14px; padding: 0 12px;
  font-size: 14px; color: var(--sxr-sub); text-decoration: underline !important; text-underline-offset: 3px;
}
html body #authView#authView#authView.auth-c2 .sx-social-other:not(:disabled):hover { color: var(--sxr-ink-2); }

/* 「‹ 간편 로그인으로」: first row of the ID form, start-aligned. */
html body #authView#authView#authView.auth-c2 .sx-social-back-row { margin: 0; text-align: start; }
html body #authView#authView#authView.auth-c2 .sx-social-back {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; margin-left: -4px;
  font-size: 14px; font-weight: 600; color: var(--sxr-ink);
  /* r16i D1: sits inside the login orbit's ring sweep; paint above it on the page background so ring lines don't cross the text.
     !important: auth-login-c2.css clears .auth-c2-link background with !important. */
  position: relative; z-index: 1; background: #ffffff !important; border-radius: 8px;
}
html[data-theme="dark"] body #authView#authView#authView.auth-c2 .sx-social-back, body.dark #authView#authView#authView.auth-c2 .sx-social-back { background: var(--sxr-canvas) !important; }

/* 회사코드 on the ID form: same filled pill input as #username / #password / #tenantCode (sentrix-redesign Login block). */
html body #authView#authView#authView.auth-c2 #loginCompanyCode {
  width: 100%; height: 48px !important; min-height: 48px !important; border-radius: 24px !important; border: 0 !important; background: #f3f4f6 !important; padding: 0 18px !important;
  font-size: 15px !important; color: #111827 !important; box-shadow: none !important; transition: box-shadow 140ms var(--sxr-ease);
}
html[data-theme="dark"] body #authView#authView#authView.auth-c2 #loginCompanyCode, body.dark #authView#authView#authView.auth-c2 #loginCompanyCode { background: #1e293b !important; color: #eaf0ff !important; }
html body #authView#authView#authView.auth-c2 #loginCompanyCode:focus { box-shadow: inset 0 0 0 2px var(--sxr-ink) !important; outline: none !important; }
html body #authView#authView#authView.auth-c2 .auth-input-field:has(#loginCompanyCodeError:not(.hidden)) #loginCompanyCode { box-shadow: inset 0 0 0 2px #dc2626 !important; }
/* r16i A-1: one-screen credential failure that included a 회사코드 marks it like 아이디·비밀번호. */
html body #authView#authView#authView.auth-c2 #loginCompanyCode.auth-credential-invalid { box-shadow: inset 0 0 0 2px #dc2626 !important; }
