/* pages/workbench/workbench.wxss */
.container {
  min-height: 100vh;
  background: linear-gradient(180deg, #E8C3D4 0%, #F5E6EC 100%);
  padding: 20rpx;
  padding-bottom: 40rpx;
}

/* 状态栏 */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: 20rpx;
  padding: 30rpx;
  margin-bottom: 20rpx;
  box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
}

.status-info {
  display: flex;
  align-items: center;
}

.avatar {
  width: 100rpx;
  height: 100rpx;
  border-radius: 50%;
  margin-right: 20rpx;
}

.status-text {
  display: flex;
  flex-direction: column;
}

.name {
  font-size: 32rpx;
  font-weight: 600;
  color: #333;
  margin-bottom: 8rpx;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  padding: 6rpx 16rpx;
  border-radius: 20rpx;
  font-size: 24rpx;
}

.status-tag.online {
  background: #e8f5e9;
  color: #4caf50;
}

.status-tag.busy {
  background: #fff3e0;
  color: #ff9800;
}

.status-tag.offline {
  background: #f5f5f5;
  color: #9e9e9e;
}

.status-switch {
  display: flex;
  align-items: center;
  color: #b06ab3;
  font-size: 28rpx;
}

.status-switch .arrow {
  width: 24rpx;
  height: 24rpx;
  margin-left: 8rpx;
}

