.etod-conn-guard {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  font-family: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
}

.etod-conn-guard.open {
  display: flex;
}

.etod-conn-guard-card {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  text-align: center;
  direction: rtl;
}

.etod-conn-guard-icon {
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 12px;
}

.etod-conn-guard-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.etod-conn-guard-text {
  margin: 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.85;
  color: #475569;
  font-weight: 500;
}

.etod-conn-guard-tip {
  margin: 0 0 18px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #92400e;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.7;
  text-align: right;
}

.etod-conn-guard-actions {
  display: flex;
  gap: 10px;
}

.etod-conn-guard-btn {
  flex: 1;
  border: none;
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.etod-conn-guard-btn-primary {
  background: linear-gradient(95deg, #4f46e5, #7c3aed);
  color: #fff;
}

.etod-conn-guard-btn-soft {
  background: #f1f5f9;
  color: #475569;
}

.etod-conn-guard-status {
  margin-top: 12px;
  min-height: 18px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
}
