/* 各工具页 Tera 模板内联样式汇总（ping/http/dns/tcping 等共用） */

.node_tr { height: 40px !important; }
.head_view {
  max-width: 1160px !important;
  padding: 10px !important;
  white-space: pre-wrap !important;
  word-wrap: break-word !important;
}
.real_ip { min-width: 140px; }
.hover-button {
  padding: 1px 3px 3px 3px;
  height: 20px;
  line-height: 18px;
  color: #0c7df5;
  text-align: center;
  border: 1px solid #0c7df5;
  font-size: 12px;
  border-radius: 2px;
  margin-left: 3px;
  position: absolute;
  cursor: pointer;
  display: none;
  align-items: center;
  background-color: #fff;
}
table tbody tr:hover td .hover-button { display: inline-flex; }
/* 悬停扳手弹出的工具下拉菜单（Ping/Tcping/路由追踪/HTTP测速） */
.hover-button > div {
  display: none;
  position: absolute;
  top: 20px;
  left: 0;
  z-index: 99;
  min-width: 112px;
  text-align: left;
  background-color: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.hover-button:hover > div { display: block; }
.hover-button > div > ul { list-style: none; margin: 0; padding: 4px 0; }
.hover-button > div > ul > li { padding: 0; }
.hover-button > div > ul > li > a {
  display: block;
  padding: 4px 12px;
  color: #495057;
  font-size: 12px;
  white-space: nowrap;
}
.hover-button > div > ul > li > a:hover { background-color: #f1f5ff; color: #0c7df5; }
.table.table-sm td {
  height: 37.5px;
  padding: unset !important;
}
/* 网络质量列：对齐 ce.yundu.com，固定 200×20 展示 */
.network-quality-cell {
  min-width: 200px;
  text-align: center;
  vertical-align: middle !important;
}
.network-quality-cell img,
.network-quality-cell canvas.network {
  display: block;
  width: 200px;
  height: 20px;
  max-width: 200px;
  margin: 0 auto;
}
.advanced {
  background-color: #ecf0f5;
  display: none;
  position: relative;
  box-sizing: border-box;
  width: 1130px;
  z-index: 9;
  font-size: 14px;
  padding: 20px 15px;
  line-height: 28px;
  margin: 0 0 15px 0;
  border-radius: 4px;
  color: #686868;
}
.advanced::after {
  position: absolute;
  top: -8px;
  left: 930px;
  transform: translate(-50%, 0);
  z-index: 99;
  width: 0;
  height: 0;
  content: '';
  border-bottom: 8px solid #ecf0f5;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}
.card.input-area {
  position: relative;
  overflow: visible;
}

.version_tag {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 0.25rem 0 10px 0;
  color: #fff;
  background-color: #4680ff;
  z-index: 2;
}
.advanced input {
  background-color: #fff;
  padding: 0.25rem 0.5rem;
}
.table_tr tr { height: 40px; }
.dns_str { min-height: 40px; padding: 10px !important; width: 400px; }
.btn_small {
  border: none;
  background: none;
  color: #ffffff;
  padding: 0;
  margin: 0;
  outline: none;
  background-color: #4680ff;
  padding: 0 3px;
  border-radius: 2px;
}
.btn_small:focus { outline: none; }
tr.line_tr { height: 52px !important; }
.layui-layer-setwin { right: 8px !important; top: 14px !important; }

/* 网站测速输入区（http.tera tool-http-input） */
.card.input-area.tool-http-input {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding-top: 35px !important;
  padding-bottom: 35px !important;
  gap: 12px;
}