/* 数据统计卡片 */
.stats-card {
  background: linear-gradient(135deg, #b06ab3 0%, #d4a5d6 100%);
  border-radius: 20rpx;
  padding: 30rpx;
  margin-bottom: 20rpx;
  box-shadow: 0 4rpx 20rpx rgba(176, 106, 179, 0.3);
}

.stats-row {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20rpx;
}

.stats-row:last-child {
  margin-bottom: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.stat-value {
  font-size: 40rpx;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8rpx;
}

.stat-label {
  font-size: 24rpx;
  color: rgba(255, 255, 255, 0.8);
}

/* 快捷操作 */
.quick-actions {
  display: flex;
  justify-content: space-around;
  background: #fff;
  border-radius: 20rpx;
  padding: 30rpx 20rpx;
  margin-bottom: 20rpx;
  box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
}

.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.action-item image {
  width: 60rpx;
  height: 60rpx;
  margin-bottom: 12rpx;
}

.action-item text {
  font-size: 24rpx;
  color: #666;
}

/* 接单大厅 */
.order-hall {
  background: #fff;
  border-radius: 20rpx;
  padding: 30rpx;
  margin-bottom: 20rpx;
  box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20rpx;
}

.section-title {
  font-size: 32rpx;
  font-weight: 600;
  color: #333;
}

.section-more {
  font-size: 26rpx;
  color: #b06ab3;
}

.hall-list {
  display: flex;
  flex-direction: column;
  gap: 20rpx;
}

.hall-item {
  background: #fafafa;
  border-radius: 16rpx;
  padding: 24rpx;
}

.hall-user {
  display: flex;
  align-items: center;
  margin-bottom: 16rpx;
}

.user-avatar {
  width: 80rpx;
  height: 80rpx;
  border-radius: 50%;
  margin-right: 16rpx;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 28rpx;
  font-weight: 500;
  color: #333;
}

.order-time {
  font-size: 24rpx;
  color: #999;
  margin-top: 4rpx;
}

.hall-content {
  display: flex;
  align-items: center;
  gap: 16rpx;
  margin-bottom: 12rpx;
}

.service-type {
  background: #e8c3d4;
  color: #b06ab3;
  padding: 6rpx 16rpx;
  border-radius: 8rpx;
  font-size: 24rpx;
}

.service-duration {
  font-size: 26rpx;
  color: #666;
}

.service-price {
  font-size: 32rpx;
  font-weight: 600;
  color: #b06ab3;
  margin-left: auto;
}

.hall-message {
  background: #fff;
  padding: 16rpx;
  border-radius: 8rpx;
  margin-bottom: 16rpx;
}

.hall-message text {
  font-size: 26rpx;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hall-actions {
  display: flex;
  justify-content: flex-end;
  gap: 20rpx;
}

.btn-reject {
  background: #f5f5f5;
  color: #666;
  font-size: 26rpx;
  padding: 12rpx 32rpx;
  border-radius: 30rpx;
  border: none;
}

.btn-accept {
  background: linear-gradient(135deg, #b06ab3 0%, #d4a5d6 100%);
  color: #fff;
  font-size: 26rpx;
  padding: 12rpx 32rpx;
  border-radius: 30rpx;
  border: none;
}

.empty-hall {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60rpx 0;
}

.empty-hall image {
  width: 200rpx;
  height: 200rpx;
  margin-bottom: 20rpx;
  opacity: 0.5;
}

.empty-hall text {
  font-size: 28rpx;
  color: #999;
}

/* 进行中的订单 */
.active-orders {
  background: #fff;
  border-radius: 20rpx;
  padding: 30rpx;
  box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
}

.active-list {
  display: flex;
  flex-direction: column;
  gap: 16rpx;
}

.active-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
  border-radius: 16rpx;
  padding: 20rpx;
}

.active-user {
  display: flex;
  align-items: center;
}

.remaining-time {
  font-size: 24rpx;
  color: #ff9800;
  margin-top: 4rpx;
}

.btn-end {
  background: #ff5722;
  color: #fff;
  font-size: 24rpx;
  padding: 10rpx 24rpx;
  border-radius: 30rpx;
  border: none;
}

/* 状态选择弹窗 */
.status-picker-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.status-picker {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 30rpx 30rpx 0 0;
  padding: 30rpx;
  z-index: 101;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.picker-header {
  text-align: center;
  padding-bottom: 30rpx;
  border-bottom: 1rpx solid #eee;
}

.picker-header text {
  font-size: 32rpx;
  font-weight: 600;
  color: #333;
}

.picker-options {
  padding: 20rpx 0;
}

.picker-option {
  display: flex;
  align-items: center;
  padding: 30rpx 20rpx;
  border-radius: 12rpx;
}

.picker-option.active {
  background: #f5e6ec;
}

.status-dot {
  width: 20rpx;
  height: 20rpx;
  border-radius: 50%;
  margin-right: 20rpx;
}

.status-dot.online {
  background: #4caf50;
}

.status-dot.busy {
  background: #ff9800;
}

.status-dot.offline {
  background: #9e9e9e;
}

.picker-option text {
  font-size: 30rpx;
  color: #333;
}


/* 等级信息卡片 */
.level-card {
  background: #fff;
  border-radius: 20rpx;
  padding: 30rpx;
  margin-bottom: 20rpx;
  box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
}

.level-header {
  display: flex;
  align-items: center;
  margin-bottom: 24rpx;
}

.level-badge {
  padding: 8rpx 24rpx;
  border-radius: 20rpx;
  margin-right: 16rpx;
}

.level-badge.level-junior {
  background: linear-gradient(135deg, #a8d8ea 0%, #6bb3d9 100%);
}

.level-badge.level-intermediate {
  background: linear-gradient(135deg, #b8e986 0%, #7bc96f 100%);
}

.level-badge.level-senior {
  background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
}

.level-badge.level-expert {
  background: linear-gradient(135deg, #e8b4d8 0%, #c984cd 100%);
}

.level-text {
  font-size: 28rpx;
  font-weight: 600;
  color: #fff;
}

.level-title {
  font-size: 28rpx;
  color: #666;
}

.level-prices {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fce7f3 0%, #f3e8ff 100%);
  border-radius: 16rpx;
  padding: 24rpx;
}

.level-prices .price-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.level-prices .price-label {
  font-size: 24rpx;
  color: #6a7282;
  margin-bottom: 8rpx;
}

.level-prices .price-value {
  font-size: 32rpx;
  font-weight: 700;
  color: #e91e63;
}

.level-prices .price-divider {
  width: 2rpx;
  height: 60rpx;
  background: rgba(0, 0, 0, 0.1);
}
