/* W1 login/pending additions. Base .auth-* styles live in ui-theme.css. */

.auth-pending-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.auth-pending-card {
  width: min(520px, 100%);
  margin: 0 auto;
}

.auth-pending-state {
  padding: 8px 0 18px;
}

.auth-pending-state .state-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #b45309;
  background: #fef3c7;
  opacity: 1;
}

.auth-pending-state .state-icon svg {
  width: 20px;
  height: 20px;
}

.auth-pending-state .state-title {
  font-size: 18px;
  font-weight: 700;
}

.auth-pending-help {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid #dbeafe;
  border-radius: 4px;
  background: var(--brand-weak);
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.auth-pending-help .auth-scope-dot {
  flex: 0 0 auto;
}

.auth-apply-panel {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.auth-apply-title {
  font-size: 14px;
  font-weight: 700;
}

.auth-apply-copy {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.55;
}

.auth-apply-label {
  display: block;
  margin-top: 14px;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 650;
}

.auth-apply-input {
  display: block;
  width: 100%;
  min-height: 88px;
  margin-top: 7px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1.55;
  resize: vertical;
}

.auth-apply-input:focus {
  outline: 2px solid rgba(51, 112, 255, .18);
  outline-offset: 0;
  border-color: var(--primary);
}

.auth-apply-submit {
  width: 100%;
  height: 42px;
  margin-top: 14px;
  justify-content: center;
}

.auth-apply-submit .btn-spinner {
  width: 16px;
  height: 16px;
}

@media (max-width: 420px) {
  .auth-pending-card {
    padding: 20px 16px;
  }

  .auth-pending-state {
    padding: 0 0 14px;
  }
}

/* 钉钉免登自动登录提示条（2026-08-14） */
.auth-free-login-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(47, 107, 255, 0.08);
  color: var(--primary);
  font-size: 13px;
  line-height: 1.4;
}

.auth-free-login-tip .auth-spinner {
  width: 15px;
  height: 15px;
}
