/**
 * productList 我已订购页（P2-e 中度改造）
 * 布局骨架已迁到 ss-page-head / ss-stat-row，本文件只保留表格业务样式。
 */

/* ===== 页头 ===== */
.main-card-title {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.title-text {
  font-size: var(--fs-28);
  color: var(--ss-text-1);
}

/* ===== 概览统计格（对齐 demo console 首页 stat 格） ===== */
/* .ss-stat-* 已收口到 ss-ui.css 第 14 节（全站统一），此处不再重复定义 */
.ss-stat-item.is-primary .ss-stat-label { color: var(--ss-primary); }

/* ===== 筛选区 ===== */
.main-card-search {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 16px;
}
.main-card-search .right-search {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  column-gap: 12px;
}
.main-card-search .right-search .el-select,
.main-card-search .right-search .el-input {
  width: 220px;
}
.search-btn {
  min-width: 72px;
  height: 40px;
  padding: 0 15px;
  box-sizing: border-box;
  background: var(--ss-primary);
  border-radius: var(--ss-radius-btn);
  font-size: var(--fs-14);
  font-weight: 500;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ss-motion);
}
.search-btn:hover {
  background: var(--ss-primary-hover);
}
/* 批量操作按钮（batchRenewpage 组件内复用 .search-btn / .batch-op-btn） */
.batch-op-btn {
  display: inline-flex;
  align-items: center;
}
.center-option-label {
  display: flex;
  align-items: center;
}
.center-option-label img {
  margin-right: 10px;
}

/* ===== 表格 ===== */
.main-card-table {
  margin-top: 8px;
}
.product-tab-list .el-tabs__header {
  margin-bottom: 0;
}
tbody tr:hover {
  cursor: pointer;
}
.column-id {
  cursor: pointer;
  color: var(--ss-primary);
  font-weight: 600;
}
.column-id:hover {
  text-decoration: underline;
}
.cloud-name {
  display: flex;
  flex-direction: column;
}
.cloud-name .packge-name {
  color: var(--ss-text-1);
  overflow: hidden;
  text-overflow: ellipsis;
}
.cloud-name .name {
  font-size: var(--fs-12);
  font-weight: 500;
  color: var(--ss-text-3);
  overflow: hidden;
  text-overflow: ellipsis;
}
.status {
  width: 56px;
  height: 26px;
  border-radius: var(--ss-radius-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-12);
}
.operation .dot {
  color: var(--ss-primary);
  font-size: var(--fs-20);
  cursor: pointer;
}
.el-input__suffix {
  display: flex;
  align-items: center;
}
.input-search {
  padding-right: 10px;
  cursor: pointer;
}
.el-popover {
  min-width: 50px !important;
}
.list-show-ip .cell {
  display: flex;
  align-items: center;
}
.list-show-ip .com-ip-box {
  display: flex;
  max-width: calc(100% - 30px);
}
.list-show-ip .com-ip-box > span {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 5px;
  line-height: 1;
}
.ips p {
  line-height: 1.8;
}

/* ===== 跨模块列表（crossModule.php 复用本文件） ===== */
.area {
  height: 20px;
  display: flex;
  align-items: center;
}
.area-img {
  height: 18px;
}
.area-country,
.area-city {
  margin-left: 8px;
  color: var(--ss-text-2);
}
.os {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.os-img {
  width: 24px;
}
.os-text {
  margin-left: 8px;
}
.option-text {
  color: var(--ss-text-1);
}
.word-pre {
  white-space: pre-wrap;
  word-break: break-all;
}
.power-status {
  display: flex;
  align-items: center;
}
.power-status img {
  width: 24px;
}
.power-status .status-text {
  color: var(--ss-text-1);
  margin-left: 6px;
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
  .ss-stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .main-card-search .right-search .el-select,
  .main-card-search .right-search .el-input {
    width: 180px;
  }
}
@media (max-width: 750px) {
  .ss-stat-row {
    gap: 8px;
    margin-top: 12px;
  }
  .ss-stat-item {
    padding: 10px 12px;
  }
  .ss-stat-value {
    font-size: var(--fs-18);
  }
  .ss-stat-label {
    font-size: var(--fs-12);
  }
  .main-card-search .right-search .el-select,
  .main-card-search .right-search .el-input {
    width: 140px;
  }
}
