/* identity-banner.css — 登录身份确认弹窗（2026-09-22 共用电脑串号治理）
   每次登录成功后强制确认一次当前身份，防止共用电脑钉钉登录态串号。
   风格：深蓝力量感，与 sidebar-brand 品牌渐变同族。 */

.idb-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.idb-card {
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
  animation: idb-pop 0.18s ease-out;
}

@keyframes idb-pop {
  from { transform: scale(0.94); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.idb-top {
  height: 8px;
  background: linear-gradient(90deg, #1e3a8a 0%, #1d4ed8 60%, #0ea5e9 100%);
}

.idb-body {
  padding: 28px 28px 24px;
  text-align: center;
}

.idb-title {
  font-size: 15px;
  color: #64748b;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.idb-name {
  font-size: 30px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 8px;
}

.idb-meta {
  font-size: 14px;
  color: #475569;
  margin-bottom: 24px;
}

.idb-meta .idb-sep {
  margin: 0 8px;
  color: #cbd5e1;
}

.idb-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.idb-btn {
  width: 100%;
  padding: 13px 0;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.08s ease, box-shadow 0.15s ease;
}

.idb-btn:active { transform: scale(0.98); }

.idb-btn-primary {
  background: linear-gradient(90deg, #1e3a8a, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
}

.idb-btn-outline {
  background: #ffffff;
  color: #dc2626;
  border: 1.5px solid #fca5a5;
}

.idb-btn-danger {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

/* “不是本人”警示态 */
.idb-warn-title {
  font-size: 17px;
  font-weight: 700;
  color: #dc2626;
  margin-bottom: 14px;
}

.idb-steps {
  text-align: left;
  font-size: 14px;
  color: #334155;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  line-height: 1.9;
}

.idb-steps .idb-step-no {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-right: 6px;
}

@media (max-width: 480px) {
  .idb-name { font-size: 26px; }
  .idb-body { padding: 24px 20px 20px; }
}
