/* ===== 사내 계정 인증 포털 (게임 밖의 웹 페이지라 셸과 무관하게 같은 모습) ===== */
.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 30000;
  overflow: auto;
  background: #eef1f5;
  color: #1f2937;
  font-family: "Segoe UI Variable", "Segoe UI", -apple-system, "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
  transition: opacity 350ms ease;
}

.auth-screen.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.au-page {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px));
  background:
    radial-gradient(ellipse at 10% 0%, rgba(31, 59, 92, 0.12), transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(31, 111, 139, 0.12), transparent 50%);
}

.au-card {
  width: 420px;
  max-width: 100%;
  background: #fff;
  border: 1px solid #d9dee5;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  padding: 28px 32px 20px;
}

.au-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
  letter-spacing: 1px;
}

.au-logo {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, #1f3b5c, #1f6f8b);
}

.au-title {
  font-size: 20px;
  font-weight: 600;
  margin: 10px 0 10px;
  color: #111827;
}

.au-notice {
  font-size: 12px;
  line-height: 1.55;
  color: #4b5563;
  background: #f3f6fa;
  border-left: 3px solid #1f6f8b;
  padding: 8px 10px;
  margin-bottom: 18px;
}

.au-form {
  display: flex;
  flex-direction: column;
}

.au-form-head {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.au-label {
  font-size: 12px;
  color: #374151;
  margin: 8px 0 4px;
}

.au-input {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #c7cdd6;
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  color: #111827;
  background: #fff;
  outline: none;
}

.au-input:focus {
  border-color: #1f6f8b;
  box-shadow: 0 0 0 3px rgba(31, 111, 139, 0.18);
}

.au-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

.au-grid > div {
  min-width: 0;
}

.au-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.5;
  color: #374151;
  margin-top: 12px;
}

.au-check input {
  margin-top: 3px;
}

.au-error {
  min-height: 18px;
  margin-top: 8px;
  font-size: 12px;
  color: #b42318;
}

.au-btn {
  height: 36px;
  border: 1px solid var(--btn-border);
  border-radius: 4px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 13px;
  cursor: default;
  margin-top: 6px;
}

.au-btn-primary {
  background: #1f3b5c;
  border-color: #1f3b5c;
  color: #fff;
  font-weight: 600;
}

.au-btn-primary:hover {
  background: #183049;
}

.au-btn-primary:disabled {
  opacity: 0.6;
}

.au-btn-dev {
  margin-top: 10px;
  border-style: dashed;
  color: #6b7280;
  font-size: 12px;
}

.au-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 12px;
}

.au-links a {
  color: #1f6f8b;
  text-decoration: none;
}

.au-links a:hover {
  text-decoration: underline;
}

.au-help {
  color: #6b7280;
}

.au-form-pending {
  align-items: center;
  text-align: center;
  padding: 8px 0;
}

.au-pending-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid #e5a000;
  position: relative;
  margin-bottom: 12px;
}

.au-pending-icon::before,
.au-pending-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.5px;
  background: #e5a000;
  transform-origin: bottom center;
}

.au-pending-icon::before { height: 14px; transform: translate(-50%, -100%) rotate(0deg); }
.au-pending-icon::after { height: 10px; transform: translate(-50%, -100%) rotate(90deg); }

.au-pending-text {
  font-size: 13px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 10px;
}

.au-pending-meta {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 14px;
}

.au-form-pending .au-btn {
  width: 100%;
}

.au-foot {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #eef0f3;
  font-size: 11px;
  color: #9ca3af;
  text-align: center;
}

@media (max-width: 480px) {
  .au-card { padding: 22px 18px 16px; }
  .au-grid { grid-template-columns: 1fr; }
}
