body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji"; }
.card { border-radius: 10px; }
.navbar-brand { font-weight: 600; }
table td, table th { vertical-align: middle; }

/* 页标题 */
.section-title { font-weight: 600; }

/* 搜索框美化 */
.search-input {
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  border: 1px solid #cfe2ff;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}
.search-input::placeholder { color: #6c757d; }
.search-input:focus {
  border-color: #9ec5fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* 固定列宽的用户列表表格 */
.table-fixed {
  table-layout: fixed;
  width: 100%;
}
.table-fixed th,
.table-fixed td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 列宽设置：邮箱、用户名、渠道、状态、到期、操作 */
.table-fixed thead th:nth-child(1),
.table-fixed tbody td:nth-child(1) { width: 22rem; }
.table-fixed thead th:nth-child(2),
.table-fixed tbody td:nth-child(2) { width: 10rem; }
.table-fixed thead th:nth-child(3),
.table-fixed tbody td:nth-child(3) { width: 8rem; }
.table-fixed thead th:nth-child(4),
.table-fixed tbody td:nth-child(4) { width: 6rem; }
.table-fixed thead th:nth-child(5),
.table-fixed tbody td:nth-child(5) { width: 16rem; }
.table-fixed thead th:nth-child(6),
.table-fixed tbody td:nth-child(6) { width: 16rem; }

/* 操作列不做文本省略，允许按钮换行 */
.table-fixed td.actions-cell {
  white-space: normal;
  overflow: visible;
}

/* 分页样式优化 */
.pagination .page-link {
  border-radius: 6px;
  min-width: 2rem;
  text-align: center;
}
.pagination { gap: 5px; }
.pagination .page-item { margin: 0 !important; }
.pagination .page-item.active .page-link {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}
.pagination .page-link:hover { background-color: #e9f2ff; }

/* 表格头部视觉优化 */
.table-fixed thead th { font-weight: 600; color: #343a40; }
.table-fixed tbody tr:hover { background-color: #f8f9fa; }