.time-resource-selector {
  .time-resource-card {
    cursor: pointer;
    transition: all 0.3s;

    &:hover {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
  }

  .time-slot-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80px;

    .time-text {
      font-size: 16px;
      font-weight: 500;
      margin-bottom: 8px;
    }

    .remaining-count {
      font-size: 14px;
      color: #666;
    }
  }

  // 选中状态
  .pisell-checkbox-item-selected {
    .time-resource-card {
      border-color: #1890ff;
      background: rgba(24, 144, 255, 0.1);
    }
  }

  // 禁用状态
  .pisell-checkbox-item-disabled {
    .time-resource-card {
      cursor: not-allowed;
      opacity: 0.5;

      &:hover {
        box-shadow: none;
      }
    }
  }

  // 错误提示
  .time-resource-error {
    color: #ff4d4f;
    padding: 8px 0;
    text-align: center;
    background-color: #fff2f0;
    border-radius: 4px;
    margin-bottom: 16px;
  }
}
