.data-table {
  width: 100%;
}

.t-header {
  background: #fafafa;
}

.t-row {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.t-th {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.t-td {
  font-size: 14px;
  color: #333;
}

.flex1 {
  flex: 1;
}

.flex2 {
  flex: 2;
}

.flex3 {
  flex: 3;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.badge-success {
  background: #f6ffed;
  color: #52c41a;
}

.badge-warning {
  background: #fffbe6;
  color: #faad14;
}

.badge-error {
  background: #fff2f0;
  color: #ff4d4f;
}

.badge-default {
  background: #f5f5f5;
  color: #999;
}

.badge-blue {
  background: #e6f7ff;
  color: #1890ff;
}

.btn-primary {
  background: #E6508C;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-default {
  background: #fff;
  color: #333;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  cursor: pointer;
}

.btn-danger {
  background: #ff4d4f;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-sm {
  height: 32px;
  padding: 0 16px;
  font-size: 14px;
  line-height: 32px;
}

.action-link {
  color: #E6508C;
  font-size: 14px;
  margin-right: 12px;
  cursor: pointer;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.btn-page {
  width: 32px;
  height: 32px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-page.active {
  background: #E6508C;
  color: #fff;
  border-color: #E6508C;
}

.btn-page[disabled] {
  opacity: 0.4;
}

.page-info {
  font-size: 13px;
  color: #999;
  margin-left: 8px;
}

.page-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
}

.toolbar {
  background: #fff;
  border-radius: 8px;
  padding: 12px 20px;
  margin-bottom: 16px;
  display: flex;
  justify-content: flex-end;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-input {
  width: 220px;
  height: 32px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  box-sizing: border-box;
}

.input-placeholder {
  color: #bfbfbf;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  height: 36px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  box-sizing: border-box;
}

.form-textarea {
  width: 100%;
  height: 160px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 12px;
  font-size: 14px;
  box-sizing: border-box;
  resize: vertical;
}

.empty-state {
  text-align: center;
  padding: 40px 0;
  color: #999;
  font-size: 14px;
}
